no unit of measurement for crit/warn perfdata; semicolons for data trailing missing perfdate are not generally needed
authorMatthias Förste <foerste@schlittermann.de>
Sat, 11 Jun 2016 00:07:46 +0200
changeset 2 64f1020435e0
parent 1 3229a6d2b9c8
child 3 11e1f1430bfd
no unit of measurement for crit/warn perfdata; semicolons for data trailing missing perfdate are not generally needed
check_lvmthin
--- a/check_lvmthin	Fri Jun 10 23:01:17 2016 +0200
+++ b/check_lvmthin	Sat Jun 11 00:07:46 2016 +0200
@@ -48,7 +48,7 @@
             addinfo='yes'
         fi 
         [ -n "$addinfo" ] && INFO="${INFO:+${INFO}; }$vg/$lv$label $u%"
-        PERFDATA="${PERFDATA:+${PERFDATA} }$vg/$lv$label=$u%;$W%;$C%;;"
+        PERFDATA="${PERFDATA:+${PERFDATA} }$vg/$lv$label=$u%;$W;$C"
     done <$results
 }