The check_tungsten_services Command
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.
check_tungsten_services [options]
| Option | Description | Product | Version |
|---|---|---|---|
-c | Check the Connector service status. | CT | |
-h | Display the help text. | CTTR | |
-r | Check the replication services status. | CTTR |
The command outputs information in the following format:
LEVEL: DETAIL
Where DETAIL includes detailed information about the status report, and LEVEL is:
CRITICAL: status is critical and requires immediate attention.
For example:
CRITICAL: Replicator is not running
-
OK: status is OK.For example:
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 resorting to using the full trepctl output.
The check_tungsten_services only confirms that the services and processes are running; their state is not confirmed. To check
state with a similar interface, use the check_tungsten_online command.
To check the services:
- To check the replicator services:
shell> check_tungsten_services -r
OK: All services (Replicator) are online
- To check the replicator and manager services are executing:
shell> check_tungsten_services -r
OK: All services (Replicator, Manager) are running
- To check the connector services:
shell> check_tungsten_services -c
OK: All services (Replicator) are online