[Nagiosplug-help] Max count of notification emails

Olivier 'Babar' Raginel nagios at babar.us
Fri May 30 09:34:58 CEST 2008


On Fri, May 30, 2008 at 07:59:37AM +0200, jendan at tiscali.cz wrote:
> Hello, is there any definition which set a number of notification emails?¨
> For example, service is down for long time, and I want receive only 2 emails
> that it is down, not every time which is defined in notification period...

If you want to receive only 1 mail, it's easy. Set the 
notification_interval to 0. But if you want 2, I guess you might achieve 
this using escalation and setting notification_interval to 0.
Defining escalation with first_notification 2, and last_notification 2, 
it should work.

I must admit I haven't tried it though.

Kind regards,

-- 
Babar.




More information about the Help mailing list