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
73939
Files:
FileDescription
check_vzquota.plcheck_vzquota.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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 :)