]> arthur.barton.de Git - nagcollect.git/blobdiff - client/lib/tests/Darwin/DiskErrors.tst
DiskErrors.tst: Don't report SQLite I/O errors as disk errors
[nagcollect.git] / client / lib / tests / Darwin / DiskErrors.tst
index 40df3602fc3cf8f33cd6a4b47a8f8a9036cb2f59..7f5002414e93f4f413d5b58e3f216b56da22fafa 100644 (file)
@@ -1,5 +1,5 @@
 # NagCollect -- Nagios Data Collector for Passive Checks
-# Copyright (c)2010-2011 Alexander Barton, alex@barton.de
+# Copyright (c)2010-2012 Alexander Barton, alex@barton.de
 
 # Check disks for I/O errors
 
@@ -9,6 +9,7 @@ grepcmd='grep -i "I/O" | grep -i error | grep -v nagcollect
  | grep -v "com.apple.mdworker.pool"
  | grep -v "file i/o error - bad dset location"
  | grep -v "encoder error"
+ | grep -v "SQLite error code:"
 '
 
 offset=`LC_ALL=C grep -b "BOOT_TIME:" /var/log/system.log \