]> git.zerfleddert.de Git - upsgraph/blame_incremental - apc.conf
add example for tr7432
[upsgraph] / apc.conf
... / ...
CommitLineData
1package UPSGRAPH;
2
3$outdir="/var/www/usv/";
4$step=60;
5
6$hosts =
7[
8 {
9 address => "10.50.252.253",
10 name => "usv1",
11 rrdfile => "/var/www/usv/.work/ups.rrd",
12 community => "public",
13
14 fields => [ 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', '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 'timeR' => {
67 'name' => 'Time Remaining',
68 'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0',
69 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.3.0',
70 'factor' => 1/6000,
71 'min' => '0',
72 'max' => '360',
73 },
74 'timeO' => {
75 'name' => 'Time On Battery',
76 'oidtext' => 'PowerNet-MIB::upsBasicBatteryTimeOnBattery.0',
77 'oid' => '1.3.6.1.4.1.318.1.1.1.2.1.2.0',
78 'factor' => 1/6000,
79 'min' => '0',
80 'max' => '360',
81 },
82 },
83 },
84];
85
861;
Impressum, Datenschutz