Installation guide
Appendix A. Check Commands for Customizable Services of Add_ons
89
NSMasterHyperNova
check_NSM_hypernova_xen
The Nagios check commands used by NMasterHyperNova Add-ons uses the shell (PERL)
command check_NSM_hypernova_xen.
Usage
check_NSM_hypernova_xen -H <hnname> [-m <virtualhost>][-t timeout]
-H <hnname> Hostname or IP address of the HyperNova server to check
-v <virtualhost> name of the virtual host to check
-h, --help Display help
Return code
OK(0), WARNING(1), CRITICAL(2), UNKNOWN(3).
Output
The output is the StatusText as setting by HNMaster. For the list of values, refer to the
HyperNova documentation
Examples:
Check_hn_server_status
The check_NSN_hypernova_xen shell is called with the following syntax:
check_NSN_hypernova_xen –H <hnserver>
Output:
StatusText as returned by HNMaster
Example:
check_NSN_hypernova_xen –H hnserver
Nothing to report
Status is set to OK.
Check_hn_vm_status
The check_NSN_hypernova_xen shell is called with the following syntax:
check_NSN_hypernova_xen –H <hnserver> -m <virtualhost>