Appendix A. Check Commands for Customizable Services of Add_ons
63
Example:
check_esx3
–H esx -C public –w 50% -c 0%
VHosts: 2/4 up: nsmvm5(OFF), nsmvm1(ON), nsmvm3(ON), nsmvm4(OFF)
Status is set to WARNING if more than 50% of VMs are down.
Status is set to CRITICAL if all VMs are down.
Note:
The list of VMs used to establish ESX server status corresponds to all the VMs declared on the
ESX server and not only to those declared on the NovaScale Master ESX platform. The
VMname is that declared on the VMware ESX server (this name can be different from the
NSMaster hostname).
check_esx_snmp case
The check_esx3 shell is called with the following syntax:
check_esx3
-B -H <esxname> -C <community> -l SNMP
Output:
OK
SNMP management interface available
CRITICAL
SNMP management interface not available
check_esx_mem case
The check_esx3 shell is called with the following syntax:
check_esx3
-B -H <esxname> -C <community> -l MEM -w <warn>% -c
<crit>%
Output:
Memory free: <free>Mb (<percent_free>) [Total available <total>Mb]
Example:
check_esx3 –H esx -C public -l MEM –w 20% -c 10%
Memory free: 16111.6Mb (98%) [Total available 16383.6Mb]
Status is set to WARNING if less than 20% of memory is available.
Status is set to CRITICAL if less than 10% of memory is available.
check_esx_vm
The check_esx3 shell is called with the following syntax:
check_esx3
-B -H <esxname> -C <community> -v <virtualHost>
-l STATE
Output:
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...