Nagios Change Config via email
Diego Roccia
diego.roccia at gmail.com
Thu Sep 23 09:40:52 CEST 2010
Using procmail you can pipe emails trough scripts, so you're able to
create a script that parse the email subject/body and commit external
commands to nagios
regards
Diego
On Thu, Sep 23, 2010 at 5:38 AM, Ron Wilson <ron at tvnz.co.nz> wrote:
> I would like to be able to disable nagios notifications by using email.
>
> Situation is we are investing in automating patching of our servers. The
> patching software can send an email out at the beginning of each server
> patch and another at the end of patch
>
> I want Nagios to be able to receive the email which would have something
> like servername and stop en email subject line.
>
> If I set up an inwards mail client on the nagios server which would receive
> the email and drop it into a directory where Nagios would scan it and
> disable alerting for the server. At the end of patching the patch server
> will issue another email saying servername start and Nagios would receive
> email and re-enable alerting
>
> Anyone got any good ideas how to avhieve this?
>
>
>
> ________________________________
>
> --
>
> Ron Wilson
>
> Systems Engineer
>
> Television New Zealand
>
> P.O. Box 3819
>
> Auckland, New Zealand
>
> Phone 649-916-7560
>
> If you find yourself in a hole, the first thing to do is stop diggin'.
>
> ________________________________
> ==========================================================
> For more information on the Television New Zealand Group, visit us
> online at tvnz.co.nz
> ==========================================================
> CAUTION: This e-mail and any attachment(s) contain information that
> is intended to be read only by the named recipient(s). This information
> is not to be used or stored by any other person and/or organisation.
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> 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
>
--
Diego Roccia
diego.roccia (at) gmail (dot) com
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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