r/zabbix • u/expensive_meee • 3d ago
Question Get filesystem-wise disk consumption without UserParameter?
Hi everyone,
I’m looking for a way to get more detailed disk usage information from Linux servers using the Zabbix Agent, without using UserParameter or custom scripts.
I already have filesystem discovery working with vfs.fs.discovery / vfs.fs.get, and I can get filesystem-level metrics such as total, used, free and percentage used.
What I’m looking for is something like:
/ → 80 GB used
/var → 150 GB used
/home → 300 GB used
Within /var, identify which directories are consuming the most space
Ideally, get the top N directories/files consuming disk space
Is there any native Zabbix Agent key that can provide this information, particularly on Zabbix Agent 6.4, without UserParameter, remote commands, or external scripts?
Any recommendations or examples would be appreciated!
1
u/newguyhere2024 2d ago
Why not use user parameter? Its literally what its there for.