After some testing, it looks like it will only re-notify after receiving another passive check result. It won't simply re-notify because it's still in a non-ok state after the notification_interval has expired. So to combat this I just used the check freshness attribute to re-execute my external script and feed the passive check result into nagios and thus re-sending a non-ok notification at what would have been the interval for notifications.
So technically my external scripts are running at every interval to check the freshnes, not only when it's called for by my event_handler from another active service check... which I'm ok with. -----Original Message----- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Friday, November 12, 2010 5:00 AM To: Nagios Users List Cc: Hall, JC Subject: Re: [Nagios-users] Notifications on passive service checks On 11/11/2010 11:27 PM, Hall, JC wrote: > Is it accurate that Nagios will only send 1 notification for a > passive service check? > > IE, the notification_interval definition for a passively checked > service won't instruct Nagios to re-send a notification such as with > actively checked services? > To be honest, I haven't got the faintest idea. An educated guess is that it will re-send the notification if it receives another passive check-result and enough time has passed though, or that it simply re-sends the notification when enough time has passed. If you try and find out, let me know either way and I'll amend the docs. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ 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/msIE9-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users@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