The Indiana University Syslog Scripts are a set of scripts that allow interesting entries from a set of system logs to be e-mailed periodically to engineers for closer inspection.
Be the first to post a text review of IU Syslog Scripts. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Made a bunch of changes to the report.pl script... (1) Added a "type" identifier. Each log message is assigned a basic type. This is done by pulling a specific string out of the message field. A count of the number of message for each type is kept and displayed at the top of the report. So, for example, you could see that there were 35 MSDP_PEER_DOWN messages and 1783 BGP_NEIGHBOR_UP messages during the day. The regexp's should correctly identify types for most Cisco, Juniper and Netscreen logs (2) Added Juniper specific parsing which pulls the process id out of the message field (3) Added support for Netscreen logs which have a bunch of extra garbage in the message field (4) Changed the sort mechanism so logs are sorted by the number of occurences instead of by the timestamp of the first occurence. This required changing the main data structure from a hash with a single value to a hash of hashes. (5) Added a total count of log messages which is included on the subject line of the email report
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?