Nagios cycles its data (at least ours has) -- I have several hundred email alerts provided to me (by my boss!) who's asked me to tabulate them into some meaningful graph (RRD) and/or report.
He provided these all one big fat TXT file. Each entry is standard format (email) and has the standard Nagios email alert formatting. From this, I should be able to parse out and graph these... it's just not something I've done before.
I wonder if someone else has any tips or tricks on accomplishing this.
Here is a sample entry:
Subject: [PROD] ** RECOVERY Service Alert: core-river-gw-vl671.network-provider.com/check_ping
Date: July 30, 2013 9:31:05 AM EDT
To: "My Boss" <email@example.com>
***** Nagios *****
Notification Type: RECOVERY
Date/Time: Tue Jul 30 09:31:05 EDT 2013
PING OK - Packet loss = 0%, RTA = 0.68 ms
Thanks in advance!