Home Directory Plugins Operating Systems * Virtual Environments Parallels plugin to check virtuzoo disk and inode quota

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

plugin to check virtuzoo disk and inode quota

Current Version
1.1
Last Release Date
2012-11-21
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
License
GPL
Hits
47638
Files:
FileDescription
check_vzinode.plcheck virtuzoo indoe quota
check_vzdiquota.plx_v1.1check both virtuzoo disk and inode quota
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
To check the indoe quota of the virtuzoo containers. Once I faced a critical production server issue due to the inode quota of the containers which leads me for this plugin.


The Version 1.1 is upgraded for monitoring both disk and inode quota at same time. Usage is same as the previous version.
It accepts two arguments, one is warning and critical.

If there are more thank one containers then, it will give multiline output. So to get the multiline output you have to click on the service name.

usage : check_vzdiquota.pl [warn] [crit]

The version 1.1 is upgraded to monitor both disk and inode both at same time.

If the indoe quota of any container cross warn value it will give warning message and if crosses crit value will give critical message.

It can monitor multiple containers at same time in a virtuzoo base server.

To run it using nrpe, put the script in /usr/local/nagios/libexec.
Change permission to 744.
Add below line to /usr/local/nagios/etc/nrpe.cfg of the host:
############################################################
command[check_vzinodeq]=sudo /usr/local/nagios/libexec/check_vzinode.pl 80 90
############################################################

Then allow nagios user to run this script without password with sudo by adding the below line in /etc/sudoers file.
############################################################
nagios ALL=(root) NOPASSWD:/usr/bin/perl,/usr/sbin/vzquota,/usr/sbin/vzlist,/usr/local/nagios/libexec/check_vzinode.pl
############################################################

Then add the command in the hostfile of the nagios server.

From nagios server using nrpe in command line quota can be checked.


Now to use the upgraded 1.1 add the version, add the following path: /usr/local/nagios/libexec/check_vzdiquota.plx in sudo file for nagios user.