]> git.zerfleddert.de Git - upsgraph/blame - temperature.conf
support for multiple hosts in one instance
[upsgraph] / temperature.conf
CommitLineData
6c1071ee
MG
1package 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
271;
Impressum, Datenschutz