Zabbix integration with the Incinga-Plugin

Hello,

I try to use the Incinga Integration to work with my Zabbix Notifications. I found this Topic: [Solution] PRTG integration like Nagios or Incinga
and it is very helpful.

But I’m not sure witch Keyword’s are to use for State (in the Body)…
is it “open” for a new issue and “recovery” to close?

Or do I have to use a explicite format in the “Subject”?
Best regards
Martin

Open=new Ticket
Recovery = closed ticket

Hello,

many thank’s for the answer. So I’ve to set this in the Body.
Greetings
Martin

Bad luck. It didn’t worked. I’ve two tickets in my Zammad:

The OPEN Ticket:

Subject: Open: TEST-Server + Zabbix agent on TEST-Server is unreachable for 5 minutes
Body:
State: Open
Host: TEST-Server
Service: Zabbix agent ping
Address:test.mydomain.com / 10.1.0.159
Date/Time: 2019.06.28 / 12:36:56
Message: Zabbix agent on TEST-Server is unreachable for 5 minutes is Up (1)
Severity: Average…
Problem: agent.ping has Up (1)
Description: The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.
Original problem ID: 27221

And this is the recovery Mail:

Subject: Recovery: TEST-Server + Zabbix agent on TEST-Server is unreachable for 5 minutes
Body:
State: Recovery
Host: TEST-Server
Service: Zabbix agent ping
Address:test.mydomain.com / 10.1.0.159
Date/Time: 2019.06.28 / 12:36:56
Message: Zabbix agent on TEST-Server is unreachable for 5 minutes is Up (1)
Severity: Average…
Problem: agent.ping has Up (1)
Description: The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.
Original problem ID: 27221

Any clue why that doesn’t work?
Greetings
Martin

Did you ever get this working?

Yes, it works, but the email structure has to be the same as in my screenshot so that everything is recognized. This is the standard Nagios mail.

You could also use Zabbix templates - this works starting with Zabbix 5.
See: https://www.zabbix.com/integrations/zammad

This topic was automatically closed after 416 days. New replies are no longer allowed.