Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@amitmund
Favorites0
Views1
Projects2
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
Reviewed 13 years ago