]> git.zerfleddert.de Git - upsgraph/blob - megatec-netagent.conf
54db3ac02835fd79312cb296084bbce0b889b538
[upsgraph] / megatec-netagent.conf
1 package UPSGRAPH;
2
3 $outdir="/var/www/usv/";
4 $step=60;
5
6 $hosts =
7 [
8 {
9 'address' => "192.168.34.253",
10 'name' => "faui4usv",
11 'rrdfile' => "/var/www/usv/.work/ups.rrd",
12 'community' => "public",
13
14 'fields' => [ 'inputV', 'inputVmax', 'inputVmin', 'inputHZ', 'outputV', 'outputHZ', 'battC', 'battV', 'load', 'ambT', 'timeR' ],
15
16 'vars' => {
17 'inputV' => {
18 'name' => 'Input Voltage',
19 'oidtext' => 'XPPC-MIB::upsSmartInputLineVoltage.0',
20 'oid' => '1.3.6.1.4.1.935.1.1.1.3.2.1.0',
21 'min' => '180',
22 'max' => '280',
23 'factor' => 1/10,
24 },
25 'inputVmax' => {
26 'name' => 'Input Voltage (max)',
27 'oidtext' => 'XPPC-MIB::upsSmartInputMaxLineVoltage.0',
28 'oid' => '1.3.6.1.4.1.935.1.1.1.3.2.2.0',
29 'min' => '180',
30 'max' => '280',
31 'factor' => 1/10,
32 },
33 'inputVmin' => {
34 'name' => 'Input Voltage (min)',
35 'oidtext' => 'XPPC-MIB::upsSmartInputMinLineVoltage.0',
36 'oid' => '1.3.6.1.4.1.935.1.1.1.3.2.3.0',
37 'min' => '180',
38 'max' => '280',
39 'factor' => 1/10,
40 },
41 'inputHZ' => {
42 'name' => 'Input Frequency',
43 'oidtext' => 'XPPC-MIB::upsSmartInputFrequency.0',
44 'oid' => '1.3.6.1.4.1.935.1.1.1.3.2.4.0',
45 'min' => '40',
46 'max' => '60',
47 'factor' => 1/10,
48 },
49 'outputV' => {
50 'name' => 'Output Voltage',
51 'oidtext' => 'XPPC-MIB::upsSmartOutputVoltage.0',
52 'oid' => '1.3.6.1.4.1.935.1.1.1.4.2.1.0',
53 'min' => '180',
54 'max' => '280',
55 'factor' => 1/10,
56 },
57 'outputHZ' => {
58 'name' => 'Output Frequency',
59 'oidtext' => 'XPPC-MIB::upsSmartOutputFrequency.0',
60 'oid' => '1.3.6.1.4.1.935.1.1.1.4.2.2.0',
61 'min' => '40',
62 'max' => '60',
63 'factor' => 1/10,
64 },
65 'battC' => {
66 'name' => 'Battery Capacity',
67 'oidtext' => 'XPPC-MIB::upsSmartBatteryCapacity.0',
68 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.1.0',
69 'min' => '0',
70 'max' => '110',
71 },
72 'battV' => {
73 'name' => 'Battery Voltage',
74 'oidtext' => 'XPPC-MIB::upsSmartBatteryVoltage.0',
75 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.2.0',
76 'min' => '0',
77 'max' => '3',
78 'factor' => 1/10,
79 },
80 'load' => {
81 'name' => 'UPS Load',
82 'oidtext' => 'XPPC-MIB::upsSmartOutputLoad.0',
83 'oid' => '1.3.6.1.4.1.935.1.1.1.4.2.3.0',
84 'min' => '0',
85 'max' => '110',
86 },
87 'ambT' => {
88 'name' => 'Ambient Temperature',
89 'oidtext' => 'XPPC-MIB::upsSmartBatteryTemperature.0',
90 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.3.0',
91 'min' => '0',
92 'max' => '100',
93 'factor' => 1/10,
94 },
95 'timeR' => {
96 'name' => 'Time Remaining',
97 'oidtext' => 'XPPC-MIB::upsSmartBatteryRunTimeRemaining.0',
98 'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.4.0',
99 'factor' => 1/60,
100 'min' => '0',
101 'max' => '360',
102 },
103 },
104 },
105 ];
106
107 1;
Impressum, Datenschutz