Skip to content

Commit

Permalink
ITL: check_disk: ignore more fuse* filesystems
Browse files Browse the repository at this point in the history
not to run into permission denials.
Also, ignore fuse.* for the case check_disk already supports it:
monitoring-plugins/monitoring-plugins#1904
  • Loading branch information
Al2Klimov committed Apr 3, 2024
1 parent 76b460c commit d86e255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/10-icinga-template-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ disk\_ignore\_eregi\_path | **Optional.** Regular expression to ignore selected
disk\_ignore\_ereg\_path | **Optional.** Regular expression to ignore selected path or partition. Multiple regular expression strings must be defined as array.
disk\_timeout | **Optional.** Seconds before connection times out (default: 10).
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.gvfsd-fuse", "fuse.gvfs-fuse-daemon", "fdescfs", "overlay", "nsfs", "squashfs".
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

Expand Down
2 changes: 2 additions & 0 deletions itl/command-plugins.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1491,9 +1491,11 @@ object CheckCommand "disk" {
"mtmfs",
"tracefs",
"cgroup",
"fuse.*", // only Monitoring Plugins support this so far
"fuse.gvfsd-fuse",
"fuse.gvfs-fuse-daemon",
"fuse.portal",
"fuse.sshfs",
"fdescfs",
"overlay",
"nsfs",
Expand Down

0 comments on commit d86e255

Please sign in to comment.