-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
None
-
None
-
Windows OS
zabbix agent2.2 or zabbix agent 3.0
1.create log-file
echo %DATE% %TIME% err>>C:\temp\test0417a.log
C:\temp>type test0417a.log 2018/04/19 18:29:21.59 err
2.create item
logrt[C:\temp\test0417a.log,,,,skip]
3.wait skip
4.add log-file
echo %DATE% %TIME% err>>>C:\temp\test0417a.log
The second line of the log-file is read.
C:\temp>type test0417a.log 2018/04/19 18:29:21.59 err 2018/04/19 18:30:26.26 err
5.copy log-file
copy test0417a.log test0417a.log.1
Two lines are read from the log-file.
6.zabbix-agentd restrart
Why are two lines read from the log-file?
This problem occurred in Zabbix 2.2 and Zabbix 3.0.