Percona Redis Monitoring Template for Cacti

These templates use ss_get_by_ssh.php to connect to a server and extract statistics from the Redis server with the INFO command. The templates do not use SSH, but connect directly with TCP sockets to gather the information.


Import the Redis template and apply it to your host, then add the graphs.

You can test one of your hosts like this. You may need to change some of the example values below, such as the cacti username and the hostname you’re connecting to:

sudo -u cacti php /usr/share/cacti/scripts/ss_get_by_ssh.php --type redis --host --items ln,lo

Sample Graphs

The following sample graphs demonstrate how the data is presented.


Shows commands to the Redis server.


Shows connections to the Redis server. The top two items are current connections at the time the poller sampled the data; the bottom line, Total Connections, is the number of new connections created per second during the polling interval. That’s the important number to watch, and despite the name it should not be equal to the sum of the first two lines!


Shows memory usage.


Shows unsaved changes.

Table Of Contents

Previous topic

Percona OpenVZ Monitoring Template for Cacti

Next topic

Percona Amazon RDS Monitoring Template for Cacti

Contact Us

For free technical help, visit the Percona Community Forum.
To report bugs or submit feature requests, open a JIRA ticket.
For paid support and managed or professional services, contact Percona Sales.