How to monitor inodes using metricbeat?

Hi,
is there any option to monitor linux inodes with metricbeat?

Thank you

2 Likes

What about this [1]?

system.filesystem.free_files
The number of free file nodes in the file system.

Looking at the code, it calls syscall STATFS, about which tutorialspoint [2] says:

long f_ffree; /* total file nodes in file system */

In my understanding, on filesystems like EXT2/3/4 and XFS every file node consumes a single inode. And vice-versa, every inode represents a file node.

[1] System fields | Metricbeat Reference [8.11] | Elastic
[2] https://www.tutorialspoint.com/unix_system_calls/statfs.htm

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.