Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

slobis

Reviews(2)
byslobis, November 11, 2013
0 of 1 people found this review helpful
Can someone please post examples of the syntax for this plugin? I had tried every combo I can think of and all I get is the damn help text everytime.
byslobis, September 6, 2013
check_esxi_hardware.py
I love the plugin but I cannot get it to execute in the command defintion if I use %HOSTADDRESS% instead of the full IP.

Obviously, I need to be able to use vars to apply the service to all my VMware servers.

Any ideas? HEre are my command and service defs:

############## Command Definitions for VMWare Servers ##################################


define command {
command_name check_vmware_hardware
command_line /usr/lib/nagios/plugins/check_esxi_hardware.py -H %HOSTADDRESS% -U root -P 'MYPASS'
}



############## Service Definitions for vmware Servers ###################################

define service{
use generic-service ; Name of service template to use
hostgroup_name vmware-servers
service_description System: ESXi HArdware Status
check_command check_vmware_hardware
}
Owner's reply

It should be $HOSTADDRESS$ (not percentage signs).