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

Rebooting the Zabbix agent rereads the log

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Windows OS
      zabbix agent2.2 or zabbix agent 3.0

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: