62
NovaScale Master 5.1 Server Add-ons - Installation and Administrator's Guide
Virtualization Management
NSMasterVMwareESX
check_esx3
The Nagios check commands used by NMasterVMwareESX Add-On uses the shell (PERL)
command check_esx3.
Usage
check_esx
3
-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>%
Output:
VHosts: <nb-up>/<nb-all> up: <VMname> (<status>), .
Summary of Contents for NovaScale Master 5.1
Page 2: ......
Page 14: ...4 NovaScale Master 5 1 Server Add ons Installation and Administrator s Guide...
Page 88: ...78 NovaScale Master 5 1 Server Add ons Installation and Administrator s Guide...
Page 91: ......
Page 92: ...BULL CEDOC 357 AVENUE PATTON B P 20845 49008 ANGERS CEDEX 01 FRANCE REFERENCE 86 A2 95ER 02...