Parallels

plugin to check virtuzoo disk and inode quota

Description:

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.

Current Version

1.1

Last Release Date

2012-11-21

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x

Owner

License

GPL


Project Files
Project Photos
Project Notes
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.
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
1
Views
47,757