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

Agent error "file exists but is not a directory" when persistent_dir is a symlinked directory

    XMLWordPrintable

Details

    • Team C
    • Sprint 106 (Nov 2023), Sprint 107 (Dec 2023)
    • 0.5

    Description

      Steps to reproduce:

      1. Create some symlink to any directory and use it as persistent_dir parameter 
      2. Create item with key like this log[/home/user/log.log,,,,,,,,/home/user/persistent_dir]

      Result:
      In the agent log you can find something like this: 

      active check "log[/home/user/log.log,,,,,,,,/home/user/persistent_dir]" is not supported: file exists but is not a directory

      Expected:
      Working item 

      Attachments

        Activity

          People

            kprutkovs Konstantins Prutkovs
            pwegrzyn Piotr Wegrzyn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: