opsgenie-integration
opsgenie-integration copied to clipboard
Set OpsGenie alert priority from Zabbix plugin
The "piority" field is not supported: https://docs.opsgenie.com/docs/priority-field
/etc/opsgenie/zabbix2opsgenie -priority='P1'
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.
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.
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.