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

amitmund

Reviews(1)
byamitmund, August 2, 2012
1 of 1 people found this review helpful
The script is really good.

Just few updated needed:

as the new version is using vmstat and not iostat, so it would be nice to check vmstat:

here is my modification:

#IOSTAT=/usr/bin/iostat
VMSTAT=/usr/bin/vmstat

and the check:

# if [ ! -x $IOSTAT ]; then
if [ ! -x $VMSTAT ]; then
# echo "UNKNOWN: iostat not found or is not executable by the nagios user."
echo "UNKNOWN: vmstat not found or is not executable by the nagios user."
exit $STATE_UNKNOWN
fi