Merge pull request #6850 from BarbUk/fix/itl-check-disk

Fix ITL CheckCommand disk
This commit is contained in:
Michael Friedrich 2018-12-21 12:04:40 +01:00 committed by GitHub
commit 19eaff875a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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>

View File

@ -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%"