Web Servers

Virtualmin virtual server quota check

Description:

Nagios plugin for Virtualmin virtual server quota check

This is a bash shell script that collects quota usage information for a specified virtual server and alerts if the specified usage threshold is exceeded.

Current Version

v1.0.0

Last Release Date

2016-03-04

Compatible With

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

License

GPL


Project Notes
USAGE Virtualmin virtual server quota check plugin for Nagios Version v1.0.0 Arguments : -d [domain] -t [type:server|user] -c [critical_threshold] -w [warning_threshold] -d domain: domain of the virtual serer to query (required) -t type (server|user): type of quoat to check, defaults to "server" -c critical threshold level: quota usage threshold for critical alert, in percent defaults to 95 -w warning threshold level: quota usage threshold for warning alert, in percent defaults to 90 SECURITY The Virtualmin CLI tool is required to run as root thus this plugin relies on sudo. To allow the nagios user (or the one that runs your Nagios or nagios-nrpe-server process) you need to whitelist /usr/sbin/virtualmin the following command for each checked domain: nagios ALL=(root) NOPASSWD: /usr/sbin/virtualmin list-domains --multiline --domain example.com It is possible to whitelist the command with any argument so that you do not have to add a new record for every domain but you have to be extremly cautious with this. LICENSE GNU GENERAL PUBLIC LICENSE.
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
0
Views
6,582