Build precise queries to find exactly what you need
Press ESC to close
@slobis
Member Since: March 24, 2012
Favorites0
Views
Projects0
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 }
Reviewed 12 years ago
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.