-
Documentation task
-
Resolution: Unresolved
-
Trivial
-
6.0.39rc1, 7.0.10rc1, 7.2.4rc1, 7.4.0alpha1
-
Sprint candidates
-
1
Steps to reproduce:
- Create an item with a simple icmpping check
- Put an unpingable IP address and either many retries, or a long time between retries, for example: icmpping[192.168.8.244,100,,,1000] (100 retries, 1000 milliseconds each)
- Let Zabbix server perform the simple check
Result:
The check never times out and is performed, potentially, for a long time. The timeout parameter in zabbix_server.conf is ignored.
In the icmp pinger log you can see how it keeps on trying to ping the address 100 times:
128174:20250207:083821.907 executing /usr/bin/fping -C100 -t1000 -i0 2>&1 </tmp/zabbix_server_128174.pinger 128174:20250207:083822.921 read line [192.168.8.244 : [0], timed out (NaN avg, 100% loss)] 128174:20250207:083823.925 read line [192.168.8.244 : [1], timed out (NaN avg, 100% loss)] 128174:20250207:083824.906 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083824.908 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083824.908 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083824.922 read line [192.168.8.244 : [2], timed out (NaN avg, 100% loss)] 128174:20250207:083825.922 read line [192.168.8.244 : [3], timed out (NaN avg, 100% loss)] 128174:20250207:083826.923 read line [192.168.8.244 : [4], timed out (NaN avg, 100% loss)] 128174:20250207:083827.924 read line [192.168.8.244 : [5], timed out (NaN avg, 100% loss)] 128174:20250207:083827.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083827.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083827.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083827.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083828.921 read line [192.168.8.244 : [6], timed out (NaN avg, 100% loss)] 128174:20250207:083829.925 read line [192.168.8.244 : [7], timed out (NaN avg, 100% loss)] 128174:20250207:083830.920 read line [192.168.8.244 : [8], timed out (NaN avg, 100% loss)] 128174:20250207:083831.920 read line [192.168.8.244 : [9], timed out (NaN avg, 100% loss)] 128174:20250207:083831.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083831.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083831.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083831.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083832.926 read line [192.168.8.244 : [10], timed out (NaN avg, 100% loss)] 128174:20250207:083833.928 read line [192.168.8.244 : [11], timed out (NaN avg, 100% loss)] 128174:20250207:083834.926 read line [192.168.8.244 : [12], timed out (NaN avg, 100% loss)] 128174:20250207:083835.920 read line [192.168.8.244 : [13], timed out (NaN avg, 100% loss)] 128174:20250207:083835.976 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083835.976 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083835.976 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083835.976 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083836.922 read line [192.168.8.244 : [14], timed out (NaN avg, 100% loss)] 128174:20250207:083837.923 read line [192.168.8.244 : [15], timed out (NaN avg, 100% loss)] 128174:20250207:083838.930 read line [192.168.8.244 : [16], timed out (NaN avg, 100% loss)] 128174:20250207:083839.921 read line [192.168.8.244 : [17], timed out (NaN avg, 100% loss)] 128174:20250207:083839.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083839.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083839.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083839.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083840.922 read line [192.168.8.244 : [18], timed out (NaN avg, 100% loss)] 128174:20250207:083841.927 read line [192.168.8.244 : [19], timed out (NaN avg, 100% loss)] 128174:20250207:083842.929 read line [192.168.8.244 : [20], timed out (NaN avg, 100% loss)] 128174:20250207:083843.923 read line [192.168.8.244 : [21], timed out (NaN avg, 100% loss)] 128174:20250207:083843.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083843.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083843.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] 128174:20250207:083843.975 read line [ICMP Host Unreachable from 192.168.8.113 for ICMP Echo sent to 192.168.8.244] ...
Expected:
Either make the pinger time out or change the documentation. In documentation it says that it should time out (https://www.zabbix.com/documentation/devel/en/manual/config/items/itemtypes/simple_checks, look for subtitle Timeout processing):
For VMware items and icmpping* items, Zabbix will not process a simple check longer than the Timeout seconds defined in the Zabbix server or proxy configuration file.
- mentioned in
-
Page Loading...