Module: check_mk
Branch: master
Commit: d1a1cd4e3f6424145a63d79c4c5fc18e394648cc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d1a1cd4e3f6424…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Tue Jun 24 09:45:16 2014 +0200
agent plugin smart: fixed syntax error
---
agents/plugins/smart | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/plugins/smart b/agents/plugins/smart
index a995367..1a0b8f5 100755
--- a/agents/plugins/smart
+++ b/agents/plugins/smart
@@ -42,7 +42,7 @@ if which smartctl > /dev/null 2>&1 ; then
MODEL=$(smartctl -a $D | grep -i "device model" | sed -e
"s/.*:[ ]*//g" -e "s/\ /_/g")
fi
# Excluded disk models for SAN arrays or certain RAID luns that are also not
usable..
- if [ "$MODEL" = "iSCSI_Disk" ] || ["$MODEL" =
"LOGICAL_VOLUME" ]; then
+ if [ "$MODEL" = "iSCSI_Disk" -o "$MODEL" =
"LOGICAL_VOLUME" ]; then
continue
fi