opsgenie / oec-scripts

Opsgenie Edge Connector Custom Scripts
Apache License 2.0
23 stars 38 forks source link

Acknowledge action for HOST issue does not work #42

Closed ysibirski closed 2 years ago

ysibirski commented 4 years ago

When attempting to acknowledge a ‘host’ alert, actionExecutor.py is not successfully acknowledging the issue on icigna2. We have identified this as an issue on line 82, where content_map [“type”] is being forced to “Service” although it is being successfully set (to either “Service” or “Host”) in “main()“. Removing line 82 content_map[“type”] = “Service” allows the acknowledging to work for both host and service. That issue was successfully debugged with @lumi-pwhitney.

Thank you in advance.

peppermor commented 3 years ago

I am also facing this issue. one more thing is that when un'ack in opsgenie nothing happens on Icinga side because host was never acked only services

ysibirski commented 3 years ago

@peppermor take a look at this PR. Perhaps, if you can change the script manually it will work for you as expected. This fix did the trick for us: https://github.com/opsgenie/oec-scripts/pull/43

lumi-pwhitney commented 3 years ago

This appears to have been resolved in https://github.com/opsgenie/oec-scripts/pull/52

ahalac-atlassian commented 2 years ago

Hi @ysibirski, can you check whether issue is still reproducible? If not, we can close this issue

ysibirski commented 2 years ago

It looks good now @ahalac-atlassian. Closing this issue.