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

Log monitoring doesn't work when log file is on non-system drive

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 4.0.2
    • Agent (G)

      Steps to reproduce:

      1. I have a log file App.log on E:\ disk.
        Created 2 items (zabbix agent active):
        1) Log monitoring, key: Log[E:\Temp\App.log,ERROR]
        2) Check for file existance: vfs.file.exists[E:\Temp\App.log]
        vfs.file.exists[E:\Temp\App.log] - shows "1" in Latest data.
        Log monitoring item - never get updated. I manually add Error string in log file, but it never get updated for item data.
        When I changed log file location to C:\ drive (C:\Temp) - only then it started working for log monitoring item.

      Result:
      See log file.

      As you can see from log file it sends value "null" for log item.
      Expected:
      Should just work.

            Unassigned Unassigned
            vaku Vadims Kurmis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: