Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I want to receive an message on my support-phone when the service goes into critical and when it goes out of critical. My problem is with the notification counters. Sometimes it works and sometimes not. It looks to me if a service goes into warning and stays there for a few notifications and then move to critical, then I do not get messages.
This is the expected behavior for the options you set. You'll only receive your messages if the service enters a critical state before 3 notifications have gone out. To get the behavior you want, rather than defining an escalation, you could just define a contact that only receives critical and recovery alerts.
Thank you, but how do I stop it from sending me more that 3 critical messages? If not with first_notification and last_notification?
I think that I did not explain good enough the behavour I'm looking for.
I want to receive 3 messages when a service goes into critical and 1 messages when it goes out of critical (this can be to warning or recovery). Is this possible? How do I cofigure this, with what paramaters and how many escalations?
I don't think there is a way to do that using a vanilla nagios core. You will likely need to modify the source to avoid the unwanted behavior from your first post, sorry.