5.16.2. Monitoring Status Using cacti
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
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 Tungsten Clustering. 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
Once configured, graphs can be used to display the activity and
Figure 5.3. Cacti Monitoring: Example Graphs