Installation guide
Appendix A. Check Commands for Customizable Services of Add_ons
85
Virtualization Management
NSMasterVMwareESX
check_esx3
The Nagios check commands used by NMasterVMwareESX Add-on uses the shell (PERL)
command check_esx3.
Usage
check_esx3 -H esxname [-N|-M|-B] [-C community] [-v virtualhost]
[-l thing [-w warn -c crit]] [-t timeout]
-H <esxname> Hostname or IP address of the ESX server to check
-N,-M,-B set context for check execution
-N for Nagios mode,
-M for MRTG mode,
-B for NSMaster mode.
-C <community> SNMP community string (defaults to ”public”)
-v <virtualhost> name of the virtual host to check
-l <thing> what to check
Available thing are: CPU, MEM, SNMP, STATE, LIST,
LISTNET.
-w <warnThreshold> warning threshold
-c <criticalThreshold> critical threshold.
-h, --help Display help
Return code
OK(0), WARNING(1), CRITICAL(2), UNKNOWN(3).
Output
The output depend on the calling Nagios command. See detailed cases below.
check_esx_server case
The check_esx3 shell is called with the following syntax:
check_esx3 -B -H <esxname> -C <community> -l LIST
-w <warn>% -c <crit>%