]> git.zerfleddert.de Git - upsgraph/blobdiff - klimaschrank.conf
support for multiple values in one tcp connection and example config
[upsgraph] / klimaschrank.conf
diff --git a/klimaschrank.conf b/klimaschrank.conf
new file mode 100644 (file)
index 0000000..8acd1c2
--- /dev/null
@@ -0,0 +1,54 @@
+package UPSGRAPH;
+
+$outdir="/var/www/klimaschrank/";
+$step=60;
+
+$hosts = [
+       {
+               'address' => "131.188.42.24",
+               'name' => "klimaschrank",
+               'rrdfile' => "/var/www/klimaschrank/.work/klimaschrank.rrd",
+
+               'fields' => [ 'kaltw', 'vorlauf', 'ruecklauf', 'abluft', 'raum' ],
+
+               'vars' => {
+                       'kaltw' => {
+                               'name' => 'Kaltwasser',
+                               'port' => '1337',
+                               'proto' => 'tcp_multi',
+                               'multi_id' => '6328',
+                               'multi_delimiter' => "  ",
+                       },
+                       'vorlauf' => {
+                               'name' => 'Vorlauftemperatur',
+                               'port' => '1337',
+                               'proto' => 'tcp_multi',
+                               'multi_id' => '2d28',
+                               'multi_delimiter' => "  ",
+                       },
+                       'ruecklauf' => {
+                               'name' => 'Ruecklauftemperatur',
+                               'port' => '1337',
+                               'proto' => 'tcp_multi',
+                               'multi_id' => '5228',
+                               'multi_delimiter' => "  ",
+                       },
+                       'abluft' => {
+                               'name' => 'Ablufttemperatur',
+                               'port' => '1337',
+                               'proto' => 'tcp_multi',
+                               'multi_id' => 'f528',
+                               'multi_delimiter' => "  ",
+                       },
+                       'raum' => {
+                               'name' => 'Raumtemperatur',
+                               'port' => '1337',
+                               'proto' => 'tcp_multi',
+                               'multi_id' => '9028',
+                               'multi_delimiter' => "  ",
+                       },
+               }
+       },
+];
+
+1;
Impressum, Datenschutz