]> git.zerfleddert.de Git - upsgraph/blobdiff - megatec-netagent.conf
typo
[upsgraph] / megatec-netagent.conf
index c780152a24042219b226810098e65efa5fb9ef21..d67c3536f3cd289d1933ffd27c35538ce58bb61a 100644 (file)
@@ -11,7 +11,7 @@ $hosts =
                'rrdfile' => "/var/www/usv/.work/ups.rrd",
                'community' => "public",
 
-               'fields' => [ 'inputV', 'inputVmax', 'inputVmin', 'inputHZ', 'outputV', 'outputHZ', 'battC', 'battV', 'load', 'upsT', 'timeR' ],
+               'fields' => [ 'inputV', 'inputVmax', 'inputVmin', 'inputHZ', 'outputV', 'outputHZ', 'battC', 'battV', 'battA', 'load', 'upsT', 'timeR', 'timeO' ],
 
                'vars' => {
                        'inputV' => {
@@ -77,6 +77,14 @@ $hosts =
                                'max' => '3',
                                'factor' => 1/10,
                        },
+                       'battA' => {
+                               'name' => 'Battery Current',
+                               'oidtext' => 'XPPC-MIB::upsSmartBatteryCurrent.0',
+                               'oid' => '1.3.6.1.4.1.935.1.1.1.2.2.7.0',
+                               'min' => '0',
+                               'max' => '30',
+                               'factor' => 1/10,
+                       },
                        'load' => {
                                'name' => 'UPS Load',
                                'oidtext' => 'XPPC-MIB::upsSmartOutputLoad.0',
@@ -100,6 +108,14 @@ $hosts =
                                'min' => '0',
                                'max' => '360',
                        },
+                       'timeO' => {
+                               'name' => 'Time On Battery',
+                               'oidtext' => 'XPPC-MIB::upsBaseBatteryTimeOnBattery.0',
+                               'oid' => '1.3.6.1.4.1.935.1.1.1.2.1.2.0',
+                               'factor' => 1/60,
+                               'min' => '0',
+                               'max' => '360',
+                       },
                },
        },
 ];
Impressum, Datenschutz