From 4666a02a51fa313e34875c169502a0cecf834b1c Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Wed, 16 Mar 2016 18:15:52 +0000 Subject: NMS: Rewrite the SNMP fetcher and whatnot Again. It's using the prototype, and the objects are configurable. I assume this will need some work. Also: I touched ping up to make it work without linknets. --- include/config.pm.dist | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/config.pm.dist') diff --git a/include/config.pm.dist b/include/config.pm.dist index cce82df..382b4e2 100755 --- a/include/config.pm.dist +++ b/include/config.pm.dist @@ -10,8 +10,10 @@ our $db_host = "gerald.tg15.gathering.org"; our $db_username = "nms"; our $db_password = ""; -# NMS hash used for public NMS obfuscation of interface names -our $nms_hash = ""; +# NMS: What SNMP objects to fetch. +our @snmp_objects = [['ifTable'], ['ifXTable'], ['sysDescr'], ['sysName'],['ipForward']]; +# Max SNMP polls to fire off at the same time. +our $snmp_max = 20; # DHCP-servers our $dhcp_server1 = "185.12.59.66"; # primary -- cgit v1.2.3