check_xen

check_xen

Check_xen proofs if your VM is Up, Down, Paused, Crashed or even dying. The Output contains your VM state and some Perfdata.

Usage: check_xen dom0


check_xen (dom0|domU)
check_xen dom0 ( reloc=(y|n) httpd=(y|n) ) -> checks Status of dom0"

Example:


check_xen dom0 reloc=y httpd=y  -> check dom0; Relocation Server must be running; Xen-HTTPD must be running"
check_xen dom0 reloc=n httpd=y  -> check dom0; Relocation Server is not necessary; Xen-HTTPD must be running"

Usage: check_xen domU


check_xen domU  -> needs sudo permissions to the 'xm' command !!"

Example:


check_xen domU Webserver1 -> checks if domU Webserver1 is running"

Important:

There is a flag (requiretty) on RedHat and CentOS systems in /etc/sudoers which prevents remote processes from using sudo. You have to remove this flag to let e.g nrpe use sudo.