[Nagiosplug-help] Email preferred over display.
Mike Lindsey
mike+nagiosplug at bettyscout.org
Tue Aug 25 02:25:27 CEST 2009
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
--
Mike Lindsey
More information about the Help
mailing list