Continuent Documentation

Page in Other Manuals

8.5. The check_tungsten_progress Command

The check_tungsten_progress command determines whether the replicator is actually making progress by executing a heartbeat operation and monitoring for this operation to complete within an optional time period (default is 1 second).

Table 8.15. check_tungsten_progress Options

OptionDescription
-tGive a time period during which progress should be identified

The command outputs information in the following format:

LEVEL: DETAIL

Where DETAIL includes detailed information about the status report, and LEVEL is:

  • CRITICAL — replicator is not making progress and either has not completed the heartbeat operation, or has failed. If failed, the reason will be shown in the DETAIL:

    For example:

    CRITICAL: Replicator is not ONLINE
  • OK — replicator is making progress.

    For example:

    OK: Replicator is making progress

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 time delay can be added on busy systems to ensure that the replicator is progressing; for example, to wait 15 seconds to ensure the replicator is progressing:

shell> check_tungsten_progress  -t 15
CRITICAL: Replicator is not ONLINE