ClearCase Support: Automate Checking of ClearCase Server Log Files
On a daily basis, I automatically check all of the ClearCase log files for NEW error and warning messages on each of the ClearCase VOB and Views servers that I am responsible for. I accomplish this by using a simple UNIX Perl script that can be found down below. Here are the two primary features of this script:
- Reports all new error messages in any ClearCase log file, since the last time this script was executed.
- Reports all new warning messages in any ClearCase log file, since the last time this script was executed.
Here is how to execute this script.
You can download this Perl script here, or you can copy-n-paste from here:
This script was written for www.philforhumanity.com.
by Phil for Humanity