tell about config file
[munin-heatpump.git] / heatpump-dimplex-wpm_
index a9a0d6caf1b684a3e660396b3507c3c203aee4f3..4e1300322627449fce148ca4640e4d82119d7702 100755 (executable)
@@ -17,6 +17,8 @@
 
 =head2 EXAMPLE CONFIGURATION
 
+ In /etc/munin/plugin-conf.d/munin-node:
+
  [heatpump-dimplex-wpm_*]
   env.host_name Heating
 
@@ -107,6 +109,31 @@ if [ "$1" = "config" ]; then
     echo 'reqwater.label Anforderung Warmwasser'
     echo 'reqwater.draw LINE1'
 
+    #settings: heating level
+    echo 'multigraph heatpump_dimplex_wpm_heating_level'
+    echo 'graph_title Heizungseinstellung'
+    echo 'graph_args --base 1000 --lower-limit 0 --upper-limit 38'
+    echo 'graph_vlabel Einstellung'
+    echo 'graph_info Shows the heating setting'
+    echo 'graph_scale no'
+    echo 'graph_category settings'
+
+    echo 'circuit1.label Heizkreis 1'
+    echo 'circuit1.draw LINE1'
+
+    #error level
+    echo 'multigraph heatpump_dimplex_wpm_errorlevel'
+    echo 'graph_title Alarme/Fehler'
+    echo 'graph_args --base 1000 --lower-limit 0 --upper-limit 100'
+    echo 'graph_vlabel Fehler'
+    echo 'graph_info Shows the error level'
+    echo 'graph_scale no'
+    echo 'graph_category sensors'
+
+    echo 'errorlevel.label Sammelstoermeldung'
+    echo 'errorlevel.draw LINE1'
+    echo 'errorlevel.critical 0:0'
+
     exit 0
 fi
 
@@ -153,3 +180,12 @@ echo 'multigraph heatpump_dimplex_wpm_states'
 echo reqheating.value `echo "$data" | grep DIGITAL/136 | cut -d" " -f2`
 water=`echo "$data" | grep DIGITAL/140 | cut -d" " -f2`
 echo reqwater.value `echo $(($water * 2))`
+
+#Settings: Heating level
+echo 'multigraph heatpump_dimplex_wpm_heating_level'
+echo circuit1.value `echo "$data" | grep 'INTEGER/1 ' | cut -d" " -f2`
+
+#Error level
+#docs: 8,Analog,Ausgang,Sammelstörmeldung
+echo 'multigraph heatpump_dimplex_wpm_errorlevel'
+echo errorlevel.value `echo "$data" | grep 'ANALOG/8 ' | cut -d" " -f2`