Sending Notification after the 3rd Service Failure Check


It would be great to create a notification on a service that will send an email after the 3rd failed check. So instead of sending an email every time it checks and the service is down, it should send an email once there have been 3 failed attempts in a row. We are using Nagios 1.3 here at work. If anyone knows how to do this I would be greatly appreciate if you would share.


Yeah.It would be ok if you modify the services.cfg.

Append or modify “max_check_attempts (seconds)” option.
If the second is 3 that you want, nagios send notification after the third failed check.

Is that everything you want?