Delay sending SMS alerts....
Justin T Pryzby
justinp at norchemlab.com
Wed Nov 4 00:56:07 CET 2009
On Tue, Nov 03, 2009 at 05:24:25PM -0600, Marc Powell wrote:
>
> On Nov 3, 2009, at 12:26 PM, Justin T Pryzby wrote:
>
> > Is it possible to get the behavior of a "queue" which is emptied at
> > 7am (for better or worse)?
>
> Not within nagios, but...
Just to be clear, I'm not looking at queueing large numbers of
messages, ideally just one. It could be implemented as a duplicate
test with check_interval 7am-7:10am, but I'm not sure if that's best
either.
> ... as Martin Melin indicates, this is best done by your notification
Problem is, it should only notify at 7am if the thing is still broken.
I'll eventually see a notification by mail to root, but if a 3am
problem resolves itself at 3:30, it'll just cause confusion if there's
a dynamic "sleep 4h" command sendings texts hours later.
Thanks,
Justin
------------------------------------------------------------------------------
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
_______________________________________________
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