The zabbix_tungsten_online Command
The zabbix_tungsten_online command checks whether all the services for a given service and host are online and running.
Within a Tungsten Cluster service, the replicator, manager and connector services are checked. All must be online for a 0 (True) response.
zabbix_tungsten_online [option]
Where:
| Option | Description | Product |
|---|---|---|
--port | RMI port for the replicator being checked. | CTTR |
-a | Check manager services on all nodes, not just localhost. | CT |
-c | Enable composite dataservice checks (default: disabled) | CT |
-d | Debug mode (enables verbose mode also) | CTTR |
-h | Show help text. | CTTR |
-r | Disable replicator checks (default: enabled) | CT |
-s | Specify the service you would like to check (default: all available services) | CTTR |
-v | Verbose mode. | CTTR |
By default, the script will check all replication services for the localhost, including the manager on Tungsten Cluster hosts.
To also check the manager services on the other cluster nodes, use -a
You can also check the cluster-wide composite status using -c
Using -a or -c on multiple nodes will alert on all monitored nodes for the same offline service.
The command outputs a 0 (True) or a 1 (False) status.
For example:
shell> zabbix_tungsten_online
0
If you have multiple services installed, use the -s to specify the service:
shell> zabbix_tungsten_online -s alpha
0