The check_tungsten_services command provides a simple check to confirm whether configured services are currently running. The command must be executed with a command-line option specifying which services should be checked and confirmed.
Table 8.17. check_tungsten_services Options
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.
CRITICAL: Replicator is not running
OK — status is OK.
OK: All services (Replicator) are online
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 restoring to using the full trepctl output.
To check the services:
check_tungsten_services -rOK: All services (Replicator) are online
To check the replicator and manager services are executing:
check_tungsten_services -rOK: All services (Replicator, Manager) are running
check_tungsten_services -cOK: All services (Replicator) are online