Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_vzquota.pl
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
checks quota of Virtuozzo Containers.
shows warning when usage is more than 90% of softlimit, critical when usage=softlimit.
when ok, shows number of running containers.
if you want to run it via nrpe. place script to /usr/local/sbin/check_vzquota and chmod 700
add this to /etc/nagios/nrpe.cfg:
=========
command[check_vzquota]=sudo /usr/bin/perl /usr/local/sbin/check_vzquota
=========
and change /etc/sudoers (using visudo):
=========
#Defaults requiretty (comment this string)
nrpe ALL=(root) NOPASSWD: /usr/bin/perl /usr/local/sbin/check_vzquota
=========
based on:
http://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/check_vzquota/details
all bash parts were removed, now it is pure perl.
functionality improved.
shows warning when usage is more than 90% of softlimit, critical when usage=softlimit.
when ok, shows number of running containers.
if you want to run it via nrpe. place script to /usr/local/sbin/check_vzquota and chmod 700
add this to /etc/nagios/nrpe.cfg:
=========
command[check_vzquota]=sudo /usr/bin/perl /usr/local/sbin/check_vzquota
=========
and change /etc/sudoers (using visudo):
=========
#Defaults requiretty (comment this string)
nrpe ALL=(root) NOPASSWD: /usr/bin/perl /usr/local/sbin/check_vzquota
=========
based on:
http://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/check_vzquota/details
all bash parts were removed, now it is pure perl.
functionality improved.
Reviews (1)
byxee, February 16, 2012
This is a really great plugin! It works perfectly and replaces lots of individual checks. Get it now :)