Nagios ESXi hardware check
Posted: Wed Apr 04, 2012 9:31 am
Ubuntu 11.10/Nagios 3.3.1
I'm trying to use this plugin - http://www.claudiokuenzler.com/nagios-p ... rdware.php, for esxi hardware checks. I have Python and the Python extension pywbem prerequisites installed.
Commands.cfg -
define command{
command_name check_esxi_hardware
command_line /usr/local/nagios/libexec/check_esxi_hardware -t 120 -H $HOSTADDRESS$ -U root -P {password} -V hp
}
Windows.cfg -
define service{
use generic-service
host_name G2-ESXi
service_description Check ESXi Hardware
check_command check_esxi_hardware
}
I'm getting a 'Return code of 127 is out of bounds...' message for this check though. Any suggestions?
I'm trying to use this plugin - http://www.claudiokuenzler.com/nagios-p ... rdware.php, for esxi hardware checks. I have Python and the Python extension pywbem prerequisites installed.
Commands.cfg -
define command{
command_name check_esxi_hardware
command_line /usr/local/nagios/libexec/check_esxi_hardware -t 120 -H $HOSTADDRESS$ -U root -P {password} -V hp
}
Windows.cfg -
define service{
use generic-service
host_name G2-ESXi
service_description Check ESXi Hardware
check_command check_esxi_hardware
}
I'm getting a 'Return code of 127 is out of bounds...' message for this check though. Any suggestions?