aboutsummaryrefslogtreecommitdiffstats
path: root/include/nms.pm
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2015-05-08 12:59:21 +0200
committerKristian Lyngstol <kristian@bohemians.org>2015-05-08 12:59:21 +0200
commit020db3676e8571f90b083e4dbbe620080a34950d (patch)
tree1b7f781bbdaf8305913bbf5ed3fd30fa1e81f90c /include/nms.pm
parent80c10810cfcb9225eb68b876bc843ea5204dff3d (diff)
Add local mibs and a script to fetch mibs
"Oooo, just use OID's instead!" no.
Diffstat (limited to 'include/nms.pm')
-rwxr-xr-xinclude/nms.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nms.pm b/include/nms.pm
index c61cec7..4012cc6 100755
--- a/include/nms.pm
+++ b/include/nms.pm
@@ -25,6 +25,7 @@ BEGIN {
# cd /usr/share/mibs/site
# wget -O- ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz | sudo tar --strip-components=3 -zxvvf -
SNMP::initMib();
+ SNMP::addMibDirs("../mibs");
SNMP::loadModules('SNMPv2-MIB');
SNMP::loadModules('ENTITY-MIB');
SNMP::loadModules('IF-MIB');