Monitoring /proc/user_beancounters with nagios

From OpenVZ Virtuozzo Containers Wiki
Revision as of 10:17, 27 November 2008 by Benko (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To be added locally on the VZ HN to /etc/nagios/nrpe_local.conf and as a standalone script run with cron.

Works as nagios-plugin with option '-c' or reports an increase of a failcnt-value by mail if run e.g. as a cronjob with option '-i'. We use it with both cases to be sure that we see a peak in case it happened between the nagios-checks.

The most current version of this script is available at http://github.com/peletiah/openvz/tree/master


Alternative Script

Here is an alternative script, also written in python: OpenVZ Nagios Bean Counters Script