]> git.zerfleddert.de Git - upsgraph/blob - temperature.conf
6aac5cbc9f7d8f54d22c3b60ffadfb406eae6dc9
[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/spool/upsgraph/temp.usv1.rrd",
12
13 'fields' => [ 'battT', 'ambT', 'ambH' ],
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 'ambT' => {
24 'name' => 'Ambient Temperature',
25 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentTemp.1',
26 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1',
27 'min' => '0',
28 'max' => '60',
29 },
30 'ambH' => {
31 'name' => 'Ambient Humidity',
32 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentHumid.1',
33 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1',
34 'min' => '0',
35 'max' => '100',
36 },
37 },
38 },
39 {
40 'address' => "10.50.252.254",
41 'name' => "usv2",
42 'rrdfile' => "/var/spool/upsgraph/temp.usv2.rrd",
43 'community' => "public",
44
45 'fields' => [ 'battT' ],
46
47 'vars' => {
48 'battT' => {
49 'name' => 'Battery Temperature',
50 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
51 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
52 'min' => '0',
53 'max' => '100',
54 },
55 }
56 },
57 {
58 'address' => "192.168.50.245",
59 'name' => "prak",
60 'rrdfile' => "/var/spool/upsgraph/temp.prak.rrd",
61 'community' => "public",
62
63 'fields' => [ 'temp' ],
64
65 'vars' => {
66 'temp' => {
67 'name' => 'Internal Temperature',
68 'oid' => '1.3.6.1.4.1.9.9.13.1.3.1.3',
69 'min' => '0',
70 'max' => '200',
71 },
72 }
73 },
74 {
75 'address' => "192.168.50.244",
76 'name' => "colin",
77 'rrdfile' => "/var/spool/upsgraph/temp.colin.rrd",
78 'community' => "public",
79
80 'fields' => [ 'temp' ],
81
82 'vars' => {
83 'temp' => {
84 'name' => 'Internal Temperature',
85 'oid' => '1.3.6.1.4.1.9.9.13.1.3.1.3',
86 'min' => '0',
87 'max' => '200',
88 },
89 }
90 },
91 ];
92
93 1;
Impressum, Datenschutz