chiark / gitweb /
rcheck: Supply a default list of hosts if none are given.
[rcheck] / check.d / logs
1 #! /bin/sh
2 ###
3 ### Report on scary things found in log files.
4
5 set -e
6
7 ## Check Exim's paniclog to see whether it was upset about anything.
8 if [ -s /var/log/exim4/paniclog ]; then
9   echo "W: Exim paniclog exists.  Be afraid."
10 fi