![](https://secure.gravatar.com/avatar/929443f6f89e72f3cdc2b86f68ad708a.jpg?s=120&d=mm&r=g)
Hi all,
I'm using Observium r3791 to monitor a few VMware ESXi 5.1 hosts along with a mix of servers and network gear. All seems to be running well, except for the ESX hosts.
When Observium polls the ESX hosts it seems to be missing a lot of information due to missing MIBs:
My /etc/snmp/snmpd.conf has the mibdirs line as per the installation instructions. mibdirs /opt/observium/mibs
It seems if I copy all of the mibs from the /opt/observium/mibs directory to /usr/share/mibs, then the poller seems to run OK. No more missing module errors.
Is this expected behaviour?
Partial debug poller output below:
Observium Poller v0.13.3.3784
DEBUG! Starting polling run:
SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'esx01%' ORDER BY `device_id` ASC] SQL[SELECT * FROM `devices` WHERE `device_id` = '11'] SQL[SELECT * FROM devices_attribs WHERE `device_id` = '11'] esx01.prod.nrhosted.com 11 vmware DEBUG: SNMP Auth options = -v2c -c esx01 /usr/bin/snmpget -v2c -c esx01 -Oqv -m SNMPv2-MIB -M /opt/observium/mibs udp:esx01.prod.nrhosted.com:161 sysObjectID.0 SNMPv2-SMI::enterprises.6876.4.1
RRD[update /opt/observium/rrd/esx01.prod.nrhosted.com/status.rrd N:1] OK u:0.01 s:0.00 r:0.07 RRD[update /opt/observium/rrd/esx01.prod.nrhosted.com/ping.rrd N:1.08] OK u:0.02 s:0.00 r:0.07 RRD[update /opt/observium/rrd/esx01.prod.nrhosted.com/ping_snmp.rrd N:46.31] DEBUG: SNMP Auth options = -v2c -c esx01 /usr/bin/snmpget -v2c -c esx01 -OQUs -m +VMWARE-ROOT-MIB:VMWARE-SYSTEM-MIB -M +/opt/observium/mibs/vmware udp:esx01.prod.nrhosted.com:161 VMWARE-SYSTEM-MIB::vmwProdName.0 VMWARE-SYSTEM-MIB::vmwProdVersion.0 VMWARE-SYSTEM-MIB::vmwProdBuild.0 MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp:/opt/observium/mibs/vmware
The first call to snmpget has the correct MIB path (/opt/observium/mibs), but the 2nd call to snmpget seems to only include the /opt/observium/mibs/vmware (leaving out /opt/observium/mibs)
Consequently I get a lot of errors such as these:
Cannot find module (SNMPv2-TC): At line 10 in /usr/share/mibs/netsnmp/UCD-DLMOD-MIB Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/mibs/netsnmp/UCD-SNMP-MIB Cannot find module (SNMPv2-TC): At line 37 in /usr/share/mibs/netsnmp/UCD-SNMP-MIB Did not find 'enterprises' in module #-1 (/usr/share/mibs/netsnmp/UCD-SNMP-MIB) Did not find 'DisplayString' in module #-1 (/usr/share/mibs/netsnmp/UCD-SNMP-MIB) Did not find 'TruthValue' in module #-1 (/usr/share/mibs/netsnmp/UCD-SNMP-MIB)
-- Cheers, Matt.