Home Directory

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

Directory

pylgrym

Reviews(1)
bypylgrym, November 1, 2017
It mostly works, and does what we need.
However, I fixed a few things to make it work better.
- The volstatus check, I change -le (less-equal) to -ge (greater-equal)
e.g.
if [ "$VOLPCT" -ge "$strCritical" ]; then
.. Otherwise, it would report as 'critical', that you haven't flooded the drive..

- also in volstat, I change the awk part to this:
awk -F: '{print substr($2,2)}'

otherwise it can't handle spaces in the status text,
which in our case meant it wouldnt show the relevant error text.

but otherwise, a great plugin that is easy to adjust.