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

Documentation claims to return 0 for symlinks with vfs.file.exists, which is wrong

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 2.0.4
    • Documentation (D)
    • None

      cd /tmp && touch file_real && ln file_real file_hard && ln -s file_real file_soft
      ls -li file_*

      for filename in file_real file_hard file_soft; do echo -n "$filename "; zabbix_get -s example.com -k vfs.file.exists[$filename]; done

      All three give 1. http://www.zabbix.com/documentation/2.0/manual/config/items/itemtypes/zabbix_agent claims:

      "It returns 0 for pipes, symbolic links, directories, etc."

            Unassigned Unassigned
            volter Volker Fröhlich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: