Please see the attached screenshot.
Buffer data will be lost while "A connection timeout occurred." error occurs. (during Zabbix-server is shutdown)
- send value error - "A connection timeout occurred."
Debug (Agent):
23728:20170331:114548.773 End of collect_perfstat() 23728:20170331:114549.774 In collect_perfstat() 23728:20170331:114549.778 End of collect_perfstat() 23728:20170331:114550.779 In collect_perfstat() 23728:20170331:114550.783 End of collect_perfstat() 23728:20170331:114551.784 In collect_perfstat() 23728:20170331:114551.787 End of collect_perfstat() 20028:20170331:114551.942 send value error: [connect] cannot connect to [[192.168.10.111]:10051]: A connection timeout occurred. 20028:20170331:114551.942 End of send_buffer():FAIL 20028:20170331:114551.943 buffer: new element 40 20028:20170331:114551.943 End of process_value():SUCCEED 20028:20170331:114551.943 In need_meta_update() key:system.cpu.load[,avg1] 20028:20170331:114551.943 End of need_meta_update():FAIL 20028:20170331:114551.944 In get_perf_counter_value() path:\Processor(0)\% Processor Time interval:60 20028:20170331:114551.944 End of get_perf_counter_value():SUCCEED 20028:20170331:114551.944 for key [system.cpu.util[0,system,avg1]] received value [4.189856] 20028:20170331:114551.945 In process_value() key:'ativ-kim:system.cpu.util[0,system,avg1]' value:'4.189856' 20028:20170331:114551.945 In send_buffer() host:'192.168.10.111' port:10051 entries:41/5000 23728:20170331:114552.789 In collect_perfstat() 23728:20170331:114552.792 End of collect_perfstat() 23728:20170331:114553.793 In collect_perfstat() 23728:20170331:114553.797 End of collect_perfstat() 23728:20170331:114554.798 In collect_perfstat() 23728:20170331:114554.802 End of collect_perfstat() 23728:20170331:114555.804 In collect_perfstat() 23728:20170331:114555.807 End of collect_perfstat() 23728:20170331:114556.807 In collect_perfstat() 23728:20170331:114556.811 End of collect_perfstat() 23728:20170331:114557.812 In collect_perfstat()
No problem while the zabbix-server service is stopped
- send value error - "Connection refused."
Debug (Agent):
20028:20170331:112417.312 In process_value() key:'ativ-kim:perf_counter[\Memory\Pool Paged Resident Bytes,60]' value:'313459985.066667' 20028:20170331:112417.313 In send_buffer() host:'192.168.10.111' port:10051 entries:11/5000 23728:20170331:112418.133 In collect_perfstat() 23728:20170331:112418.136 End of collect_perfstat() 20028:20170331:112418.648 send value error: [connect] cannot connect to [[192.168.10.111]:10051]: Connection refused. 20028:20170331:112418.648 End of send_buffer():FAIL 20028:20170331:112418.649 buffer: new element 11 20028:20170331:112418.649 End of process_value():SUCCEED 20028:20170331:112418.649 In need_meta_update() key:perf_counter[\Memory\Pool Paged Resident Bytes,60] 20028:20170331:112418.649 End of need_meta_update():FAIL 20028:20170331:112418.650 In get_perf_counter_value() path:\Processor(2)\% Processor Time interval:60 20028:20170331:112418.650 End of get_perf_counter_value():SUCCEED 20028:20170331:112418.650 for key [system.cpu.util[2,system,avg1]] received value [5.030063] 20028:20170331:112418.650 In process_value() key:'ativ-kim:system.cpu.util[2,system,avg1]' value:'5.030063' 20028:20170331:112418.651 In send_buffer() host:'192.168.10.111' port:10051 entries:12/5000 23728:20170331:112419.137 In collect_perfstat() 23728:20170331:112419.141 End of collect_perfstat() 20028:20170331:112419.868 send value error: [connect] cannot connect to [[192.168.10.111]:10051]: Connection refused. 20028:20170331:112419.868 End of send_buffer():FAIL