diff --git a/doc/7-configuring-icinga-2.md b/doc/7-configuring-icinga-2.md index 9089775e5..85e227c80 100644 --- a/doc/7-configuring-icinga-2.md +++ b/doc/7-configuring-icinga-2.md @@ -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. #### users diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 3079d4ad4..70643243a 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -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