]> git.zerfleddert.de Git - upsgraph/commitdiff
modified i4 temperature config
authorMichael Gernoth <michael@gernoth.net>
Thu, 17 Jan 2013 11:50:12 +0000 (12:50 +0100)
committerMichael Gernoth <michael@gernoth.net>
Thu, 17 Jan 2013 11:50:12 +0000 (12:50 +0100)
i4-temperature.conf [new file with mode: 0644]
klimaschrank.conf [deleted file]

diff --git a/i4-temperature.conf b/i4-temperature.conf
new file mode 100644 (file)
index 0000000..08debcc
--- /dev/null
@@ -0,0 +1,101 @@
+package UPSGRAPH;
+
+$outdir="/var/www/temperature/";
+$step=60;
+
+$hosts = [
+       {
+               'address' => "131.188.42.24",
+               'name' => "klimaschrank",
+               'rrdfile' => "/var/www/temperature/.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' => "  ",
+                       },
+               }
+       },
+       {
+               'address' => "192.168.34.253",
+               'name' => "faui4usv",
+               'rrdfile' => "/var/www/temperature/.work/ups.rrd",
+               'community' => "public",
+
+               'fields' => [ 'battT', 'ambT', 'ambH' ],
+
+               'vars' => {
+                       'battT' => {
+                               'name' => 'Battery Temperature',
+                               'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
+                               'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
+                               'min' => '0',
+                               'max' => '100',
+                       },
+                       'ambT' => {
+                               'name' => 'Ambient Temperature',
+                               'oidtext' => 'PowerNet-MIB::mUpsEnvironAmbientTemperature.0',
+                               'oid' => '1.3.6.1.4.1.318.1.1.2.1.1.0',
+                               'min' => '0',
+                               'max' => '60',
+                       },
+                       'ambH' => {
+                               'name' => 'Ambient Humidity',
+                               'oidtext' => 'PowerNet-MIB::mUpsEnvironRelativeHumidity.0',
+                               'oid' => '1.3.6.1.4.1.318.1.1.2.1.2.0',
+                               'min' => '0',
+                               'max' => '100',
+                       },
+               }
+       },
+       {
+               'address' => "131.188.34.37",
+               'name' => "0.057",
+               'rrdfile' => "/var/www/temperature/.work/0057.rrd",
+       
+               'fields' => [ '0057-raum' ],
+       
+               'vars' => {
+                       '0057-raum' => {
+                               'name' => 'I4 Serverraum 0.057 Raumtemperatur',
+                               'port' => '1337',
+                               'proto' => 'tcp',
+                       },
+               }
+       },
+];
+
+1;
diff --git a/klimaschrank.conf b/klimaschrank.conf
deleted file mode 100644 (file)
index 8acd1c2..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-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