Plugin Check Commands: disk is missing '-p', 'x' parameter

fixes #7596
This commit is contained in:
Michael Friedrich 2014-11-06 14:17:28 +01:00
parent 61e090595e
commit a10107c540
2 changed files with 12 additions and 4 deletions

View File

@ -2168,10 +2168,14 @@ Check command object for the `check_disk` plugin.
Custom Attributes:
Name | Description
----------------|--------------
disk_wfree | **Optional.** The free space warning threshold in %. Defaults to 20.
disk_cfree | **Optional.** The free space critical threshold in %. Defaults to 10.
Name | Description
------------------------|------------------------
disk_wfree | **Optional.** The free space warning threshold in %. Defaults to 20.
disk_cfree | **Optional.** The free space critical threshold in %. Defaults to 10.
disk_inode_wfree | **Optional.** The free inode warning threshold.
disk_inode_cfree | **Optional.** The free inode critical threshold.
disk_partition | **Optional.** The partition.
disk_partition_excluded | **Optional.** The excluded partition.
#### <a id="plugin-check-command-users"></a> users

View File

@ -413,6 +413,10 @@ object CheckCommand "disk" {
arguments = {
"-w" = "$disk_wfree$%"
"-c" = "$disk_cfree$%"
"-W" = "$disk_inode_wfree$%"
"-K" = "$disk_inode_cfree$%"
"-p" = "$disk_partition$"
"-x" = "$disk_partition_excluded$"
}
vars.disk_wfree = 20