You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi All,
I have some Zabbix Actions created that run the send2opsgenie program for alerting opsgenie. The instructions for the Zabbix plugin (I'm running Zabbix 4.0) say to copy the following block into the "Commands" window of the Zabbix Action:
This does create an alert with the necessary info in Opsgenie, but it creates it at Priority 3. I'd like to have some alerts at other priorities... is there a way to do that inside Zabbix?
Thanks!
-Jeff
Hi @Jeff Avila !
The best thing to do would be to edit the zabbix integration within Opsgenie to set the priority. So by default, when an alert is created via a Zabbix integration, it gets created as a P3 like you mentioned...
However, you can set the priority that zabbix alerts will be created as within the integration... (Note - this requires access to "Advanced integrations" in Opsgenie, which is available on the Standard and Enterprise plans)
e.g.
If you want the priority to change depending on the context of the alert, you could setup multiple "Create Alert" actions there with filters, to set the priority accordingly.
For example...
If alert received from zabbix with trigger severity = CRITICAL, create an alert with priority = P1
Else, if alert received from zabbix with trigger severity = HIGH, create an alert with priority = P2
So that's how you can set the priority of alerts created in Opsgenie from zabbix, based on the values of the fields Zabbix is sending over.
Hope that helps!
Thanks,
Samir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.