Random Project

check_snmp_vmware_cpu

This script is buggy. I have 9 virtual machines on my hosts and the 9th as the SNMP index 416 in the table.
The code to get the id of a machine makes the assumption that there are a 1:1 relation between the number of machines and the SNMP index.
This is the same bug present in check_snmp_cisco_ifstatus.

As stated above try this script instead: https://secure.opsera.com/svn/opsview/trunk/opsview-core/nagios-plugins/check_snmp_vmware_cpu

Beware that with ESX 4.0 you have to explicitly activate the OID 1.3.6.1.4.1.6876 and if you have already Net-SNMP running your task is to make the two SNMP agents coexist.