opsgenie-integration icon indicating copy to clipboard operation
opsgenie-integration copied to clipboard

Set OpsGenie alert priority from Zabbix plugin

Open tnucera opened this issue 6 years ago • 3 comments

The "piority" field is not supported: https://docs.opsgenie.com/docs/priority-field

/etc/opsgenie/zabbix2opsgenie -priority='P1'

tnucera avatar Jun 01 '18 15:06 tnucera

We would also like to pass through the priority to Opsgenie. There is a triggerpriority property but this doesn't seem to map properly in Opsgenie.

coultonluke avatar Oct 14 '19 12:10 coultonluke

I think this should be looked at with a higher priority. As it stands the Zabbix Integration creates all alerts as P3 alerts, which is a bit of a gotcha to say the least.

href avatar Mar 30 '20 07:03 href

I was able to do this in Opsgenie.

Go to Configured Integrations > Zabbix

  • Under Actions > + > Create Alert
  • Set the Filter to Match one or more conditions below
  • Trigger Severity Equals "Zabbix Priority" You can set this to Disaster for P1, High for P2, Average for P3, etc
  • Under Message, Set the Priority so it maps the Zabbix Priority to the Opsgenie priority.
  • Repeat the steps to add other priorities.

ghost avatar Mar 30 '20 14:03 ghost