Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've run sudo download-mibs and downloaded two additional MIB files (INFORMANT-OS-MIB, WTCS-MIB):

$ ls -lA /var/lib/mibs/site
total 456
-rw-r--r-- 1 root root 460726 2012-05-22 16:52 INFORMANT-OS-MIB
-rw-r--r-- 1 root root   1088 2012-05-23 08:55 WTCS-MIB

And created a symlink in the standard MIB directory:

$ ls -lA /usr/share/mibs/site
lrwxrwxrwx 1 root root 18 2012-05-23 08:58 /usr/share/mibs/site -> /var/lib/mibs/site

But it's not able to translate this OID:

$ snmptranslate -Of 1.3.6.1.4.1.9600.1.22.11.1.1.19
.iso.org.dod.internet.private.enterprises.9600.1.22.11.1.1.19
share|improve this question

1 Answer 1

Your snmpconf is not including your custom MIBs. You need to make snmptranslate, which uses snmpconf aware of them. You do something like this:

snmptranslate -M+/usr/share/mibs/site -m+ALL -Of 1.3.6.1.4.1.9600.1.22.11.1.1.19

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.