This command only needs to be run on one node within the service; the command returns the policy mode for all nodes.
The command outputs information in the following format:
Where DETAIL includes detailed information about the status report, and LEVEL is:
CRITICAL — status is critical and requires
immediate attention. This indicates that the policy is not
CRITICAL: Policy is MAINTENANCE
WARNING — status requires attention. This indicates that one service within the system is not online.
OK — status is OK.
OK: Policy is AUTOMATIC
This output is easily parseable by various monitoring tools, including Nagios NRPE, and can be used to monitor the status of your services quickly without resorting to using the full trepctl output.
check_tungsten_policyOK: Policy is AUTOMATIC