-
Documentation task
-
Resolution: Declined
-
Trivial
-
None
-
None
-
None
The available documentation for the simple check net.tcp.service[] doesn't clearly tell what the timeout is.
https://www.zabbix.com/documentation/3.0/manual/config/items/itemtypes/simple_checks
https://www.zabbix.com/documentation/3.4/manual/appendix/items/service_check_details
Background:
I recently got an alarm about a HTTPS service being down, even though nginx was still listening on port 443, access log getting hits from Zabbix and curling fine. The default host on nginx was hitting a dead proxy, causing a ~9 second delay and a 502 gateway. I originally thought it was the HTTP status code since just returning HTTP 200 fixed the alarm but figured out that it was actually the delay.
So
The check documentation just says it checks if the service is up and accepts TCP connections. Since there is a shorter than normal (since e.g. curl works fine) timeout it should be mentioned somewhere.