E-Mail Parsing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
compqact
Posts: 2
Joined: Fri Dec 03, 2010 7:41 am

E-Mail Parsing

Post by compqact »

Hi there,

I'm trying to find out if Nagios supports e-mail parsing, and then can perform a specific action. We monitor devices remotely which we do not have direct access to, and so rely on e-mail. The e-mail, format and almost identical bar, a small changing piece per customer and the device name. Based on that I would like to flag it up on Nagios as red, green or orange depending on the message. Is this supported on Nagios ?

Thanks

Andrew
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: E-Mail Parsing

Post by tonyyarusso »

It is most definitely supported as a possibility by the architecture of Nagios, but there is not a "plug and play" automatic way of setting it up. You would need to write a "check plugin" to do the actual parsing based on what you know about the format you expect, in the language of your choice, and then tell Nagios to use it. You can find general information about how plugins work on http://nagios.sourceforge.net/docs/3_0/pluginapi.html, and detailed plugin "best practices" on http://nagiosplug.sourceforge.net/devel ... lines.html.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked