mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Update command-plugins.conf to ensure compatibility with nagios-plugins' check_disk (#10395)
* Update command-plugins.conf to ensure compatibility with nagios-plugins' check_disk * Update 10-icinga-template-library.md * Update 10-icinga-template-library.md
This commit is contained in:
parent
9abf482708
commit
9ecf7714e3
@ -434,6 +434,7 @@ disk\_units | **Optional.** Choose bytes, kB, MB, GB, TB.
|
||||
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.\*" (only Monitoring Plugins support this so far), "fuse.gvfsd-fuse", "fuse.gvfs-fuse-daemon", "fuse.sshfs", "fdescfs", "overlay", "nsfs", "squashfs".
|
||||
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\_np\_inode\_perfdata | **Optional.** Enable performance data for inode-based statistics (Requires: nagios-plugins >= 2.3.0)
|
||||
disk\_extra\_opts | **Optional.** Read extra plugin options from an ini file.
|
||||
|
||||
### disk_smb <a id="plugin-check-command-disk-smb"></a>
|
||||
|
@ -1659,6 +1659,10 @@ object CheckCommand "disk" {
|
||||
description = "Display inode usage in perfdata"
|
||||
set_if = "$disk_inode_perfdata$"
|
||||
}
|
||||
"--inode-perfdata" = {
|
||||
description = "Enable performance data for inode-based statistics (nagios-plugins)"
|
||||
set_if = "$disk_np_inode_perfdata$"
|
||||
}
|
||||
"-p" = {
|
||||
value = "$disk_partitions$"
|
||||
description = "Path or partition (may be repeated)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user