A-5
Appendix A Event Log Scripts
Redline Communications Inc.. Confidential and Proprietary
Script – errorReport.pl
Overview
This script provides a report on the number of GPS detection failures, and GPS loss of
synchronization errors reported in the supplied syslog files.
Additionally, this script monitors the elapsed time between the following event log
messages:
•
“Synchronization with GPS is Not Detected” is logged
•
“GPS Synchronization Ok”.
If the elapsed time is 30 seconds then this sequence indicates that the GPS has likely gone
into holdover mode.
Lastly, this script reports cable disconnects, LO1, LO2 and RRF errors.
Input Requirements
This script scans every file within the working directory with the extension of .log.
Usage
To use the script, enter the following at the command line:
perl errorReport.pl
Once processing is complete, the results will be printed to the screen. You can store the
report directly to file, by redirecting the output to a file using the following command:
perl errorReport.pl > errorReport.txt
Output
This script is divided into different sections for each type of error.