Percona OpenVZ Monitoring Template for Cacti

These templates use ss_get_by_ssh.php to connect to a server via SSH and extract statistics from the OpenVZ container, by concatenating the contents of /proc/user_beancounters to standard output.

Installation

Once the SSH connection is working, import the OpenVZ template and apply it to your host, then add the graphs.

Depending on your version of OpenVZ or Virtuozzo, the file /proc/user_beancounters might not be accessible to ordinary users. This means you either need to SSH as root, or use a program such as beanc to read the file. If you choose the latter approach, you should change the $openvz_cmd configuration variable.

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 openvz --host 127.0.0.1 --items jn,jo

Sample Graphs

No sample graphs are available yet.

Percona Monitoring Plugins
Call Us
+1-888-316-9775 (USA - Sales)
+1-208-473-2904 (USA - Sales)
+44-208-133-0309 (UK - Sales)
0-800-051-8984 (UK - Sales)
0-800-181-0665 (GER - Sales)
+1-877-862-4316 (Emergency)
+1-855-55TRAIN (Training)
+1-925-271-5054 (Training)

Table Of Contents

Previous topic

Percona Nginx Monitoring Template for Cacti

Next topic

Percona Redis Monitoring Template for Cacti



© Copyright 2012, Percona Inc.
Except where otherwise noted, this documentation is licensed under the following license:
CC Attribution-ShareAlike 2.0 Generic
{@ footer_documentation_bugs @}
This documentation is developed in Launchpad as part of the Percona Monitoring Plugins source code.
If you spotted innacuracies, errors, don't understood it or you think something is missing or should be improved, please file a bug.
{@ /footer_documentation_bugs @} ]]>