add example for tr7432
[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",
db4ecf18 11 'rrdfile' => "/var/spool/upsgraph/temp.usv1.rrd",
6c1071ee 12
db4ecf18 13 'fields' => [ 'battT', 'ambT', 'ambH' ],
6c1071ee
MG
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',
6c1071ee 20 },
db4ecf18
MG
21 'ambT' => {
22 'name' => 'Ambient Temperature',
23 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentTemp.1',
24 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1',
db4ecf18
MG
25 },
26 'ambH' => {
27 'name' => 'Ambient Humidity',
28 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentHumid.1',
29 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1',
db4ecf18 30 },
6c1071ee 31 },
db4ecf18
MG
32 },
33 {
34 'address' => "10.50.252.254",
35 'name' => "usv2",
36 'rrdfile' => "/var/spool/upsgraph/temp.usv2.rrd",
37 'community' => "public",
38
39 'fields' => [ 'battT' ],
40
41 'vars' => {
42 'battT' => {
43 'name' => 'Battery Temperature',
44 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
45 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
db4ecf18
MG
46 },
47 }
48 },
49 {
50 'address' => "192.168.50.245",
51 'name' => "prak",
52 'rrdfile' => "/var/spool/upsgraph/temp.prak.rrd",
53 'community' => "public",
54
55 'fields' => [ 'temp' ],
56
57 'vars' => {
58 'temp' => {
59 'name' => 'Internal Temperature',
0e572cdc 60 'oid' => '1.3.6.1.4.1.9.9.13.1.3.1.3.1004',
db4ecf18
MG
61 },
62 }
63 },
64 {
65 'address' => "192.168.50.244",
66 'name' => "colin",
67 'rrdfile' => "/var/spool/upsgraph/temp.colin.rrd",
68 'community' => "public",
69
70 'fields' => [ 'temp' ],
71
72 'vars' => {
73 'temp' => {
74 'name' => 'Internal Temperature',
0e572cdc 75 'oid' => '1.3.6.1.4.1.9.9.13.1.3.1.3.1004',
db4ecf18
MG
76 },
77 }
78 },
0e572cdc
MG
79 {
80 'address' => "217.173.147.33",
81 'name' => "effrafax",
82 'rrdfile' => "/var/spool/upsgraph/temp.effrafax.rrd",
83
84 'fields' => [ 'az' ],
85
86 'vars' => {
87 'az' => {
88 'name' => 'Arbeitszimmer',
89 'port' => '31337',
90 'proto' => 'tcp',
0e572cdc
MG
91 },
92 }
93 },
6c1071ee
MG
94];
95
961;
Impressum, Datenschutz