]> git.zerfleddert.de Git - upsgraph/blob - apc-with-iem.conf
94ddc2602d3868678ecbef401e6d6cc7dad8ee9b
[upsgraph] / apc-with-iem.conf
1 package UPSGRAPH;
2
3 $host="10.50.252.253";
4 $rrdfile="/var/www/usv/.work/ups.rrd";
5 $outdir="/var/www/usv/";
6 $community="public";
7 $step=60;
8
9 @fields = ( 'inputV', 'outputV', 'inputHZ', 'outputHZ', 'battT', 'battC', 'load', 'ambT', 'ambH', 'timeR', 'timeO' );
10
11 $vars = {
12 'inputV' => {
13 'name' => 'Input Voltage',
14 'oidtext' => 'PowerNet-MIB::upsAdvInputLineVoltage.0',
15 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.1.0',
16 'min' => '180',
17 'max' => '280',
18 },
19 'outputV' => {
20 'name' => 'Output Voltage',
21 'oidtext' => 'PowerNet-MIB::upsAdvOutputVoltage.0',
22 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.1.0',
23 'min' => '180',
24 'max' => '280',
25 },
26 'inputHZ' => {
27 'name' => 'Input Frequency',
28 'oidtext' => 'PowerNet-MIB::upsAdvInputFrequency.0',
29 'oid' => '1.3.6.1.4.1.318.1.1.1.3.2.4.0',
30 'min' => '40',
31 'max' => '60',
32 },
33 'outputHZ' => {
34 'name' => 'Output Frequency',
35 'oidtext' => 'PowerNet-MIB::upsAdvOutputFrequency.0',
36 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.2.0',
37 'min' => '40',
38 'max' => '60',
39 },
40 'battT' => {
41 'name' => 'Battery Temperature',
42 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0',
43 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0',
44 'min' => '0',
45 'max' => '100',
46 },
47 'battC' => {
48 'name' => 'Battery Capacity',
49 'oidtext' => 'PowerNet-MIB::upsAdvBatteryCapacity.0',
50 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.1.0',
51 'min' => '0',
52 'max' => '110',
53 },
54 'load' => {
55 'name' => 'UPS Load',
56 'oidtext' => 'PowerNet-MIB::upsAdvOutputLoad.0',
57 'oid' => '1.3.6.1.4.1.318.1.1.1.4.2.3.0',
58 'min' => '0',
59 'max' => '110',
60 },
61 'ambT' => {
62 'name' => 'Ambient Temperature',
63 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentTemp.1',
64 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1',
65 'min' => '0',
66 'max' => '60',
67 },
68 'ambH' => {
69 'name' => 'Ambient Humidity',
70 'oidtext' => 'PowerNet-MIB::iemStatusProbeCurrentHumid.1',
71 'oid' => '1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1',
72 'min' => '0',
73 'max' => '100',
74 },
75 'timeR' => {
76 'name' => 'Time Remaining',
77 'oidtext' => 'PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0',
78 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.3.0',
79 'factor' => 1/6000,
80 'min' => '0',
81 'max' => '360',
82 },
83 'timeO' => {
84 'name' => 'Time On Battery',
85 'oidtext' => 'PowerNet-MIB::upsBasicBatteryTimeOnBattery.0',
86 'oid' => '1.3.6.1.4.1.318.1.1.1.2.1.2.0',
87 'factor' => 1/6000,
88 'min' => '0',
89 'max' => '360',
90 },
91 };
92
93 1;
Impressum, Datenschutz