mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 13:14:32 +02:00
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\_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\_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\_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>
|
### 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"
|
description = "Exit with CRITICAL status if less than PERCENT of inode space is free"
|
||||||
order = -3
|
order = -3
|
||||||
}
|
}
|
||||||
|
"-P" = {
|
||||||
|
description = "Display inode usage in perfdata"
|
||||||
|
set_if = "$disk_inode_perfdata$"
|
||||||
|
}
|
||||||
"-p" = {
|
"-p" = {
|
||||||
value = "$disk_partitions$"
|
value = "$disk_partitions$"
|
||||||
description = "Path or partition (may be repeated)"
|
description = "Path or partition (may be repeated)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user