Ok, here is one I am sure has been done before. But I can't find where or when.
I need a script to define Cisco syslog messages. This needs to be similar to the Cisco PIX/ASA Lookup example script. I tried modifying this script to match other syslog message IDs however I have been unsuccessful.
Basically, I would like to match the text from the right of the % and to the left of the : in the syslog message. Then correlate this data to a predefined explaination and action.
Anyone have any ideas or can maybe point me in the right direction to something that has been done already?