aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.pm.dist
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-03-16 18:15:52 +0000
committerKristian Lyngstol <kly@kly.no>2016-03-16 18:15:52 +0000
commit4666a02a51fa313e34875c169502a0cecf834b1c (patch)
tree1304ed9ed0c978465b2ffaae2ba19b455d32761c /include/config.pm.dist
parent783096cef942a275f23f7c7cb63bbca175cff0ba (diff)
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.
Diffstat (limited to 'include/config.pm.dist')
-rwxr-xr-xinclude/config.pm.dist6
1 files changed, 4 insertions, 2 deletions
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 = "<removed>";
-# NMS hash used for public NMS obfuscation of interface names
-our $nms_hash = "<removed>";
+# 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