-
Sub-task
-
Resolution: Fixed
-
Trivial
-
5.0.28, 6.0.9, 6.2.3, 6.4.0beta1
-
None
-
Sprint 93 (Oct 2022), Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023)
-
1
After vfs.fs.get was fixed in ZBX-21823 another issue appeared. If multiple file systems have identical mount points then all of them will be reported with fs type of the first file system among them.
In example, from my Ubuntu OS:
# grep binfmt_misc /proc/mounts systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14303 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
vfs.fs.discovery returns correct types:
{"{#FSNAME}":"/proc/sys/fs/binfmt_misc","{#FSTYPE}":"autofs"}, {"{#FSNAME}":"/proc/sys/fs/binfmt_misc","{#FSTYPE}":"binfmt_misc"}
vfs.fs.get returns wrong types:
{"fsname":"/proc/sys/fs/binfmt_misc","fstype":"autofs","bytes":{"total":0,"free":0,"used":0,"pfree":0.000000,"pused":0.000000},"inodes":{"total":0,"free":0,"used":0,"pfree":100.000000,"pused":0.000000}}, {"fsname":"/proc/sys/fs/binfmt_misc","fstype":"autofs","bytes":{"total":0,"free":0,"used":0,"pfree":0.000000,"pused":0.000000},"inodes":{"total":0,"free":0,"used":0,"pfree":100.000000,"pused":0.000000}}
Both agents are affected.
- causes
-
ZBX-23037 Memory leak in agent when getting item vfs.fs.get[]
- Closed