]> git.zerfleddert.de Git - upsgraph/blob - temperature.conf
support for multiple hosts in one instance
[upsgraph] / temperature.conf
1 package UPSGRAPH;
2
3 $outdir="/var/www/temperature/";
4 $step=60;
5
6 $hosts = [
7 {
8 'address' => "10.50.252.253",
9 'name' => "usv1",
10 'community' => "public",
11 'rrdfile' => "/var/www/temperature/.work/temp.rrd",
12
13 'fields' => [ 'battT' ],
14
15 'vars' => {
16 'battT' => {
17 'name' => 'Battery Temperature',
18 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
19 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
20 'min' => '0',
21 'max' => '100',
22 },
23 },
24 }
25 ];
26
27 1;
Impressum, Datenschutz