Module: check_mk
Branch: master
Commit: 28f867dbc7dd63b12a02dfcc2adec78c52fe2cbd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=28f867dbc7dd63…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Mon Nov 6 15:09:31 2017 +0100
df: Move inventory_df_exclude_fs to df from df.include, because it's only being used
in this check
Change-Id: I17577de45d3db4adfc1914648b7ef02ccbcb09a4
---
checks/df | 1 +
checks/df.include | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/df b/checks/df
index a0fb62b..cd6fabe 100644
--- a/checks/df
+++ b/checks/df
@@ -90,6 +90,7 @@
# C:\Program Files\Vision
Solutions\Double-Take\Service\MountDir\usauhtest0010_c061b170-ad3f-473f-92ce-088c97fce98e_C\
NTFS 41835516 11895180 29940336 29% C:\Program Files\Vision
Solutions\Double-Take\Service\MountDir\usauhtest0010_c061b170-ad3f-473f-92ce-088c97fce98e_C\
inventory_df_rules = []
+inventory_df_exclude_fs = [ 'tmpfs', 'nfs', 'smbfs',
'cifs', 'iso9660' ]
def parse_df(info):
diff --git a/checks/df.include b/checks/df.include
index f501487..d61ce4d 100644
--- a/checks/df.include
+++ b/checks/df.include
@@ -41,7 +41,6 @@ filesystem_levels = [] # obsolete. Just here to check config and
warn if
filesystem_default_levels = {} # can also be dropped some day in future
# Filesystems to ignore (shouldn't be sent by agent anyway)
-inventory_df_exclude_fs = [ 'tmpfs', 'nfs', 'smbfs',
'cifs', 'iso9660' ]
inventory_df_exclude_mountpoints = [ '/dev' ]
# Grouping of filesystems into groups that are monitored as one entity