Check fs-inodes

Overview

Checks the used inode space in percent, default on /, /tmp and /boot.

Fact Sheet

Check Plugin Download

https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/fs-inodes

Check Interval Recommendation

Once a minute

Can be called without parameters

Yes

Compiled for

Linux

Help

usage: fs-inodes [-h] [-V] [--always-ok] [-c CRIT] [--mount MOUNT] [-w WARN]

Checks the used inode space in percent, default on "/", "/tmp" and "/boot".

options:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  --always-ok           Always returns OK.
  -c CRIT, --critical CRIT
                        Set the critical threshold inode usage percentage.
                        Default: 95
  --mount MOUNT         The mount point, in the format "mount1,mount2".
                        Default: "/, /tmp, /boot"
  -w WARN, --warning WARN
                        Set the warning threshold inode usage percentage.
                        Default: 90

Usage Examples

./fs-inodes --mount '/, /boot, /tmp' --warning 90 --critical 95

Output:

/ 1.7%, /tmp 3.2%, /boot 0.2%

States

  • WARN or CRIT if inode usage is above a given threshold.

Perfdata / Metrics

For each mount:

  • inode usage (%)

Credits, License