I want use opsgenie to ack problems on Zabbix (via Marid). When i ack on opsgenie, on the /var/log/opsgenie/marid/script.log i have message:
ERROR: [Acknowledge]: Could not execute at Zabbix; reason:No permissions to referred object or it does not exist!
I checked via API alert id and it's exist.
Someone have similar problem and know how to fix it?
Java Version "12.0.2" 2019-07-16
Can you try installing Java 8 (either as default or an "alternative" version), restart Marid, then try acknowledging the alert again?
I think Java 12 changed how Java/Groovy ends up interpreting certain data types. So when the script attempts to acknowledge the event it interprets the variable as a list of bytes instead of a string. If switching to Java 8 isn't a realistic option then we can try explicitly setting it as a string in the script, but I'm not sure if that resolves the issue.
We have seen this issue come up in the past and it has been due to permissions for the opsgenie user inside the Zabbix interface. We suggest ensuring the user is a Zabbix admin and the Zabbix admin user type does need to have the ability to execute actions on the host.
We hope this helps!
We launched the first version of the Incident investigation view in April of 2020 for Bitbucket Pipelines. Shortly after that, we added the ability to investigate deployment-related incidents in Opsg...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events