-
Incident report
-
Resolution: Cannot Reproduce
-
Blocker
-
None
-
2.4.6
For unknown and unclear reason windows agent may reply with empty value even for so dummy user pameter as "echo 1".
It's random and it's not possible to understand why.
It happened on agent version 2.4.3 and 2.4.6 too.
Windows Server 2008 R2 Standard 64 bit SP1
Agent exe is x64 arch.
Some examples form debug log:
agent 2.4.3:
# grep -A2 test1 zabbix_agentd.093015.log 6772:20150930:133507.262 Requested [test1] 6772:20150930:133507.293 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 6772:20150930:133507.293 Sending back [] -- 4452:20150930:133510.320 Requested [test1] 4452:20150930:133510.351 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 4452:20150930:133510.351 Sending back [] -- 6772:20150930:133511.973 Requested [test1] 6772:20150930:133512.004 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 6772:20150930:133512.004 Sending back [] -- 4452:20150930:133520.850 Requested [test1] 4452:20150930:133520.881 EXECUTE_STR() command:'echo 1' len:1 cmd_result:'1' 4452:20150930:133520.881 Sending back [1] -- 4452:20150930:133530.116 Requested [test1] 4452:20150930:133530.147 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 4452:20150930:133530.147 Sending back [] -- 4452:20150930:133530.646 Requested [test1] 4452:20150930:133530.678 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 4452:20150930:133530.678 Sending back []
on 2.4.6:
7680:20151001:100955.000 Starting Zabbix Agent [XXXXXXX]. Zabbix 2.4.6 (revision 54782). 7680:20151001:100955.000 using configuration file: C:\Program Files\zabbix\zabbix_agentd.conf 7680:20151001:100955.016 In init_collector_data() 7680:20151001:100955.016 End of init_collector_data() 7680:20151001:100955.016 In init_perf_collector() 7680:20151001:100955.016 End of init_perf_collector():SUCCEED 7680:20151001:100955.016 agent #0 started [main process] 5132:20151001:100955.016 agent #1 started [collector] 4984:20151001:100955.016 agent #2 started [listener #1] 9344:20151001:100955.016 agent #3 started [listener #2] 2164:20151001:100955.016 agent #4 started [listener #3] 11256:20151001:100955.016 agent #5 started [active checks #1] 4984:20151001:101056.573 Requested [test1] 4984:20151001:101056.605 EXECUTE_STR() command:'echo 1' len:1 cmd_result:'1' 4984:20151001:101056.605 Sending back [1] 4984:20151001:101109.459 Requested [test1] 4984:20151001:101109.490 EXECUTE_STR() command:'echo 1' len:1 cmd_result:'1' 4984:20151001:101109.490 Sending back [1] 4984:20151001:110440.251 Requested [test1] 4984:20151001:110440.282 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 4984:20151001:110440.282 Sending back [] 2164:20151001:110442.716 Requested [test1] 2164:20151001:110442.763 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 2164:20151001:110442.763 Sending back [] 2164:20151001:110443.777 Requested [test1] 2164:20151001:110443.808 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 2164:20151001:110443.808 Sending back [] 4984:20151001:110444.416 Requested [test1] 4984:20151001:110444.447 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 4984:20151001:110444.447 Sending back [] 4984:20151001:110445.399 Requested [test1] 4984:20151001:110445.430 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 4984:20151001:110445.430 Sending back [] 4984:20151001:110452.372 Requested [agent.version] 4984:20151001:110452.372 Sending back [2.4.6] 9344:20151001:110458.581 Requested [test1] 9344:20151001:110458.612 EXECUTE_STR() command:'echo 1' len:0 cmd_result:'' 9344:20151001:110458.612 Sending back [] 2164:20151001:110611.823 Requested [test1] 2164:20151001:110611.885 EXECUTE_STR() command:'echo 1' len:1 cmd_result:'1' 2164:20151001:110611.885 Sending back [1] 4984:20151001:110614.366 Requested [test1] 4984:20151001:110614.397 EXECUTE_STR() command:'echo 1' len:1 cmd_result:'1' 4984:20151001:110614.397 Sending back [1] 9344:20151001:111359.589 Requested [test1] 9344:20151001:111359.620 EXECUTE_STR() command:'echo 1' len:1 cmd_result:'1' 9344:20151001:111359.620 Sending back [1]
Corresponding part of shell for attempts below:
C:\Program Files\zabbix>zabbix_get -V Zabbix get v2.4.6 (revision 54782) (10 August 2015) Compilation time: Aug 10 2015 10:20:56 C:\Program Files\zabbix>zabbix_get -s localhost -k test1 1 C:\Program Files\zabbix>zabbix_get -s localhost -k test1 C:\Program Files\zabbix>zabbix_get -s localhost -k test1 C:\Program Files\zabbix>zabbix_get -s localhost -k test1 C:\Program Files\zabbix>zabbix_get -s localhost -k test1 C:\Program Files\zabbix>zabbix_get -s localhost -k test1 C:\Program Files\zabbix>zabbix_agentd -c ./zabbix_agentd.conf -t test1 test1 [t|1] C:\Program Files\zabbix>zabbix_agentd -c ./zabbix_agentd.conf -t test1 test1 [t|1] C:\Program Files\zabbix>zabbix_get -s localhost -k agent.version 2.4.6 C:\Program Files\zabbix>zabbix_get -s localhost -k test1 C:\Program Files\zabbix>zabbix_get -s localhost -k test1 1 C:\Program Files\zabbix>zabbix_get -s localhost -k test1
It happens when use zabbix_get for running zabbix agent.
But NOT reproducible if test it by "zabbix_agentd -c ./zabbix_agentd.conf -t test1"
It happens for many/all user parameters including which defined as agent active and being checked once per day.
This win host has 15 custom lld rules and they all are agent active, item prototypes are also agent active.