Does anyone use Splunk to capture statistics from their Legato back-ups?
Legato's mminfo reporting tool doesn't give me the information I need, but the e-mail sent out to us upon the completion of a saveset does. So I've been using Splunk to capture the mail spool for that account. This has actually worked pretty well. Thanks to some punct options I can produce an easier-to-read search result.
There are two things I'd like to do:
Graph the time it completed versus the time it completed in previous days.
Alert us if a back-up fails or does not complete by a certain time (probably two different alerts there).
Legato has utilities that do this for us, but it would be very nice if we could get Splunk to do it. One stop shopping, right?
Here's what an output looks like:
Date: Thu, 26 Aug 2010 05:23:23 -0400
Subject: host1.xyz.com's savegroup completion
NetWorker savegroup: (alert) ProdDailycompleted, Total 8 client(s), 1 Failed, 7 Succeeded.
Please see group completion details for more information.
Succeeded: host2, host3, host4, host5
Is what I'm asking for possible/practical? Or is this just not worth the effort?
Sure, it seems very easy. Most of the work will simply be in defining appropriate field extractions to get the data from your emails, and these look to be fairly straightforward regular expressions. If you're already getting the emails in Splunk, that's a big help. Make sure the time and "Failed" fields are extracted.