auto-acknowledge alert if notification is successful
We use the checkmk native Opsgenie plugin. This plugin is only one-way into Opsgenie. There isn't a way for Opsgenie to ACK the alert.
It would be nice if I could set a flag on the plugin such that when the notification to Opsgenie succeeds, the plugin would auto-acknowledge the alert.
This could be extrapolated so that ANY alert plugin could auto-acknowledge an alert if the user wanted it to do so.
Comments: 3
-
17 Dec, '22
Lars SörensenConceptually, an acknowledged problem means that the problem is known and someone is taking care of it, and further notifications and escalations will be disabled until the service is restored. Automatically acknowledging all service issues makes no sens, and you risk that problems get forgotten because no one has really started to fix them.
Therefor I think it would be the better approach if checkmk could sync the acknowledgment from Opsgenie back to checkmk like other vendors do.
If you are only concerned about not receiving further notifications, you can simply limit the number of notifications in the notification rule to 1 and/or disable regular notification of service/host issues. -
09 Jan, '23
Jesse JohnsonI'm very interested in how opsgenie could sync back to checkmk. Is there more infomation on this?
-
15 Sep, '23
Andre EcksteinFrom my point of view this makes sense when the notification target is a ticket system with an API that responds with at least something like "the ticket was successfully created " to the notification plugin. After that, the problem is, in my definition, not in the unhandled state in checkmk any more, but in the responsibilty of the ticket owner.
1
In this scenario it would be a nice addition if you would have a checkbox like "Acknowlegde Host/Service if notification plugin execution was successfull" in the notification rules, the acknowledgement could have the ticket id as an acknowledgement text, if that its available in the response.