[ZBX-24762] vfs.fs.get timeout when some network mount points are unreachable Created: 2024 Jul 02 Updated: 2025 May 26 |
|
Status: | Open |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Patch request | Priority: | Trivial |
Reporter: | Michaël PAULON | Assignee: | Michael Veksler |
Resolution: | Unresolved | Votes: | 6 |
Labels: | vfs.fs.get | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | 56h | ||
Original Estimate: | Not Specified |
Team: | |
Sprint: | Sprint candidates, S25-W20/21 |
Story Points: | 4 |
Description |
Steps to reproduce:
Result: Looking at the source code `vfs.fs.get` does the following: A solution could be to add another "layer" of timeout for each `statfs/statvfs` request to prevent the whole request to fail. |
Comments |
Comment by Mariusz Lewandowski [ 2024 Dec 12 ] |
Issue is still observable on Zabbix agent 7.0.4. Huge problem for a lot of systems, when the connection to NFS mounts is unstable. |
Comment by Michael Veksler [ 2025 May 26 ] |
Proposal v1One is possible way is to introduce new option for vfs.fs.get like "source" vfs.fs.get["source=/dev,cgroup,xrdp-chansrv"] or vfs.fs.get["source=/dev/loop,/dev/sda1,192.168.6.51:/mnt"] where source is a list of prefixes |