Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
plugin to check virtuzoo disk and inode quota
1.1
2012-11-21
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
GPL
47703
File | Description |
---|---|
check_vzinode.pl | check virtuzoo indoe quota |
check_vzdiquota.plx_v1.1 | check both virtuzoo disk and inode quota |
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!
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.
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)
Be the first to review this listing!