-
Notifications
You must be signed in to change notification settings - Fork 17
Flapping, notifications consistency #159
Comments
Hi @cpbn , If you take a look at the branch refacto-engine, you will notice many changes in centreon-engine. One of the goals is to improve notifications. So I hope this issue will be solve soon. |
Hi @bouda1, |
Hi @cpbn , Did you retry your tests with the latest version? |
Issue still present in 21.04.4 (engine 21.04.3, broker 21.04.2). We can safely ignore / forget cases 2 and 4 which will now be impossible thanks to #523. |
Hi,
Seems like notifications sent after a service (or a host) stopped flapping are not really consistent, depending on the service status while it flaps.
Following are 4 tested (reproducible) cases.
Case 1, service starts flapping as critical, and remains critical :
Case 2, service starts flapping as OK, and switches to critical :
Case 3, service starts flapping as critical and switches to OK :
Case 4, service starts flapping as OK, and remains OK :
I would have expected to receive a second notification (OK) in case 3 and 4.
To be consistent with case 1 and 2, where 2 notifications are sent when service stops flapping.
Or I would have expected the second notification in case 1 and 2 not to be sent.
To be consistent with case 3 and 4.
Note that I clearly prefer the second solution.$SERVICESTATE$ , and can be processed accordingly, thus avoiding notification "spamming" (which in addition is the flapping detection goal).
According to me, there's no need to send a second notification, as the FLAPPINGSTOP notification already contains the
I first tried to workaround the dual notification behavior by simply ignoring the FLAPPINGSTOP notification, but then faced cases 3 and 4 where no second notification is sent.
So, as no notification is sent after FLAPPINGSTART, could we then think about disabling the second notification which could be sent right after FLAPPINGSTOP, to be consistent ?
Thank you 👍
The text was updated successfully, but these errors were encountered: