mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6850 from BarbUk/fix/itl-check-disk
Fix ITL CheckCommand disk
This commit is contained in:
commit
19eaff875a
|
@ -347,6 +347,7 @@ disk\_ignore\_ereg\_path | **Optional.** Regular expression to ignore selected
|
|||
disk\_timeout | **Optional.** Seconds before connection times out (default: 10).
|
||||
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_smb <a id="plugin-check-command-disk-smb"></a>
|
||||
|
||||
|
|
|
@ -1475,6 +1475,11 @@ object CheckCommand "disk" {
|
|||
description = "Ignore all filesystems of indicated type (may be repeated)"
|
||||
repeat_key = true
|
||||
}
|
||||
"-N" = {
|
||||
value = "$disk_include_type$"
|
||||
description = "Check only filesystems of indicated type (may be repeated)"
|
||||
repeat_key = true
|
||||
}
|
||||
}
|
||||
|
||||
vars.disk_wfree = "20%"
|
||||
|
|
Loading…
Reference in New Issue