1 # NagCollect -- Nagios Data Collector for Passive Checks
2 # Copyright (c)2009 Alexander Barton, alex@barton.de
4 if [ `uname` = "Darwin" ]; then
6 error=`LC_ALL=C grep "I/O" /var/log/system.log | tail -n 1`
7 if [ -n "$error" ]; then
8 msg=`echo $error | cut -d' ' -f6-`
13 TEXT="OK - No I/O errors detected."