Commit 92a7e699 authored by Robert Ricci's avatar Robert Ricci

Explicitly include some MIBs to avoid dependance on a .index file.

parent a2a15a3c
......@@ -98,7 +98,10 @@ sub new {
$SNMP::debugging = ($self->{DEBUG} - 2) if $self->{DEBUG} > 2;
my $mibpath = '/usr/local/share/snmp/mibs';
&SNMP::addMibFiles("$mibpath/SNMPv2-SMI.txt", "$mibpath/SNMPv2-TC.txt",
"$mibpath/SNMPv2-MIB.txt", "$mibpath/IANAifType-MIB.txt",
$SNMP::save_descriptions = 1; # must be set prior to mib initialization
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment