ExportXMLWordPrintable

      vfs.fs.get can now silently skip mount points if the Zabbix agent user does not have permission to retrieve file system statistics. 

      For example, if /data/nested_mount is mounted inside the /data directory with permissions set to 700, then:

      • the mounting point exists on /proc/self/mountinfo;
      • is displayed in vfs.fs.discovery;
      • is not available in vfs.fs.get

      It is safe, because vfs.fs.get is often used to detect file systems. As a result, the file system may not be detected without any warning.

      Recommended improvements:

      • do not hide an unavailable mount points;
      • include them in the error output (e.g., “Permission denied”);
      • or add a separate diagnostic/parameter to display missed points.

      Benefits: more transparent and reliable detection of file system issues, and the ability to separate file system issues from access permission issues. 

            Assignee:
            Zabbix Development Team
            Reporter:
            Andrejs Poddubnaks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: