From 020db3676e8571f90b083e4dbbe620080a34950d Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Fri, 8 May 2015 12:59:21 +0200 Subject: Add local mibs and a script to fetch mibs "Oooo, just use OID's instead!" no. --- include/nms.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'include/nms.pm') 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'); -- cgit v1.2.3