-
Notifications
You must be signed in to change notification settings - Fork 582
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 #10225] Host notification type is PROBLEM but should be RECOVERY #3439
Comments
Updated by nichols356 on 2015-11-02 14:20:17 +00:00 The PROBLEM is that you have PING WARNING - DUPLICATES FOUND. This is typically due to a load-balanced NIC bond. |
Updated by mfriedrich on 2016-02-24 23:02:25 +00:00
Service exit states 0 and 1 (OK and Warning) are treated as Up, while 2 (Critical) is equivalent to Down. I believe that somewhere when triggering notifications, it is not taken into account that the notification type is NotificationProblem but not NotificationRecovery.
recovery needs to be adjusted for host checks.
|
Updated by mfriedrich on 2016-02-24 23:09:57 +00:00
|
Updated by mfriedrich on 2016-02-25 01:01:26 +00:00
|
Updated by mfriedrich on 2016-03-04 15:35:51 +00:00
|
Updated by mfriedrich on 2016-03-09 11:41:33 +00:00
|
Updated by mfriedrich on 2016-03-09 15:33:01 +00:00
|
Updated by mfriedrich on 2016-03-10 13:33:25 +00:00 The problem is that you cannot simply pass the state WARNING to a host check result. Using a dummy check which is executed on-demand solves the simulation issue. Steps to reproduce:
Requires more tests. |
Updated by mfriedrich on 2016-03-11 08:31:08 +00:00
This bug only triggers if there is RECOVERY condition from DOWN -> UP whereas the check result was WARNING. |
Updated by mfriedrich on 2016-03-11 08:35:06 +00:00
Applied in changeset 5b6a6f8. |
Updated by mfriedrich on 2016-03-11 13:27:19 +00:00
|
Updated by mfriedrich on 2016-03-11 14:58:21 +00:00
|
Updated by mfriedrich on 2016-05-03 13:17:57 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10225
Created by mwaldmueller on 2015-09-28 07:46:44 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2016-03-11 08:35:05 +00:00)
Target Version: 2.4.4
Last Update: 2016-05-03 13:17:56 +00:00 (in Redmine)
When a host or service recovers from a warning/critical state the notification.type should be RECOVERY. Instead of the notification type has the value PROBLEM.
Here's an output of a default email notification with the subject: "PROBLEM - testhost is UP"
Changesets
2016-03-10 13:32:57 +00:00 by mfriedrich c0e175d
2016-03-11 08:29:07 +00:00 by mfriedrich 5b6a6f8
2016-03-11 14:58:13 +00:00 by mfriedrich ee7af88
2016-03-15 08:47:59 +00:00 by mfriedrich 3bd6848
2016-03-15 12:11:01 +00:00 by mfriedrich f386920
Relations:
The text was updated successfully, but these errors were encountered: