CheckMK integration

Infos:

  • Used Zammad version: 5.1.1
  • Used Zammad installation type: package
  • Operating system: Debian 11
  • Browser + version: Firefox

Expected behavior:

  • open ticket when an incident comes on my ChecMK’s server

Actual behavior:

  • no ticket open

Steps to reproduce the behavior:

Hi There,

I’m trying to plug Check MK into Zammad.
I followed the official documentation to do this.

But, and that’s the problem, once everything done, no tickets are opened on Zammad.
I seems that there is traffic between both servers

15:46:40.610523 IP srvnagios.shima.lan.39748 > zammad.shima.lan.http: Flags [P.], seq 1:239, ack 1, win 502, options [nop,nop,TS val 710766122 ecr 705515024], length 238: HTTP: POST /api/v1/integration/check_mk/acf8f35bfeb9f58b65cea98519f6c12e HTTP/1.1
15:46:40.610606 IP srvnagios.shima.lan.39748 > zammad.shima.lan.http: Flags [P.], seq 239:727, ack 1, win 502, options [nop,nop,TS val 710766122 ecr 705515024], length 488: HTTP
15:46:40.610712 IP zammad.shima.lan.http > srvnagios.shima.lan.39748: Flags [.], ack 239, win 508, options [nop,nop,TS val 705515024 ecr 710766122], length 0
15:46:40.610922 IP zammad.shima.lan.http > srvnagios.shima.lan.39748: Flags [.], ack 727, win 505, options [nop,nop,TS val 705515024 ecr 710766122], length 0
15:46:40.821579 IP zammad.shima.lan.http > srvnagios.shima.lan.39748: Flags [P.], seq 1:1153, ack 727, win 505, options [nop,nop,TS val 705515235 ecr 710766122], length 1152: HTTP: HTTP/1.1 200 OK
15:46:40.821617 IP srvnagios.shima.lan.39748 > zammad.shima.lan.http: Flags [.], ack 1153, win 501, options [nop,nop,TS val 710766333 ecr 705515235], length 0
15:46:40.822790 IP srvnagios.shima.lan.39748 > zammad.shima.lan.http: Flags [F.], seq 727, ack 1153, win 501, options [nop,nop,TS val 710766335 ecr 705515235], length 0
15:46:40.823232 IP zammad.shima.lan.http > srvnagios.shima.lan.39748: Flags [F.], seq 1153, ack 728, win 505, options [nop,nop,TS val 705515236 ecr 710766335], length 0
15:46:40.823255 IP srvnagios.shima.lan.39748 > zammad.shima.lan.http: Flags [.], ack 1154, win 501, options [nop,nop,TS val 710766335 ecr 705515236], length 0
15:46:40.836615 IP srvnagios.shima.lan.39750 > zammad.shima.lan.http: Flags [S], seq 1725382488, win 64240, options [mss 1460,sackOK,TS val 710766348 ecr 0,nop,wscale 7], length 0
15:46:40.836940 IP zammad.shima.lan.http > srvnagios.shima.lan.39750: Flags [S.], seq 3575659871, ack 1725382489, win 65160, options [mss 1460,sackOK,TS val 705515250 ecr 710766348,nop,wscale 7], length 0
15:46:40.836955 IP srvnagios.shima.lan.39750 > zammad.shima.lan.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 710766349 ecr 705515250], length 0
15:46:40.837055 IP srvnagios.shima.lan.39750 > zammad.shima.lan.http: Flags [P.], seq 1:239, ack 1, win 502, options [nop,nop,TS val 710766349 ecr 705515250], length 238: HTTP: POST /api/v1/integration/check_mk/acf8f35bfeb9f58b65cea98519f6c12e HTTP/1.1

I’ve never been comfortable with the notifications mechanism and even less with the APIs.
So I guess I made something wrong in my notification setup.
But I don’t see where.

Someone can help me to solve my problem ?

Thanks

Vincent

Hi There,

I reply to my own post… there is no problem :rofl:
tickets are opened… and close… but only when hosts are down then up…
I think i need other API to create tickets for other problems (eg : RAM or disk usage)

I will search for it later

Vincent