[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: SNMP and mibs?



Jan Johansson said:
>> what happens if you use "-M /usr/share/snmp/mibs" or "-m
>> /usr/share/snmp/mibs/printer.txt" with snmpwalk? If this works, there
> is a
>> configuration problem and the mibdir is not getting picked up. If it
>> doesn't, it's likely you have the wrong mib, or netsnmp doesn't
> understand
>> the mib.
>
>
> Ok, I grabbed http://www.oidview.com/mibs/0/Printer-MIB.zip and if i use
> -m /usr/share/snmp/mibs/Printer-MIB-printmib-04.txt  it works, but if I
> use -M /usr/share/snmp/mibs/ or simply omit the parameter, it doesn't
> work.
>
> Hints?

Maybe try setting the MIBS environment variable:
export MIBS=all

>



Reply to: