Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Log Monitor is a simple python script to monitor log files and send email alerts when a relevant pattern (regex) is detected. By default it looks for 'ERROR' and 'FAIL', but this is configurable.  Log Monitor checks log files in a dated directory that matches yesterday's date.

Log Monitor can also looks for segfaults reported by dmesg (although dmesg time stamps are unreliable, so it is recommended instead to catch these signals, and log them instead - see the "Monitoring Segfaults" section below for details).

Example Installation

Code Block
mkdir cvsTmp
cd cvsTmp
cvs co apps/monitoring/src/scripts/
cp !$ ~/CIP/bin