Installation guide

Appendix A. Check Commands for Customizable Services of Add_ons
91
-e <sample time> Sample time in minutes used to perform calculation on
utilization.
Default value is 5.
-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 depends on the type of check performed. See below to get detailed information.
check_vios _status case
The check_NSM_vios_ivm shell is called with the following syntax:
check_NSM_vios_ivm –H <vios_netName> -U <user> -I <identity_file>
Output:
Only two states are possible for Vios status: OK or UNKNOWN:
for OK state, the output is "Virtual I/O Server state: Operating"
for UNKNOWN state, the output is "Unable to determine Virtual I/O Server
state", following the reason.
Note:
The check_vios_status command is based on the state given by the lssyscfg IVM command
to obtain the state of the Vios system.
Example:
check_NSM_vios_ivm –H ivm1 –U padmin –I id_dsa_nsm
Output: Virtual I/O Server state: Operating
Return code: OK.
check_vios_lpar_status case
The check_NSM_vios_ivm shell is called with the following syntax:
check_NSM_vios_ivm –H <vios_netName> -U <user> -I <identity_file>
-l <lpar_name> -N <vios_name>
Output:
Logical partition <lpar_name> on <vios_name>: <lpar_status>