Buy Percona SupportEmergency? Get 24/7 Help Now!

Percona Apache Monitoring Template for Cacti

These templates use ss_get_by_ssh.php to connect to a server via SSH and extract statistics from the Apache server running there, by executing the wget program with the url /server-status.


Once the SSH connection is working, configure Apache to report its status. The typical setup is to enable status for at the URL /server-status. If you decide to use a different URL, you’ll have to configure that in the script configuration (covered in the general install guide) or pass a command-line option (also covered in the general install guide).

Be sure to configure Apache with the ExtendedStatus On directive so you get full status.

Finally, 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 apache --host --items gg,gh

Sample Graphs

The following sample graphs demonstrate how the data is presented.


The number of bytes sent by Apache.


Apache’s CPU usage.


The number of requests that Apache has handled.


The number of Apache processes in each of a variety of statuses.


The number of worker processes busy or idle at any given time.

Table Of Contents

Previous topic

Percona Redis Monitoring Template for Cacti

Next topic

Percona JMX Monitoring Template for Cacti

This documentation is developed in Launchpad as part of the Percona Monitoring Plugins 1.1.
If you spotted inaccuracies, errors, don't understood it or you think something is missing or should be improved, please file a bug.

General Inquiries

For general inquiries, please send us your question and someone will contact you.