Discussion:
[Check_mk (deutsch)] [Check_mk (english)] Can you set it so email notifications after an issue has been up for 5 minutes
Ralf Prengel
2018-11-10 06:36:34 UTC
Permalink
https://mathias-kettner.com/cms_notifications.html

Perhaps a problem in the order of your rules?

Von meinem iPad gesendet
I have been trying to tune our email notifications and can't get it to wait to notify me of an issue until the issue has been present for a set amount of time. I have a rule set in the "Delay host notifications" and another in the "Delay service notifications" rule set. I however am seeing email notifications for an issue that go from OK to Crit back to OK 2 minutes apart even with a delay of 5 minutes. How do I get Check_MK to only send out email notifications if a service or host is having issues for a few minutes?
--
Daniel Cox
Active Directory System Administrator
o: 303-542-5548 c: 720-580-3269
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Baer, Aleksej
2018-11-12 14:42:05 UTC
Permalink
Hallo Daniel,
How do I get Check_MK to only send out email notifications if a service or host is having issues for a few minutes?
I would use "Maximum number of check attempts for host" and " Maximum number of check attempts for service" Rules for that purpose.
It defines after how many check-attempts it takes for a state to change from Soft to Hard state (only the hard state triggers notifications).

So if a problem resolves itself on let's say 2nd check-attempt (assuming "Maximum number of check attempts for host/service" is set to 3 or higher), then you won't get any notifications at all.
Particularly useful if you want your "Host-Down/UP"-notifications only after a host has been down/up for at least 1 minute, instead of notifying you at the first connection problem.

Regards,
Aleksej Baer

Mit freundlichen GrÌßen
Aleksej Baer
Netzwerkadministrator
Basisbetrieb/Systemmanagement
===================================
SÃŒdwestfalen-IT (Kommunaler Zweckverband)
Sonnenblumenallee 3, 58675 Hemer
Telefon: +49 2372 5520-0
Fax: +49 2372 5520-279

*SIT GmbH
Sitz der Gesellschaft: Hemer
Handelsregister: AG Iserlohn, HRB 26 86
GeschÀftsfÌhrer: Dr. Michael Neubauer, Kerstin Pliquett, Thomas Coenen

Von: checkmk-de [mailto:checkmk-de-***@lists.mathias-kettner.de] Im Auftrag von Ralf Prengel
Gesendet: Samstag, 10. November 2018 07:37
An: checkmk-***@lists.mathias-kettner.de
Cc: checkmk-***@lists.mathias-kettner.de
Betreff: Re: [Check_mk (deutsch)] [Check_mk (english)] Can you set it so email notifications after an issue has been up for 5 minutes

https://mathias-kettner.com/cms_notifications.html

Perhaps a problem in the order of your rules?
Von meinem iPad gesendet

Am 09.11.2018 um 18:39 schrieb Daniel Cox <***@axs.tv<mailto:***@axs.tv>>:

I have been trying to tune our email notifications and can't get it to wait to notify me of an issue until the issue has been present for a set amount of time. I have a rule set in the "Delay host notifications" and another in the "Delay service notifications" rule set. I however am seeing email notifications for an issue that go from OK to Crit back to OK 2 minutes apart even with a delay of 5 minutes. How do I get Check_MK to only send out email notifications if a service or host is having issues for a few minutes?
--
Daniel Cox
Active Directory System Administrator
***@axs.tv<mailto:***@axs.tv>
o: 303-542-5548 c: 720-580-3269
[Loading Image...
_______________________________________________
checkmk-en mailing list
checkmk-***@lists.mathias-kettner.de<mailto:checkmk-***@lists.mathias-kettner.de>
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Loading...