Module: check_mk
Branch: master
Commit: 9abd69a7aaac017652fffe5e56cb38b822d95f52
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9abd69a7aaac01…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Apr 14 15:28:07 2011 +0200
smart agent plugin: Fixed copy paste error
---
agents/plugins/smart | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/agents/plugins/smart b/agents/plugins/smart
index 1e6c2a1..eda9307 100755
--- a/agents/plugins/smart
+++ b/agents/plugins/smart
@@ -7,6 +7,6 @@ if which smartctl > /dev/null 2>&1 ; then
N=${D##*/}
VEND=$(cat /sys/block/$N/device/vendor | tr -d ' ')
MODEL=$(cat /sys/block/$N/device/model | tr ' ' _ | sed
's/_*$//g')
- smartctl -A $D | grep Always | sed "s|^|$D $VEND $MODEL | tr ' ' _)
|"
+ smartctl -A $D | grep Always | sed "s|^|$D $VEND $MODEL |"
done
fi