Graphing Tungsten Replicator data is supported through Cacti extensions. These provide information gathering for the following data points:
Sequence Number (Events applied)
Status (Online, Offline, Error, or Other)
To configure the Cacti services:
Download both files from https://github.com/continuent/monitoring/tree/master/cacti
Place the PHP script into
Modify the installed PHP file with the appropriate
$tungsten_home location from your
Add SSH arguments to specify the correct
id_rsa file if needed.
Ensure that the configured
has the correct SSH authorized keys to login to the server or servers
being monitored. The user must also have the correct permissions and
rights to write to the cache directory.
Test the script by running it by hand:
php -q /usr/share/cacti/scripts/get_replicator_stats.php --hostname
If you are using multiple replication services, add
to the command.
Import the XML file as a Cacti template.
Add the desired graphs to your servers running Continuent Tungsten. If you are using multiple replications services, you'll need to specify the desired service to graph. A graph must be added for each individual replication service.
Once configured, graphs can be used to display the activity and availability.