Zabbix 4.2.6 integration

INFO

  • Used Zammad version: 3.1
  • zabbix 4.2.6
  • Operating system: debian 9
  • Browser + version: firefox 70.0.1

I want to integrate by mail zabbix with zammad.
zabbix sends a mail notification that create a ticket in zammad.
when the problem is solved a notification is send by email but zammad actually create a new ticket.
is there a way to make it work ?

Well I guess you did not recycle any integration for this and just throw mails at Zammad? ^^
If so, follow ups don’t work if you don’t provide the ticket number from the last time.

I mean, how else should we recognize the follow up as one? Voodoo won’t help. :wink:

You could use the check_mk integration for this, however, you’ll need to ensure that your Zabbix sends mails exactly like check_mk to trick it.

Otherwise there’s no way to solve it without manual work which is out of scope for me.

Thanks for your reply @MrGeneration,
I finally choose to use the zammad ruby client API for this integration.
I first created a custom field for a ticket to hold the value of the zabbix event.
then I wrote two ruby scripts :
one to create the ticket with the event coming from zabbix
and another to update the corresponding ticket using the custom field I set up previously.
It seems to work well.

1 Like