Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_vzquota.pl

Rating
2 votes
Favoured:
0
Current Version
0.1
Last Release Date
2012-02-11
Compatible With
  • Nagios 3.x
Hits
74360
Files:
FileDescription
check_vzquota.plcheck_vzquota.pl
Nagios CSP

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!
check_vzquota.pl
checks quota of Virtuozzo Containers.
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.
Reviews (1)
byxee, February 16, 2012
This is a really great plugin! It works perfectly and replaces lots of individual checks. Get it now :)