New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #9969] Problem notifications while Flapping is active #3303
Comments
Updated by mfriedrich on 2015-08-21 18:56:32 +00:00
|
Updated by mfriedrich on 2015-08-21 18:57:29 +00:00
Please attach a test config for easily reproduce the issue, as well as debug log output regarding flapping and notifications. |
Updated by chrostek on 2015-08-22 18:00:03 +00:00
Attached a very simple config with only one host and one service to reproduce it. debug.log is also attached. Maybe i already found the problem: in /ib/icinga/checkable-check.cpp if (!was_flapping && is_flapping) { This code only checks, if a flapping begins or ends ... i think if flapping is active "was_flapping" and "is_flapping" are true ... } else if (send_notification && !is_flapping && !was_flapping) |
Updated by mfriedrich on 2015-09-10 07:18:57 +00:00
Thanks for the patch, much appreciated. I'll look into it :) Kind regards, |
Updated by jamacias on 2015-12-07 04:25:06 +00:00 Hi, Best regards, |
Updated by chrostek on 2015-12-07 04:53:30 +00:00 Hi, https://github.com/Icinga/icinga2/blob/master/lib/icinga/checkable-check.cpp lib/icinga/checkable-check.cpp |
Updated by jamacias on 2015-12-07 06:58:28 +00:00 I see. I will not be able to test it in my current environment because I installed using Icinga's repository, not from source code. name=ICINGA (stable release for epel) Antonio |
Updated by chrostek on 2016-02-16 13:39:48 +00:00 I have tested the patch. It fixes this issue and #9642 |
Updated by mfriedrich on 2016-02-22 18:49:33 +00:00
|
Updated by mfriedrich on 2016-02-23 15:26:38 +00:00
Thanks, merged :) |
Updated by chrostek on 2016-02-23 15:30:03 +00:00
Applied in changeset 83845e6. |
Updated by mfriedrich on 2016-02-24 09:53:29 +00:00
|
Updated by mfriedrich on 2016-03-11 14:24:37 +00:00
|
Updated by gbeutner on 2016-03-15 13:34:09 +00:00
|
Updated by jamacias on 2016-03-17 23:28:30 +00:00 I'm still seeing the same problem. I updated icinga2 to the latest version 2.4.4 and learned that the problem indicated by Bug #9969 is still there. I updated using the rpm repository. I get PROBLEM emails after the flapping has been turned on. I'm using the GUI icingaweb2. I enabled flap detection for a service. I did stop receiving RECOVERY emails however. |
Updated by mfriedrich on 2016-04-01 11:04:14 +00:00 Open a new issue then please. |
Updated by mfriedrich on 2016-06-07 20:14:14 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9969
Created by chrostek on 2015-08-20 15:49:51 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2016-02-23 15:30:03 +00:00)
Target Version: 2.4.4
Last Update: 2016-04-01 11:04:14 +00:00 (in Redmine)
There is a problem with notifications while a flapping is detected.
In Icinga 1 all problem notifications where disabled while a flapping was active.
Unfortunately in Icinga 2 the problem notifications are enabled while a flapping is active:
PROBLEM / WARNING - 2015-08-09 14:49:30
FLAPPINGSTART / CRITICAL - 2015-08-09 14:53:30
PROBLEM / CRITICAL - 2015-08-09 14:53:34
PROBLEM / WARNING - 2015-08-09 14:55:30
RECOVERY / OK - 2015-08-09 14:56:30
PROBLEM / WARNING - 2015-08-09 14:58:30
PROBLEM / CRITICAL - 2015-08-09 15:00:30
PROBLEM / WARNING - 2015-08-09 15:01:30
PROBLEM / CRITICAL - 2015-08-09 15:02:30
PROBLEM / WARNING - 2015-08-09 15:03:30
PROBLEM / CRITICAL - 2015-08-09 15:04:30
PROBLEM / WARNING - 2015-08-09 15:06:30
PROBLEM / CRITICAL - 2015-08-09 15:07:30
RECOVERY / OK - 2015-08-09 15:11:29
FLAPPINGEND / OK - 2015-08-09 15:24:30
Attachments
Changesets
2016-02-22 18:48:22 +00:00 by chrostek b223431
2016-02-23 15:27:22 +00:00 by chrostek 83845e6
2016-03-11 14:24:02 +00:00 by chrostek f5f0f7b
Relations:
The text was updated successfully, but these errors were encountered: