Notifications problem?!?

Jim Avery jim at jimavery.me.uk
Thu Oct 14 13:42:34 CEST 2010


On 14 October 2010 10:55, Gaertner, Joern <joern.gaertner at wirecard.com> wrote:
> This is the normal procedure we handle checks (if they are important)
> - work hours -> sms + email
> - off work hours -> email
>
> But for this check the customer doesn't want to read emails first in the morning to know if there were issues - he wants a sms if there was a notification over night and if so he will read his emails.
>
> That's unfortunately the requirement ...


Some people are just so difficult to please!

I don't think there's anything in Nagios itself which will do that for you.

I would set up a different notification command which writes all out
of hours notifications overnight to a file, then have an ordinary cron
job which runs first thing each morning and sends the SMS message (or
sends a passive check to Nagios so it can send the message) if there
is anything in that file.

Alternatively, if you run NDO then you could script a plugin which
runs from cron each morning and does a query of the nagios MySQL
database to see if there were any notifications out of hours...

cheers,

Jim

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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