Passive Service Checks from E-mail?

Rasmus Plewe rplewe at hpce.nec.com
Sat Mar 8 07:44:57 CET 2003


On Sat, Mar 08, 2003 at 11:10:35AM +1100, Stanley Hopcroft wrote:
> On Fri, Mar 07, 2003 at 02:09:15PM -0800, Hiatt, William wrote:
> 
> > I need to monitor some backup jobs from Veritas BackupEXEC.
> > Unfortunately, BackupEXEC doesn't send SNMP traps when a job is
> > successful (Figure that out!). But, it can send an e-mail out when a job
> > has failed or is successful. Does anyone know the best way to parse this
> > e-mail, or is anybody doing something like this already? Just thought
> > I'd check-in before I spent the time to write one myself.
> 
> 1 Having your MTA recognise that the letter (from Veritas) needs special
> handling ie programmatic handling
> 
> 2 Writing the program that slurps the letter, spits out the headers, and
> extracts the backup status from what's left, and submitting the properly
> formatted check result.

Hmm, what are the disadvantages of simply using check_log(2.pl) on the
mail file? 


Rasmus


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list