I am installing Zabbix to monitor via snmp some devices from a machine running Ubuntu 12.04 server.
There is a problem with MIB definitions, since snmp commands do no properly translate some of the MIBs. I have already installed the "snmp-mibs-downloader" package, so the files containing the MIB descriptions are properly installed.
The MIB are only translated to obtain the numeric key (the MIB files are accessible to the snmp commands), but the results returned by the snmpget command do not properly translate the key. The zabbix templates that I am using do expect the key translated (SNMPv2-MIB::sysUpTime.0) , so, the current results are not recognised and these are ignored.
$ snmptranslate -On SNMPv2-MIB::sysUpTime.0 .126.96.36.199.188.8.131.52.0 $ snmpget -v 2c -c public 192.168.1.1 184.108.40.206.220.127.116.11.0 iso.18.104.22.168.22.214.171.124 = Timeticks: (2911822510) 337 days, 0:23:45.10
On another machine (running a very old Red Hat based distribution), the snmp commands perform both, the direct and reverse traslation, as expected:
# snmptranslate -On SNMPv2-MIB::sysUpTime.0 .126.96.36.199.188.8.131.52.0 # snmpget -v 2c -c public 192.168.1.1 184.108.40.206.220.127.116.11.0 SNMPv2-MIB::sysUpTime.0 = Timeticks: (2911819485) 337 days, 0:23:14.85
What is the problem on my Ubuntu box? Is there something I am missing?