-
Type:
Change Request
-
Resolution: Unresolved
-
Priority:
Minor
-
None
-
Affects Version/s: 7.4.10
-
Component/s: Agent (G), Agent2 plugin (G)
-
Environment:OS: 24.04.4 LTS (Noble Numbat)
Kernel: 6.8.0-117-generic
Architecture: x86_64
Zabbix agent 2: 7.0.27
Agent process user: zabbix
Test mountpoint: /data/nested_mount
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.
- related to
-
ZBX-27848 vfs.fs.get omits mountpoints for which agent user doesn't have permission to run "stat" on
-
- Doc. sign-off
-