• Sprint 79 (Aug 2021), Sprint 80 (Sep 2021)
    • 1

      Reproduction procedure
      1) Item creation
      key: icmpping [, 10,1000 ,, 1000]
      Update interval: 15s

      2) Restart zabbix_server service
      Check "Latest data", predict the time when icmpping will be executed, and restart the service.
      *: I tried about 60 times and confirmed the occurrence.

      Below, Zabbix server version check and debug log of icmppinger process

      root@zabbix-appliance:~# zabbix_server -V
      zabbix_server (Zabbix) 5.0.14
      Revision 892ce506db 16 July 2021, compilation time: Jul 26 2021 01:01:29
      
      Copyright (C) 2021 Zabbix SIA
      License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
      This is free software: you are free to change and redistribute it according to
      the license. There is NO WARRANTY, to the extent permitted by law.
      
      This product includes software developed by the OpenSSL Project
      for use in the OpenSSL Toolkit (http://www.openssl.org/).
      
      Compiled with OpenSSL 1.1.1f  31 Mar 2020
      Running with OpenSSL 1.1.1f  31 Mar 2020
      root@zabbix-appliance:~# grep 69188: /var/log/zabbix/zabbix_server.log 
       69188:20210816:163438.021 server #48 started [icmp pinger #1]
       69188:20210816:163438.021 zbx_setproctitle() title:'icmp pinger #1 [getting values]'
       69188:20210816:163438.021 In get_pinger_hosts()
       69188:20210816:163438.021 In DCconfig_get_poller_items() poller_type:3
       69188:20210816:163438.021 End of DCconfig_get_poller_items():2
       69188:20210816:163438.021 In substitute_key_macros_impl() data:'icmpping[,10,1000,,1000]'
       69188:20210816:163438.021 End of substitute_key_macros_impl():SUCCEED data:'icmpping[,10,1000,,1000]'
       69188:20210816:163438.021 In add_icmpping_item() addr:'127.0.0.1' count:10 interval:1000 size:0 timeout:1000
       69188:20210816:163438.021 End of add_icmpping_item()
       69188:20210816:163438.021 In substitute_key_macros_impl() data:'icmppingsec[,10,1000,,1000]'
       69188:20210816:163438.021 End of substitute_key_macros_impl():SUCCEED data:'icmppingsec[,10,1000,,1000]'
       69188:20210816:163438.021 In add_icmpping_item() addr:'127.0.0.1' count:10 interval:1000 size:0 timeout:1000
       69188:20210816:163438.021 End of add_icmpping_item()
       69188:20210816:163438.021 End of get_pinger_hosts():2
       69188:20210816:163438.021 In process_pinger_hosts()
       69188:20210816:163438.021 In add_pinger_host() addr:'127.0.0.1'
       69188:20210816:163438.021 End of add_pinger_host()
       69188:20210816:163438.021 In add_pinger_host() addr:'127.0.0.1'
       69188:20210816:163438.021 zbx_setproctitle() title:'icmp pinger #1 [pinging hosts]'
       69188:20210816:163438.021 In zbx_ping() hosts_count:1
       69188:20210816:163438.021 testing fping interval 0 ms
       69188:20210816:163438.021 In zbx_popen() command:'/usr/bin/fping -c1 -t50 -i0 127.0.0.1'
       69188:20210816:163438.022 End of zbx_popen():6
       69188:20210816:163438.028 In zbx_waitpid()
       69188:20210816:163438.028 zbx_waitpid() exited, status:0
       69188:20210816:163438.028 End of zbx_waitpid():69192
       69188:20210816:163438.028 detected minimum supported fping interval (-i): 0
       69188:20210816:163438.028 testing fping interval 0 ms
       69188:20210816:163438.028 In zbx_popen() command:'/usr/bin/fping6 -c1 -t50 -i0 127.0.0.1'
       69188:20210816:163438.028 End of zbx_popen():6
       69188:20210816:163438.032 In zbx_waitpid()
       69188:20210816:163438.032 zbx_waitpid() exited, status:2
       69188:20210816:163438.032 End of zbx_waitpid():69193
       69188:20210816:163438.032 detected minimum supported fping6 interval (-i): 0
       69188:20210816:163438.032 In zbx_popen() command:'/usr/bin/fping -6 -c1 -t50 127.0.0.1'
       69188:20210816:163438.032 End of zbx_popen():6
       69188:20210816:163438.034 In zbx_waitpid()
       69188:20210816:163438.034 zbx_waitpid() exited, status:2
       69188:20210816:163438.034 End of zbx_waitpid():69194
       69188:20210816:163438.034 detected fping IPv6 support: "yes"
       69188:20210816:163438.034 /tmp/zabbix_server_69188.pinger
       69188:20210816:163438.034     127.0.0.1
       69188:20210816:163438.034 /usr/bin/fping -C10 -p1000 -t1000 -i0 2>&1 </tmp/zabbix_server_69188.pinger;
       69188:20210816:163438.037 read line [127.0.0.1 : [0], 84 bytes, 0.02 ms (0.02 avg, 0% loss)]
       69188:20210816:163439.038 read line [127.0.0.1 : [1], 84 bytes, 0.05 ms (0.03 avg, 0% loss)]
       69188:20210816:163440.039 read line [127.0.0.1 : [2], 84 bytes, 0.05 ms (0.04 avg, 0% loss)]
       69188:20210816:163441.039 read line [127.0.0.1 : [3], 84 bytes, 0.04 ms (0.04 avg, 0% loss)]
       69188:20210816:163442.041 read line [127.0.0.1 : [4], 84 bytes, 0.04 ms (0.04 avg, 0% loss)]
       69188:20210816:163443.042 read line [127.0.0.1 : [5], 84 bytes, 0.05 ms (0.04 avg, 0% loss)]
       69188:20210816:163444.043 read line [127.0.0.1 : [6], 84 bytes, 0.04 ms (0.04 avg, 0% loss)]
       69188:20210816:163445.044 read line [127.0.0.1 : [7], 84 bytes, 0.04 ms (0.04 avg, 0% loss)]
       69188:20210816:163446.030 fping failed: 127.0.0.1 : [7], 84 bytes, 0.04 ms (0.04 avg, 0% loss)
       69188:20210816:163446.030 End of zbx_ping():NOTSUPPORTED
       69188:20210816:163446.030 In process_values()
       69188:20210816:163446.030 host [127.0.0.1] fping failed: 127.0.0.1 : [7], 84 bytes, 0.04 ms (0.04 avg, 0% loss)
       69188:20210816:163446.030 In process_value()
       69188:20210816:163446.030 In zbx_preprocess_item_value()
       69188:20210816:163446.030 End of zbx_preprocess_item_value()
       69188:20210816:163446.030 End of process_value()
       69188:20210816:163446.030 In process_value()
       69188:20210816:163446.030 In zbx_preprocess_item_value()
       69188:20210816:163446.030 End of zbx_preprocess_item_value()
       69188:20210816:163446.030 End of process_value()
       69188:20210816:163446.030 In zbx_ipc_socket_open()
       69188:20210816:163446.030 End of zbx_ipc_socket_open():SUCCEED
       69188:20210816:163446.030 In zbx_ipc_socket_write()
       69188:20210816:163446.030 End of zbx_ipc_socket_write():SUCCEED
       69188:20210816:163446.030 End of process_values()
       69188:20210816:163446.030 End of process_pinger_hosts()
       69188:20210816:163446.030 In DCconfig_get_poller_nextcheck() poller_type:3
       69188:20210816:163446.030 End of DCconfig_get_poller_nextcheck():1629099279
       69188:20210816:163446.030 zbx_setproctitle() title:'icmp pinger #1 [got 2 values in 8.009114 sec, idle 0 sec]'
       69188:20210816:163446.030 zbx_setproctitle() title:'icmp pinger #1 [terminated]'
       

            dgoloscapov Dmitrijs Goloscapovs
            kazuo.ito Kazuo Ito
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: