]> git.zerfleddert.de Git - upsgraph/blob - two-apc-units.conf
50b0132d036dd21082359c6f4496784b198b7979
[upsgraph] / two-apc-units.conf
1 package UPSGRAPH;
2
3 $outdir="/var/www/usv/1/";
4 $step=60;
5
6 $hosts =
7 [
8 {
9 'address' => "10.50.252.253",
10 'name' => "usv1",
11 'rrdfile' => "/var/spool/upsgraph/usv1.rrd",
12 'community' => "public",
13
14 'fields' => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'ambT', 'ambH', 'timeR', 'timeO' ],
15
16 'vars' => {
17 'inputV' => {
18 'name' => 'Input Voltage',
19 'oidtext' => 'PowerNet-MIB::upsAdvInputLineVoltage.0',
20 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.1.0',
21 'min' => '180',
22 'max' => '280',
23 },
24 'outputV' => {
25 'name' => 'Output Voltage',
26 'oidtext' => 'PowerNet-MIB::upsAdvOutputVoltage.0',
27 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.1.0',
28 'min' => '180',
29 'max' => '280',
30 },
31 'inputHZ' => {
32 'name' => 'Input Frequency',
33 'oidtext' => 'PowerNet-MIB::upsAdvInputFrequency.0',
34 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.4.0',
35 'min' => '40',
36 'max' => '60',
37 },
38 'outputHZ' => {
39 'name' => 'Output Frequency',
40 'oidtext' => 'PowerNet-MIB::upsAdvOutputFrequency.0',
41 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.2.0',
42 'min' => '40',
43 'max' => '60',
44 },
45 'battT' => {
46 'name' => 'Battery Temperature',
47 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
48 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
49 'min' => '0',
50 'max' => '100',
51 },
52 'battC' => {
53 'name' => 'Battery Capacity',
54 'oidtext' => 'PowerNet-MIB::upsAdvBatteryCapacity.0',
55 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.1.0',
56 'min' => '0',
57 'max' => '110',
58 },
59 'load' => {
60 'name' => 'UPS Load',
61 'oidtext' => 'PowerNet-MIB::upsAdvOutputLoad.0',
62 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.3.0',
63 'min' => '0',
64 'max' => '110',
65 },
66 'ambT' => {
67 'name' => 'Ambient Temperature',
68 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentTemp.1',
69 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1',
70 'min' => '0',
71 'max' => '60',
72 },
73 'ambH' => {
74 'name' => 'Ambient Humidity',
75 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentHumid.1',
76 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1',
77 'min' => '0',
78 'max' => '100',
79 },
80 'timeR' => {
81 'name' => 'Time Remaining',
82 'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0',
83 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.3.0',
84 'factor' => 1/6000,
85 'min' => '0',
86 'max' => '360',
87 },
88 'timeO' => {
89 'name' => 'Time On Battery',
90 'oidtext' => 'PowerNet-MIB::upsBasicBatteryTimeOnBattery.0',
91 'oid' => '1.3.6.1.4.1.318.1.1.1.2.1.2.0',
92 'factor' => 1/6000,
93 'min' => '0',
94 'max' => '360',
95 },
96 },
97 },
98 {
99 'address' => "10.50.252.254",
100 'name' => "usv2",
101 'rrdfile' => "/var/spool/upsgraph/usv2.rrd",
102 'community' => "public",
103
104 'fields' => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'timeR', 'timeO' ],
105
106 'vars' => {
107 'inputV' => {
108 'name' => 'Input Voltage',
109 'oidtext' => 'PowerNet-MIB::upsAdvInputLineVoltage.0',
110 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.1.0',
111 'min' => '180',
112 'max' => '280',
113 },
114 'outputV' => {
115 'name' => 'Output Voltage',
116 'oidtext' => 'PowerNet-MIB::upsAdvOutputVoltage.0',
117 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.1.0',
118 'min' => '180',
119 'max' => '280',
120 },
121 'inputHZ' => {
122 'name' => 'Input Frequency',
123 'oidtext' => 'PowerNet-MIB::upsAdvInputFrequency.0',
124 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.4.0',
125 'min' => '40',
126 'max' => '60',
127 },
128 'outputHZ' => {
129 'name' => 'Output Frequency',
130 'oidtext' => 'PowerNet-MIB::upsAdvOutputFrequency.0',
131 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.2.0',
132 'min' => '40',
133 'max' => '60',
134 },
135 'battT' => {
136 'name' => 'Battery Temperature',
137 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
138 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
139 'min' => '0',
140 'max' => '100',
141 },
142 'battC' => {
143 'name' => 'Battery Capacity',
144 'oidtext' => 'PowerNet-MIB::upsAdvBatteryCapacity.0',
145 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.1.0',
146 'min' => '0',
147 'max' => '110',
148 },
149 'load' => {
150 'name' => 'UPS Load',
151 'oidtext' => 'PowerNet-MIB::upsAdvOutputLoad.0',
152 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.3.0',
153 'min' => '0',
154 'max' => '110',
155 },
156 'timeR' => {
157 'name' => 'Time Remaining',
158 'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0',
159 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.3.0',
160 'factor' => 1/6000,
161 'min' => '0',
162 'max' => '360',
163 },
164 'timeO' => {
165 'name' => 'Time On Battery',
166 'oidtext' => 'PowerNet-MIB::upsBasicBatteryTimeOnBattery.0',
167 'oid' => '1.3.6.1.4.1.318.1.1.1.2.1.2.0',
168 'factor' => 1/6000,
169 'min' => '0',
170 'max' => '360',
171 },
172 },
173 },
174 ];
175
176 1;
Impressum, Datenschutz