From d86e2556b42c43ec86689eb5d9161f26d70afc62 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 3 Apr 2024 13:02:25 +0200 Subject: [PATCH] ITL: check_disk: ignore more fuse* filesystems not to run into permission denials. Also, ignore fuse.* for the case check_disk already supports it: https://github.com/monitoring-plugins/monitoring-plugins/pull/1904 --- doc/10-icinga-template-library.md | 2 +- itl/command-plugins.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 40cafba19fd..45ab3dfc888 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -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 diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 4d9ae066d42..83b9c61671a 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -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",