[Nagiosplug-help] Email preferred over display.
Edman Cheung
echeung at intelius.com
Tue Aug 25 22:06:38 CEST 2009
I agree, that is an interesting way to handle it, but then it would require
me to remember that a host or service is down. I'm not very good at
remembering that. HA! :)
I will give my colleagues the "hard coded" answer. And for them to deal
with the web interface. :)
I'm thinking that could be a feature request, not sure if it's a good idea
because that could create more configuration confusion.
Thanks again ,
Ed
On 8/24/09 5:58 PM, "Marc Mercer" <mmercer at transpera.com> wrote:
> That's definitely an interesting way of handling it, although im not
> sure why you would want a service to "look" ok if it isn't. Seems
> rather odd.
>
>
>
> -----Original Message-----
> From: Mike Lindsey [mailto:mike+nagiosplug at bettyscout.org]
> Sent: Monday, August 24, 2009 5:25 PM
> To: Nagios Plugin Help List
> Subject: Re: [Nagiosplug-help] Email preferred over display.
>
> Or you could set up an event handler.
>
> If the event handler gets triggered on a hard critical, write out a
> status file.
> Then modify your check script to always exit 0 if the status file is
> there; or if you prefer, you could do Warning state. Either way you can
>
> keep the current status of the service you're checking in the output
> text.
> You would then have either your event handler (on a hard OK) or you
> check script, once the service recovers, delete that temp status file.
>
> You'll have your one notification, with the alert blipping momentarily
> onto the web gui, and then it will be gone.
>
> Marc Mercer wrote:
>> The only way to do that is if you actually modify the source code.
> The
>> alerts and web interface reaction are triggered by check responses, no
>
>> way around it.
>>
>>
>>
>> *From:* Edman Cheung [mailto:echeung at intelius.com]
>> *Sent:* Monday, August 24, 2009 4:15 PM
>> *To:* Nagios Plugin Help List
>> *Subject:* [Nagiosplug-help] Email preferred over display.
>>
>>
>>
>> Has anyone been able to just have an alert email instead of
> displaying?
>> I've looked, Bing'ed, Googgled, no luck.
>>
>> Basically, I just want one alert to email and not put the alert on the
>
>> web interface. If anyone can point me in the right direction, I would
>
>> really appreciate it!
>>
>> TIA
>>
>> -- -- -- -- -- -- -- --
>> Ed
>>
>>
>>
> ------------------------------------------------------------------------
>>
>>
> ------------------------------------------------------------------------
> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>> trial. Simplify your report design, integration and deployment - and
> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>
>>
>>
> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Nagiosplug-help mailing list
>> Nagiosplug-help at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>> ::: Please include plugins version (-v) and OS when reporting any
> issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>
-- -- -- -- -- -- -- --
Edman Cheung echeung at intelius.com
Unix System Administrator Tel: 425-974-6148
Cell:
510-676-8074
Intelius
500 108th Ave NE, 25th floor
Bellevue, WA 98004 USA
http://www.intelius.com/
More information about the Help
mailing list