I am using Zabbix 5.0 and is confused by the timeout of Webhook mediatype.
I am using a Webhook mediatype with default timeout (30 seconds). The Zabbix server goes to internet via a proxy (squid).
Sometimes the mediatype failed with error messages:
Error: cannot get URL: Timeout was reached.
Error: script execution timeout occurred​
The corresponding log of squid is:
2023/09/23 13:01:09 1695441669.551 29999 *** TCP_TUNNEL/200 4020 CONNECT ***:443 - HIER_DIRECT/*** -
Since the duration time in squid log is 29999ms, it looks like that timeout could have happened. Although a duration so close to 30s sounds like miracle.
However, many times the duration time is far beyond 30s such as
2023/09/23 12:56:47 1695441407.715 65063 *** TCP_TUNNEL/200 4294 CONNECT ***:443 - HIER_DIRECT/*** -
But the mediatype does not timeout. Why?​
I am using a Webhook mediatype with default timeout (30 seconds). The Zabbix server goes to internet via a proxy (squid).
Sometimes the mediatype failed with error messages:
Error: cannot get URL: Timeout was reached.
Error: script execution timeout occurred​
The corresponding log of squid is:
2023/09/23 13:01:09 1695441669.551 29999 *** TCP_TUNNEL/200 4020 CONNECT ***:443 - HIER_DIRECT/*** -
Since the duration time in squid log is 29999ms, it looks like that timeout could have happened. Although a duration so close to 30s sounds like miracle.
However, many times the duration time is far beyond 30s such as
2023/09/23 12:56:47 1695441407.715 65063 *** TCP_TUNNEL/200 4294 CONNECT ***:443 - HIER_DIRECT/*** -
But the mediatype does not timeout. Why?​