diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-10 20:16:44 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-10 20:16:44 +0200 |
commit | a762fcbc3a144fcd02352decdf0ab00677859fae (patch) | |
tree | 5c7598d56991bc2ecb4c0ecda37cd6656d3120fc | |
parent | eb74ce24f0d8c712e8789262babb0aa8932810bd (diff) |
Tweak mib paths and ignore them in git
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | collectors/snmpfetchng.pl | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1 +1,2 @@ .*.swp +mibs/ diff --git a/collectors/snmpfetchng.pl b/collectors/snmpfetchng.pl index a0f7608..eb2cedf 100755 --- a/collectors/snmpfetchng.pl +++ b/collectors/snmpfetchng.pl @@ -12,7 +12,7 @@ use nms; SNMP::initMib(); SNMP::addMibDirs("/opt/nms/mibs/StandardMibs"); SNMP::addMibDirs("/opt/nms/mibs/JuniperMibs"); -SNMP::addMibDirs("/opt/nms/mibs"); +SNMP::addMibDirs("/opt/nms/mibs/CiscoMibs"); SNMP::loadModules('ALL'); our $dbh = nms::db_connect(); |