diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index b719f9916..da4a5d992 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -434,6 +434,7 @@ disk\_units | **Optional.** Choose bytes, kB, MB, GB, TB. disk\_exclude\_type | **Optional.** Ignore all filesystems of indicated type. Multiple regular expression strings must be defined as array. Defaults to "none", "tmpfs", "sysfs", "proc", "configfs", "devtmpfs", "devfs", "mtmfs", "tracefs", "cgroup", "fuse.\*" (only Monitoring Plugins support this so far), "fuse.gvfsd-fuse", "fuse.gvfs-fuse-daemon", "fuse.sshfs", "fdescfs", "overlay", "nsfs", "squashfs". disk\_include\_type | **Optional.** Check only filesystems of indicated type. Multiple regular expression strings must be defined as array. disk\_inode\_perfdata | **Optional.** Display inode usage in perfdata +disk\_np\_inode\_perfdata | **Optional.** Enable performance data for inode-based statistics (Requires: nagios-plugins >= 2.3.0) disk\_extra\_opts | **Optional.** Read extra plugin options from an ini file. ### disk_smb diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index e3eb5e370..06246bbe6 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -1659,6 +1659,10 @@ object CheckCommand "disk" { description = "Display inode usage in perfdata" set_if = "$disk_inode_perfdata$" } + "--inode-perfdata" = { + description = "Enable performance data for inode-based statistics (nagios-plugins)" + set_if = "$disk_np_inode_perfdata$" + } "-p" = { value = "$disk_partitions$" description = "Path or partition (may be repeated)"