Module: check_mk
Branch: master
Commit: a4daaaa448f05b8f7b56c13310e24ba67599015d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a4daaaa448f05b…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Oct 27 11:05:30 2014 +0100
#1191 Linux agent now also sends information about tmpfs
By default, the behavior of the df check is to ignore this filesystems.
If you want to see the temp filsystems you have to overwrite the inventory_df_exclude_fs
variable in main.mk in the
following way: inventory_df_exclude_fs = [ 'tmpfs', 'nfs',
'smbfs', 'cifs', 'iso9660' ]
---
.werks/1191 | 12 ++++++++++++
ChangeLog | 1 +
agents/check_mk_agent.linux | 2 +-
checks/df.include | 2 +-
4 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/.werks/1191 b/.werks/1191
new file mode 100644
index 0000000..933642c
--- /dev/null
+++ b/.werks/1191
@@ -0,0 +1,12 @@
+Title: Linux agent now also sends information about tmpfs
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.5i6
+Date: 1414403947
+Class: feature
+
+By default, the behavior of the df check is to ignore this filesystems.
+If you want to see the temp filsystems you have to overwrite the inventory_df_exclude_fs
variable in main.mk in the
+following way: inventory_df_exclude_fs = [ 'tmpfs', 'nfs',
'smbfs', 'cifs', 'iso9660' ]
+
diff --git a/ChangeLog b/ChangeLog
index 5fa1a7d..611298f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -78,6 +78,7 @@
* 0664 domino_users: new check to monitor the number of users on a Domino Notes
server
* 1447 domino_transactions: new check to monitor the number of transactions per
minute on Lotus Domino servers
* 1190 statgrab_cpu: Check can now handle parameters
+ * 1191 Linux agent now also sends information about tmpfs...
* 1051 FIX: tcp_conn_stats: fix missing performance data...
* 1142 FIX: winperf_ts_sessions: fix computation, check has never really worked
* 1090 FIX: zfsget: fixed exception which happened on incomplete zfs entries
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index be11b02..bc1c7df 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -128,7 +128,7 @@ fi
echo '<<<df>>>'
# The exclusion list is getting a bit of a problem. -l should hide any remote FS but
seems
# to be all but working.
-excludefs="-x smbfs -x tmpfs -x cifs -x iso9660 -x udf -x nfsv4 -x nfs -x mvfs -x
zfs"
+excludefs="-x smbfs -x cifs -x iso9660 -x udf -x nfsv4 -x nfs -x mvfs -x zfs"
df -PTlk $excludefs | sed 1d
# df inodes information
diff --git a/checks/df.include b/checks/df.include
index fe9eebf..2094985 100644
--- a/checks/df.include
+++ b/checks/df.include
@@ -31,7 +31,7 @@ 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 = [ 'nfs', 'smbfs', 'cifs',
'iso9660' ]
+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