Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-13790

Rebooting the Zabbix agent rereads the log

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial 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.

            kazuo.ito Kazuo Ito
            kazuo.ito Kazuo Ito
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: