Module: check_mk
Branch: master
Commit: c57cd8da39b1798691362cdbc04080118866a2eb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c57cd8da39b179…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 5 13:31:29 2013 +0200
diskstat: Agent is now also processing data of mmcblk devices
---
ChangeLog | 1 +
agents/check_mk_agent.linux | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index ffb4246..2b49c8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -47,6 +47,7 @@
* win_netstat: New check for Windows for checking the existance of a UDP/TCP
connection or listener
* ps/ps.perf: allow to set levels on CPU util, optional averaging of CPU
+ * diskstat: Agent is now also processing data of mmcblk devices
Notifications:
* notify.py: Matching service level: Use the hosts service level if a
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index d956815..fc5c7cd 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -223,7 +223,7 @@ cat /proc/mdstat
# Performancecounter Platten
echo '<<<diskstat>>>'
date +%s
-egrep ' (x?[shv]d[a-z]*|cciss/c[0-9]+d[0-9]+|emcpower[a-z]+|dm-[0-9]+|VxVM.*) '
< /proc/diskstats
+egrep '
(x?[shv]d[a-z]*|cciss/c[0-9]+d[0-9]+|emcpower[a-z]+|dm-[0-9]+|VxVM.*|mmcblk.*) ' <
/proc/diskstats
if type dmsetup >/dev/null ; then
echo '[dmsetup_info]'
dmsetup info -c --noheadings --separator ' ' -o name,devno,vg_name,lv_name