git.cweiske.de
/
munin-heatpump.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8fd1b00
)
add host_name configuration
author
Christian Weiske
<cweiske@cweiske.de>
Sun, 9 Dec 2012 19:38:17 +0000
(20:38 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Sun, 9 Dec 2012 19:38:17 +0000
(20:38 +0100)
heatpump-dimplex-wpm_
patch
|
blob
|
history
diff --git
a/heatpump-dimplex-wpm_
b/heatpump-dimplex-wpm_
index 9598d0c1d2b8616d2b3b02d41b613a87a19d7bc5..2ec58318e4d911cdbc4fa35ffd6f973b90656137 100755
(executable)
--- a/
heatpump-dimplex-wpm_
+++ b/
heatpump-dimplex-wpm_
@@
-15,6
+15,11
@@
Symlink heatpump-dimplex-wpm_ as "heatpump-dimplex-wpm_192.168.20.71".
Symlink heatpump-dimplex-wpm_ as "heatpump-dimplex-wpm_192.168.20.71".
+=head2 EXAMPLE CONFIGURATION
+
+ [heatpump-dimplex-wpm_*]
+ env.host_name Heating
+
=head1 DEPENDENCIES
curl
=head1 DEPENDENCIES
curl
@@
-40,6
+45,10
@@
host=`echo ${0##*/}|sed 's/^.*_//g'`
if [ "$1" = "config" ]; then
if [ "$1" = "config" ]; then
+ if [ "$host_name" != "" ]; then
+ echo "host_name $host_name"
+ fi
+
#Outdoor temperature
echo 'multigraph heatpump_dimplex_wpm_outtemp'
echo 'graph_title Außentemperatur'
#Outdoor temperature
echo 'multigraph heatpump_dimplex_wpm_outtemp'
echo 'graph_title Außentemperatur'