Acknowledgement Script

Terry td3201 at gmail.com
Thu Sep 15 02:46:30 CEST 2005


My mail servers all have mimedefang or something similar.  If the mail
matches a ruleset which defines a nagios command, run the such
commands.  Use authentication.


On 9/14/05, Nathan Oyler <noyler at khimetrics.com> wrote:
>  
>  
>  
>  
>  ________________________________
>  
> 
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf
> Of Yang Xiao
>  Sent: Wednesday, September 14, 2005 2:56 PM
>  To: nagios-users at lists.sourceforge.net
>  Subject: [Nagios-users] Acknowledgement Script 
> 
>   
>  
> 
> Hi all, 
>  
> 
> Does any one have a script that can be used with sendmail so that I can send
> an email to the nagios server to acknowledge events? or any idea how to go
> about writing one? 
>  
> 
>   
>  
> 
> Many thanks, 
> 
>   
>  
> 
>   
> 
>   
> 
> I should write one, that sounds like a good idea. 
> 
>   
> 
> Mail server on the nagios box that can accept email.  So in my case make an
> exchange smtp forward. Send email to address at box 
> 
>   
> 
> Alias from address to |/etc/smrsh/my_perlscript.pl 
> 
>   
> 
> Parse the email with MIME::Parser, or something else. If there's a hit,
> write acknowledgement to command file. 
> 
>   
> 
> That's how I'd do it, but I'm new at this so eh.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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