Checks if a vserver is running or in another state.
$ check_netapp_vserver state -H <host> [...] [--help]
$ check_netapp_vserver state -H <host> --ok-state=[…] […] [--help]
The vserver plugin retrieves the vserver state and compares ist with the value of --ok-state
(string or regular expression) which defaults to running.
--include
/ --exclude
: Include or exclude volumes based on their name. The SVM-name is pre-fixed to the volume-name so that you can filter also based on the SVM-name.
For all other parameters consult --help
on the commandline.
Check all vservers for their state using the --ok-state
default:
$ check_netapp_vserver state -H filer
NETAPP VSERVER STATE OK - 5 vservers checked
na-01.vserv_b: running
na-01.vserv_a: running
na-02.vserv_a: running
na-02.vserv_b: running
na-00.vserv_a: running