]> git.zerfleddert.de Git - upsgraph/blobdiff - temperature.conf
support for multiple hosts in one instance
[upsgraph] / temperature.conf
diff --git a/temperature.conf b/temperature.conf
new file mode 100644 (file)
index 0000000..168a779
--- /dev/null
@@ -0,0 +1,27 @@
+package UPSGRAPH;
+
+$outdir="/var/www/temperature/";
+$step=60;
+
+$hosts = [
+       {
+               'address' => "10.50.252.253",
+               'name' => "usv1",
+               'community' => "public",
+               'rrdfile' => "/var/www/temperature/.work/temp.rrd",
+       
+               'fields' => [ 'battT' ],
+       
+               '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',
+                       },
+               },
+       }
+];
+
+1;
Impressum, Datenschutz