aboutsummaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-11-11 12:31:01 +0100
committerKristian Lyngstol <kristian@bohemians.org>2016-11-11 12:31:01 +0100
commita611aeff3cf50c3cdd56d76a66e7795df57b375e (patch)
treea57cb1d0c26790eefb2705bbfff3e10cce995590 /collectors
parent2e0babfe617b32a8b4969e68ee903f0ded3c9a39 (diff)
Move mibs into data directory and automatically fetch them
Diffstat (limited to 'collectors')
-rwxr-xr-xcollectors/snmpfetchng.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/collectors/snmpfetchng.pl b/collectors/snmpfetchng.pl
index 680c392..ab91e14 100755
--- a/collectors/snmpfetchng.pl
+++ b/collectors/snmpfetchng.pl
@@ -11,9 +11,9 @@ use nms qw(convert_mac);
use IO::Socket::IP;
SNMP::initMib();
-SNMP::addMibDirs("/opt/gondul/mibs/StandardMibs");
-SNMP::addMibDirs("/opt/gondul/mibs/JuniperMibs");
-SNMP::addMibDirs("/opt/gondul/mibs/CiscoMibs");
+SNMP::addMibDirs("/opt/gondul/data/mibs/StandardMibs");
+SNMP::addMibDirs("/opt/gondul/data/mibs/JuniperMibs");
+SNMP::addMibDirs("/opt/gondul/data/mibs/CiscoMibs");
SNMP::loadModules('ALL');
our $dbh = nms::db_connect();