Hello,
I´ve recently setup the Zabbix Opsgenie integration and stumbled about the issue that it makes a difference which API key from Opsgenie you´re using.
In Opsgenie there two ways to integrate Zabbix with. The one Opsgenie describes is to install a small package developed by them and using the "Zabbix Integration" API key.
Zabbix on the other hand also has a built in Media type to send alerts to Opsgenie, which works mostly out of the box.
If you´re using the Zabbix built-in media type to send alerts to Opsgenie you can´t use the the Zabbix Integration in Opsgenie. If you do so alerts will be routed through the "Default API" Integration which is a problem if you have multiple teams.
The solution is to create a new "API Integration" in Opsgenie for each team and use this API key.
Unfortunately, I din´t found this in any documentation, so I´d suggest to add a small hint to the Opsgenie Webhook readme (https://git.zabbix.com/projects/ZBX/...enie/README.md) to the first step in Opsgenie or to "Known issues". Somehting like:
"To use the Zabbix built-in Media type for Opsgenie you have to create an "API" Integration in Opsgenie. Don´t use the "Zabbix Integration" from Opsgenie."
I´m still waiting for an answer from Atlassian Support why their "Zabbix Integration" API Key does not work as expected and will share it here then.
I´ve recently setup the Zabbix Opsgenie integration and stumbled about the issue that it makes a difference which API key from Opsgenie you´re using.
In Opsgenie there two ways to integrate Zabbix with. The one Opsgenie describes is to install a small package developed by them and using the "Zabbix Integration" API key.
Zabbix on the other hand also has a built in Media type to send alerts to Opsgenie, which works mostly out of the box.
If you´re using the Zabbix built-in media type to send alerts to Opsgenie you can´t use the the Zabbix Integration in Opsgenie. If you do so alerts will be routed through the "Default API" Integration which is a problem if you have multiple teams.
The solution is to create a new "API Integration" in Opsgenie for each team and use this API key.
Unfortunately, I din´t found this in any documentation, so I´d suggest to add a small hint to the Opsgenie Webhook readme (https://git.zabbix.com/projects/ZBX/...enie/README.md) to the first step in Opsgenie or to "Known issues". Somehting like:
"To use the Zabbix built-in Media type for Opsgenie you have to create an "API" Integration in Opsgenie. Don´t use the "Zabbix Integration" from Opsgenie."
I´m still waiting for an answer from Atlassian Support why their "Zabbix Integration" API Key does not work as expected and will share it here then.
Comment