mirror of https://github.com/Icinga/icinga2.git
Add check_disk option to add inode numbers into perfdata (#9494)
This commit is contained in:
parent
643e9cd48b
commit
67b025f69b
|
@ -377,6 +377,7 @@ disk\_timeout | **Optional.** Seconds before connection times out (d
|
|||
disk\_units | **Optional.** Choose bytes, kB, MB, GB, TB (default: MB).
|
||||
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.gvfsd-fuse", "fuse.gvfs-fuse-daemon", "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_smb <a id="plugin-check-command-disk-smb"></a>
|
||||
|
||||
|
|
|
@ -1364,6 +1364,10 @@ object CheckCommand "disk" {
|
|||
description = "Exit with CRITICAL status if less than PERCENT of inode space is free"
|
||||
order = -3
|
||||
}
|
||||
"-P" = {
|
||||
description = "Display inode usage in perfdata"
|
||||
set_if = "$disk_inode_perfdata$"
|
||||
}
|
||||
"-p" = {
|
||||
value = "$disk_partitions$"
|
||||
description = "Path or partition (may be repeated)"
|
||||
|
|
Loading…
Reference in New Issue