mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-20 00:22:03 +02:00
Delta UPS support, also by generalising rfc1628 support; recognize some more hardware
git-svn-id: http://www.observium.org/svn/observer/trunk@1562 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -120,9 +120,9 @@ if ($device['os'] == "mgeups")
|
||||
}
|
||||
|
||||
## Riello UPS
|
||||
if ($device['os'] == "netmanplus")
|
||||
if ($device['os'] == "netmanplus" || $device['os'] == 'deltaups')
|
||||
{
|
||||
echo("NetMan Plus ");
|
||||
echo("RFC1628 ");
|
||||
|
||||
$oids = snmp_walk($device, "1.3.6.1.2.1.33.1.2.6", "-Osqn", "UPS-MIB");
|
||||
if ($debug) { echo($oids."\n"); }
|
||||
@@ -139,7 +139,7 @@ if ($device['os'] == "netmanplus")
|
||||
$precision = 10;
|
||||
$current = snmp_get($device, $current_oid, "-O vq") / $precision;
|
||||
$descr = "Battery" . (count(explode("\n",$oids)) == 1 ? '' : ' ' . ($current_id+1));
|
||||
$type = "netmanplus";
|
||||
$type = "rfc1628";
|
||||
$index = 500+$current_id;
|
||||
echo discover_sensor($valid_sensor, 'current', $device, $current_oid, $index, $type, $descr, '10', '1', NULL, NULL, NULL, NULL, $current);
|
||||
}
|
||||
@@ -153,7 +153,7 @@ if ($device['os'] == "netmanplus")
|
||||
$current_oid = ".1.3.6.1.2.1.33.1.4.4.1.3.$i";
|
||||
$descr = "Output"; if ($numPhase > 1) $descr .= " Phase $i";
|
||||
$current = snmp_get($device, $current_oid, "-Oqv");
|
||||
$type = "netmanplus";
|
||||
$type = "rfc1628";
|
||||
$precision = 1;
|
||||
$index = $i;
|
||||
echo discover_sensor($valid_sensor, 'current', $device, $current_oid, $index, $type, $descr, '1', '1', NULL, NULL, NULL, NULL, $current);
|
||||
@@ -167,7 +167,7 @@ if ($device['os'] == "netmanplus")
|
||||
$current_oid = "1.3.6.1.2.1.33.1.3.3.1.4.$i";
|
||||
$descr = "Input"; if ($numPhase > 1) $descr .= " Phase $i";
|
||||
$current = snmp_get($device, $current_oid, "-Oqv");
|
||||
$type = "netmanplus";
|
||||
$type = "rfc1628";
|
||||
$precision = 1;
|
||||
$index = 100+$i;
|
||||
echo discover_sensor($valid_sensor, 'current', $device, $current_oid, $index, $type, $descr, '1', '1', NULL, NULL, NULL, NULL, $current);
|
||||
@@ -181,7 +181,7 @@ if ($device['os'] == "netmanplus")
|
||||
$current_oid = "1.3.6.1.2.1.33.1.5.3.1.3.$i";
|
||||
$descr = "Bypass"; if ($numPhase > 1) $descr .= " Phase $i";
|
||||
$current = snmp_get($device, $current_oid, "-Oqv");
|
||||
$type = "netmanplus";
|
||||
$type = "rfc1628";
|
||||
$precision = 1;
|
||||
$index = 200+$i;
|
||||
echo discover_sensor($valid_sensor, 'current', $device, $current_oid, $index, $type, $descr, '1', '1', NULL, NULL, NULL, NULL, $current);
|
||||
|
||||
@@ -45,10 +45,10 @@ if ($device['os'] == "mgeups")
|
||||
}
|
||||
}
|
||||
|
||||
## Riello UPS
|
||||
if ($device['os'] == "netmanplus")
|
||||
## RFC1628
|
||||
if ($device['os'] == "netmanplus" || $device['os'] == "deltaups")
|
||||
{
|
||||
echo("NetMan Plus ");
|
||||
echo("RFC1628 ");
|
||||
|
||||
$oids = trim(snmp_walk($device, "1.3.6.1.2.1.33.1.3.2.0", "-OsqnU"));
|
||||
if ($debug) { echo($oids."\n"); }
|
||||
@@ -58,7 +58,7 @@ if ($device['os'] == "netmanplus")
|
||||
$freq_oid = "1.3.6.1.2.1.33.1.3.3.1.2.$i";
|
||||
$descr = "Input"; if ($numPhase > 1) $descr .= " Phase $i";
|
||||
$current = snmp_get($device, $freq_oid, "-Oqv") / 10;
|
||||
$type = "netmanplus";
|
||||
$type = "rfc1628";
|
||||
$divisor = 10;
|
||||
$index = '3.2.0.'.$i;
|
||||
echo discover_sensor($valid_sensor, 'freq', $device, $freq_oid, $index, $type, $descr, $divisor, '1', NULL, NULL, NULL, NULL, $current);
|
||||
@@ -67,7 +67,7 @@ if ($device['os'] == "netmanplus")
|
||||
$freq_oid = "1.3.6.1.2.1.33.1.4.2.0";
|
||||
$descr = "Output";
|
||||
$current = snmp_get($device, $freq_oid, "-Oqv") / 10;
|
||||
$type = "netmanplus";
|
||||
$type = "rfc1628";
|
||||
$divisor = 10;
|
||||
$index = '4.2.0';
|
||||
echo discover_sensor($valid_sensor, 'freq', $device, $freq_oid, $index, $type, $descr, $divisor, '1', NULL, NULL, NULL, NULL, $current);
|
||||
@@ -75,7 +75,7 @@ if ($device['os'] == "netmanplus")
|
||||
$freq_oid = "1.3.6.1.2.1.33.1.5.1.0";
|
||||
$descr = "Bypass";
|
||||
$current = snmp_get($device, $freq_oid, "-Oqv") / 10;
|
||||
$type = "netmanplus";
|
||||
$type = "rfc1628";
|
||||
$divisor = 10;
|
||||
$index = '5.1.0';
|
||||
echo discover_sensor($valid_sensor, 'freq', $device, $freq_oid, $index, $type, $descr, $divisor, '1', NULL, NULL, NULL, NULL, $current);
|
||||
|
||||
@@ -2,12 +2,14 @@
|
||||
|
||||
echo("IP Addresses : ");
|
||||
|
||||
# FIXME function!
|
||||
$oids = shell_exec($config['snmpwalk'] . " -M " . $config['mibdir'] . " -m IP-MIB -".$device['snmpver']." -Osq -c ".$device['community']." ".$device['hostname'].":".$device['port']." ipAdEntIfIndex");
|
||||
$oids = trim($oids);
|
||||
$oids = str_replace("ipAdEntIfIndex.", "", $oids);
|
||||
foreach(explode("\n", $oids) as $data) {
|
||||
$data = trim($data);
|
||||
list($oid,$ifIndex) = explode(" ", $data);
|
||||
# FIXME function!
|
||||
$mask = shell_exec($config['snmpget']. " -M " . $config['mibdir'] ." -m IP-MIB -O qv -".$device['snmpver']." -c ".$device['community']." ".$device['hostname'].":".$device['port']." ipAdEntNetMask.$oid");
|
||||
$mask = trim($mask);
|
||||
$network = trim(shell_exec ($config['ipcalc'] . " $oid/$mask | grep Network | cut -d\" \" -f 4"));
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
if(!$os)
|
||||
{
|
||||
if (strstr($sysObjectId, ".1.3.6.1.4.1.2254.2.4")) { $os = "deltaups"; }
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -4,6 +4,7 @@ if(!$os) {
|
||||
|
||||
if(strstr($sysDescr, "JETDIRECT")) { $os = "jetdirect"; }
|
||||
else if(strstr($sysDescr, "HP ETHERNET MULTI-ENVIRONMENT")) { $os = "jetdirect"; }
|
||||
else if(strstr($sysObjectId, ".1.3.6.1.4.1.11.1")) { $os = "jetdirect"; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@ if(!$os)
|
||||
{
|
||||
if(strstr($sysObjectId, ".1.3.6.1.4.1.901.1")) { $os = "wxgoos"; }
|
||||
}
|
||||
|
||||
if (strstr($sysObjectId, ".1.3.6.1.4.1.17373")) { $os = "wxgoos"; }
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
+3
-3
@@ -2,12 +2,12 @@
|
||||
|
||||
global $valid_sensor;
|
||||
|
||||
if($device['os'] == "netmanplus")
|
||||
if($device['os'] == "netmanplus" || $device['os'] == 'deltaups')
|
||||
{
|
||||
$oids = snmp_walk($device, "1.3.6.1.2.1.33.1.2.7", "-Osqn", "UPS-MIB");
|
||||
if ($debug) { echo($oids."\n"); }
|
||||
$oids = trim($oids);
|
||||
if ($oids) echo("NetMan Plus Battery Temperature ");
|
||||
if ($oids) echo("RFC1628 Battery Temperature ");
|
||||
foreach(explode("\n", $oids) as $data)
|
||||
{
|
||||
$data = trim($data);
|
||||
@@ -19,7 +19,7 @@ if($device['os'] == "netmanplus")
|
||||
$temperature_oid = "1.3.6.1.2.1.33.1.2.7.$temperature_id";
|
||||
$temperature = snmp_get($device, $temperature_oid, "-Ovq");
|
||||
$descr = "Battery" . (count(explode("\n",$oids)) == 1 ? '' : ' ' . ($temperature_id+1));
|
||||
discover_sensor($valid_sensor, 'temperature', $device, $temperature_oid, $temperature_id, 'netmanplus', $descr, '1', '1', NULL, NULL, NULL, NULL, $temperature);
|
||||
discover_sensor($valid_sensor, 'temperature', $device, $temperature_oid, $temperature_id, 'rfc1628', $descr, '1', '1', NULL, NULL, NULL, NULL, $temperature);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -205,10 +205,10 @@ if ($device['os'] == "mgeups")
|
||||
}
|
||||
}
|
||||
|
||||
## Riello UPS Voltages
|
||||
if ($device['os'] == "netmanplus")
|
||||
## RFC1628 UPS Voltages
|
||||
if ($device['os'] == "netmanplus" || $device['os'] == "deltaups")
|
||||
{
|
||||
echo("NetMan Plus ");
|
||||
echo("RFC1628 ");
|
||||
|
||||
$oids = snmp_walk($device, "1.3.6.1.2.1.33.1.2.5", "-Osqn", "UPS-MIB");
|
||||
if ($debug) { echo($oids."\n"); }
|
||||
@@ -226,8 +226,8 @@ if ($device['os'] == "netmanplus")
|
||||
$volt = snmp_get($device, $volt_oid, "-O vq") / $divisor;
|
||||
#$volt = trim(shell_exec($config['snmpget'] . " -O qv -$snmpver -c $community $hostname:$port $volt_oid")) / $divisor;
|
||||
$descr = "Battery" . (count(explode("\n",$oids)) == 1 ? '' : ' ' . ($volt_id+1));
|
||||
$type = "netmanplus";
|
||||
$index = 500+$volt_id;
|
||||
$type = "rfc1628";
|
||||
$index = "1.2.5.".$volt_id;
|
||||
echo discover_sensor($valid_sensor, 'voltage', $device, $volt_oid, $index, $type, $descr, $divisor, '1', NULL, NULL, NULL, NULL, $volt);
|
||||
}
|
||||
}
|
||||
@@ -237,12 +237,12 @@ if ($device['os'] == "netmanplus")
|
||||
list($unused,$numPhase) = explode(' ',$oids);
|
||||
for($i = 1; $i <= $numPhase;$i++)
|
||||
{
|
||||
$volt_oid = ".1.3.6.1.2.1.33.1.4.4.1.2.$i";
|
||||
$descr = "Output"; if ($numPhase > 1) $descr .= " Phase $i";
|
||||
$current = snmp_get($device, $volt_oid, "-Oqv");
|
||||
$type = "netmanplus";
|
||||
$divisor = 1;
|
||||
$index = $i;
|
||||
$volt_oid = ".1.3.6.1.2.1.33.1.4.4.1.2.$i";
|
||||
$descr = "Output"; if ($numPhase > 1) $descr .= " Phase $i";
|
||||
$type = "rfc1628";
|
||||
$divisor = 10; if ($device['os'] == "netmanplus") { $divisor = 1; };
|
||||
$current = snmp_get($device, $volt_oid, "-Oqv") / $divisor;
|
||||
$index = $i;
|
||||
echo discover_sensor($valid_sensor, 'voltage', $device, $volt_oid, $index, $type, $descr, $divisor, '1', NULL, NULL, NULL, NULL, $current);
|
||||
}
|
||||
|
||||
@@ -251,12 +251,12 @@ if ($device['os'] == "netmanplus")
|
||||
list($unused,$numPhase) = explode(' ',$oids);
|
||||
for($i = 1; $i <= $numPhase;$i++)
|
||||
{
|
||||
$volt_oid = "1.3.6.1.2.1.33.1.3.3.1.3.$i";
|
||||
$descr = "Input"; if ($numPhase > 1) $descr .= " Phase $i";
|
||||
$current = snmp_get($device, $volt_oid, "-Oqv");
|
||||
$type = "netmanplus";
|
||||
$divisor = 1;
|
||||
$index = 100+$i;
|
||||
$volt_oid = "1.3.6.1.2.1.33.1.3.3.1.3.$i";
|
||||
$descr = "Input"; if ($numPhase > 1) $descr .= " Phase $i";
|
||||
$type = "rfc1628";
|
||||
$divisor = 10; if ($device['os'] == "netmanplus") { $divisor = 1; };
|
||||
$current = snmp_get($device, $volt_oid, "-Oqv") / $divisor;
|
||||
$index = 100+$i;
|
||||
echo discover_sensor($valid_sensor, 'voltage', $device, $volt_oid, $index, $type, $descr, $divisor, '1', NULL, NULL, NULL, NULL, $current);
|
||||
}
|
||||
|
||||
@@ -265,12 +265,12 @@ if ($device['os'] == "netmanplus")
|
||||
list($unused,$numPhase) = explode(' ',$oids);
|
||||
for($i = 1; $i <= $numPhase;$i++)
|
||||
{
|
||||
$volt_oid = "1.3.6.1.2.1.33.1.5.3.1.2.$i";
|
||||
$descr = "Bypass"; if ($numPhase > 1) $descr .= " Phase $i";
|
||||
$current = snmp_get($device, $volt_oid, "-Oqv");
|
||||
$type = "netmanplus";
|
||||
$divisor = 1;
|
||||
$index = 200+$i;
|
||||
$volt_oid = "1.3.6.1.2.1.33.1.5.3.1.2.$i";
|
||||
$descr = "Bypass"; if ($numPhase > 1) $descr .= " Phase $i";
|
||||
$type = "rfc1628";
|
||||
$divisor = 10; if ($device['os'] == "netmanplus") { $divisor = 1; };
|
||||
$current = snmp_get($device, $volt_oid, "-Oqv") / $divisor;
|
||||
$index = 200+$i;
|
||||
echo discover_sensor($valid_sensor, 'voltage', $device, $volt_oid, $index, $type, $descr, $divisor, '1', NULL, NULL, NULL, NULL, $current);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
if($data[1]['entPhysicalContainedIn'] == "0")
|
||||
{
|
||||
echo("woo");
|
||||
if(isset($data[1]['entPhysicalSoftwareRev']) && $data[1]['entPhysicalSoftwareRev'] != "")
|
||||
{
|
||||
$version = $data[1]['entPhysicalSoftwareRev'];
|
||||
|
||||
@@ -252,6 +252,10 @@ $os = "gamatronicups";
|
||||
$config['os'][$os]['text'] = "Gamatronic UPS Stack";
|
||||
$config['os'][$os]['type'] = "power";
|
||||
|
||||
$os = "deltaups";
|
||||
$config['os'][$os]['text'] = "Delta UPS";
|
||||
$config['os'][$os]['type'] = "power";
|
||||
|
||||
$os = "airport";
|
||||
$config['os'][$os]['type'] = "network";
|
||||
$config['os'][$os]['text'] = "Apple AirPort";
|
||||
|
||||
-1913
File diff suppressed because it is too large
Load Diff
@@ -1,953 +0,0 @@
|
||||
-- automatically generated by mosy 7.1 #379 (dbc), do not edit!
|
||||
|
||||
UPS-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
|
||||
IMPORTS
|
||||
TRAP-TYPE
|
||||
FROM RFC-1215
|
||||
mib-2, DisplayString
|
||||
FROM RFC1213-MIB
|
||||
OBJECT-TYPE
|
||||
FROM RFC-1212
|
||||
Gauge, Counter
|
||||
FROM RFC1155-SMI;
|
||||
|
||||
-- created from upsMIB (9402230000Z)
|
||||
|
||||
upsMIB OBJECT IDENTIFIER ::= { mib-2 33 }
|
||||
|
||||
PositiveInteger ::=
|
||||
INTEGER
|
||||
|
||||
NonNegativeInteger ::=
|
||||
INTEGER
|
||||
|
||||
upsObjects OBJECT IDENTIFIER ::= { upsMIB 1 }
|
||||
|
||||
upsIdent OBJECT IDENTIFIER ::= { upsObjects 1 }
|
||||
|
||||
upsIdentManufacturer OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The name of the UPS manufacturer."
|
||||
::= { upsIdent 1 }
|
||||
|
||||
upsIdentModel OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The UPS Model designation."
|
||||
::= { upsIdent 2 }
|
||||
|
||||
upsIdentUPSSoftwareVersion OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The UPS firmware/software version(s). This variable
|
||||
may or may not have the same value as
|
||||
upsIdentAgentSoftwareVersion in some implementations."
|
||||
::= { upsIdent 3 }
|
||||
|
||||
upsIdentAgentSoftwareVersion OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The UPS agent software version. This variable may or
|
||||
may not have the same value as
|
||||
upsIdentUPSSoftwareVersion in some implementations."
|
||||
::= { upsIdent 4 }
|
||||
|
||||
upsIdentName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A string identifying the UPS. This object should be
|
||||
set by the administrator."
|
||||
::= { upsIdent 5 }
|
||||
|
||||
upsIdentAttachedDevices OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A string identifying the devices attached to the
|
||||
output(s) of the UPS. This object should be set by
|
||||
the administrator."
|
||||
::= { upsIdent 6 }
|
||||
|
||||
upsBattery OBJECT IDENTIFIER ::= { upsObjects 2 }
|
||||
|
||||
upsBatteryStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
unknown(1),
|
||||
batteryNormal(2),
|
||||
batteryLow(3),
|
||||
batteryDepleted(4)
|
||||
}
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The indication of the capacity remaining in the UPS
|
||||
system's batteries. A value of batteryNormal
|
||||
indicates that the remaining run-time is greater than
|
||||
upsConfigLowBattTime. A value of batteryLow indicates
|
||||
that the remaining battery run-time is less than or
|
||||
equal to upsConfigLowBattTime. A value of
|
||||
batteryDepleted indicates that the UPS will be unable
|
||||
to sustain the present load when and if the utility
|
||||
power is lost (including the possibility that the
|
||||
utility power is currently absent and the UPS is
|
||||
unable to sustain the output)."
|
||||
::= { upsBattery 1 }
|
||||
|
||||
upsSecondsOnBattery OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS seconds
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"If the unit is on battery power, the elapsed time
|
||||
since the UPS last switched to battery power, or the
|
||||
time since the network management subsystem was last
|
||||
restarted, whichever is less. Zero shall be returned
|
||||
if the unit is not on battery power."
|
||||
::= { upsBattery 2 }
|
||||
|
||||
upsEstimatedMinutesRemaining OBJECT-TYPE
|
||||
SYNTAX PositiveInteger -- UNITS minutes
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"An estimate of the time to battery charge depletion
|
||||
under the present load conditions if the utility power
|
||||
is off and remains off, or if it were to be lost and
|
||||
remain off."
|
||||
::= { upsBattery 3 }
|
||||
|
||||
upsEstimatedChargeRemaining OBJECT-TYPE
|
||||
SYNTAX INTEGER -- UNITS percent
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"An estimate of the battery charge remaining expressed
|
||||
as a percent of full charge."
|
||||
::= { upsBattery 4 }
|
||||
|
||||
upsBatteryVoltage OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS 0.1 Volt DC
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The magnitude of the present battery voltage."
|
||||
::= { upsBattery 5 }
|
||||
|
||||
upsBatteryCurrent OBJECT-TYPE
|
||||
SYNTAX INTEGER (-2147483648..2147483647) -- UNITS 0.1 Amp DC
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present battery current."
|
||||
::= { upsBattery 6 }
|
||||
|
||||
upsBatteryTemperature OBJECT-TYPE
|
||||
SYNTAX INTEGER (-2147483648..2147483647) -- UNITS degrees Centigrade
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The ambient temperature at or near the UPS Battery
|
||||
casing."
|
||||
::= { upsBattery 7 }
|
||||
|
||||
upsInput OBJECT IDENTIFIER ::= { upsObjects 3 }
|
||||
|
||||
upsInputLineBads OBJECT-TYPE
|
||||
SYNTAX Counter
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A count of the number of times the input entered an
|
||||
out-of-tolerance condition as defined by the
|
||||
manufacturer. This count is incremented by one each
|
||||
time the input transitions from zero out-of-tolerance
|
||||
lines to one or more input lines out-of-tolerance."
|
||||
::= { upsInput 1 }
|
||||
|
||||
upsInputNumLines OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of input lines utilized in this device.
|
||||
This variable indicates the number of rows in the
|
||||
input table."
|
||||
::= { upsInput 2 }
|
||||
|
||||
upsInputTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF UpsInputEntry
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A list of input table entries. The number of entries
|
||||
is given by the value of upsInputNumLines."
|
||||
::= { upsInput 3 }
|
||||
|
||||
upsInputEntry OBJECT-TYPE
|
||||
SYNTAX UpsInputEntry
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"An entry containing information applicable to a
|
||||
particular input line."
|
||||
INDEX { upsInputLineIndex }
|
||||
::= { upsInputTable 1 }
|
||||
|
||||
UpsInputEntry ::=
|
||||
SEQUENCE {
|
||||
upsInputLineIndex
|
||||
PositiveInteger,
|
||||
|
||||
upsInputFrequency
|
||||
NonNegativeInteger,
|
||||
|
||||
upsInputVoltage
|
||||
NonNegativeInteger,
|
||||
|
||||
upsInputCurrent
|
||||
NonNegativeInteger,
|
||||
|
||||
upsInputTruePower
|
||||
NonNegativeInteger
|
||||
}
|
||||
|
||||
upsInputLineIndex OBJECT-TYPE
|
||||
SYNTAX PositiveInteger
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The input line identifier."
|
||||
::= { upsInputEntry 1 }
|
||||
|
||||
upsInputFrequency OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS 0.1 Hertz
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present input frequency."
|
||||
::= { upsInputEntry 2 }
|
||||
|
||||
upsInputVoltage OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS RMS Volts
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The magnitude of the present input voltage."
|
||||
::= { upsInputEntry 3 }
|
||||
|
||||
upsInputCurrent OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS 0.1 RMS Amp
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The magnitude of the present input current."
|
||||
::= { upsInputEntry 4 }
|
||||
|
||||
upsInputTruePower OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS Watts
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The magnitude of the present input true power."
|
||||
::= { upsInputEntry 5 }
|
||||
|
||||
upsOutput OBJECT IDENTIFIER ::= { upsObjects 4 }
|
||||
|
||||
upsOutputSource OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
other(1),
|
||||
none(2),
|
||||
normal(3),
|
||||
bypass(4),
|
||||
battery(5),
|
||||
booster(6),
|
||||
reducer(7)
|
||||
}
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present source of output power. The enumeration
|
||||
none(2) indicates that there is no source of output
|
||||
power (and therefore no output power), for example,
|
||||
the system has opened the output breaker."
|
||||
::= { upsOutput 1 }
|
||||
|
||||
upsOutputFrequency OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS 0.1 Hertz
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present output frequency."
|
||||
::= { upsOutput 2 }
|
||||
|
||||
upsOutputNumLines OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of output lines utilized in this device.
|
||||
This variable indicates the number of rows in the
|
||||
output table."
|
||||
::= { upsOutput 3 }
|
||||
|
||||
upsOutputTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF UpsOutputEntry
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A list of output table entries. The number of
|
||||
entries is given by the value of upsOutputNumLines."
|
||||
::= { upsOutput 4 }
|
||||
|
||||
upsOutputEntry OBJECT-TYPE
|
||||
SYNTAX UpsOutputEntry
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"An entry containing information applicable to a
|
||||
particular output line."
|
||||
INDEX { upsOutputLineIndex }
|
||||
::= { upsOutputTable 1 }
|
||||
|
||||
UpsOutputEntry ::=
|
||||
SEQUENCE {
|
||||
upsOutputLineIndex
|
||||
PositiveInteger,
|
||||
|
||||
upsOutputVoltage
|
||||
NonNegativeInteger,
|
||||
|
||||
upsOutputCurrent
|
||||
NonNegativeInteger,
|
||||
|
||||
upsOutputPower
|
||||
NonNegativeInteger,
|
||||
|
||||
upsOutputPercentLoad
|
||||
INTEGER
|
||||
}
|
||||
|
||||
upsOutputLineIndex OBJECT-TYPE
|
||||
SYNTAX PositiveInteger
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The output line identifier."
|
||||
::= { upsOutputEntry 1 }
|
||||
|
||||
upsOutputVoltage OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS RMS Volts
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present output voltage."
|
||||
::= { upsOutputEntry 2 }
|
||||
|
||||
upsOutputCurrent OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS 0.1 RMS Amp
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present output current."
|
||||
::= { upsOutputEntry 3 }
|
||||
|
||||
upsOutputPower OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS Watts
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present output true power."
|
||||
::= { upsOutputEntry 4 }
|
||||
|
||||
upsOutputPercentLoad OBJECT-TYPE
|
||||
SYNTAX INTEGER -- UNITS percent
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The percentage of the UPS power capacity presently
|
||||
being used on this output line, i.e., the greater of
|
||||
the percent load of true power capacity and the
|
||||
percent load of VA."
|
||||
::= { upsOutputEntry 5 }
|
||||
|
||||
upsBypass OBJECT IDENTIFIER ::= { upsObjects 5 }
|
||||
|
||||
upsBypassFrequency OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS 0.1 Hertz
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present bypass frequency."
|
||||
::= { upsBypass 1 }
|
||||
|
||||
upsBypassNumLines OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of bypass lines utilized in this device.
|
||||
This entry indicates the number of rows in the bypass
|
||||
table."
|
||||
::= { upsBypass 2 }
|
||||
|
||||
upsBypassTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF UpsBypassEntry
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A list of bypass table entries. The number of
|
||||
entries is given by the value of upsBypassNumLines."
|
||||
::= { upsBypass 3 }
|
||||
|
||||
upsBypassEntry OBJECT-TYPE
|
||||
SYNTAX UpsBypassEntry
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"An entry containing information applicable to a
|
||||
particular bypass input."
|
||||
INDEX { upsBypassLineIndex }
|
||||
::= { upsBypassTable 1 }
|
||||
|
||||
UpsBypassEntry ::=
|
||||
SEQUENCE {
|
||||
upsBypassLineIndex
|
||||
PositiveInteger,
|
||||
|
||||
upsBypassVoltage
|
||||
NonNegativeInteger,
|
||||
|
||||
upsBypassCurrent
|
||||
NonNegativeInteger,
|
||||
|
||||
upsBypassPower
|
||||
NonNegativeInteger
|
||||
}
|
||||
|
||||
upsBypassLineIndex OBJECT-TYPE
|
||||
SYNTAX PositiveInteger
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The bypass line identifier."
|
||||
::= { upsBypassEntry 1 }
|
||||
|
||||
upsBypassVoltage OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS RMS Volts
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present bypass voltage."
|
||||
::= { upsBypassEntry 2 }
|
||||
|
||||
upsBypassCurrent OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS 0.1 RMS Amp
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present bypass current."
|
||||
::= { upsBypassEntry 3 }
|
||||
|
||||
upsBypassPower OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS Watts
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present true power conveyed by the bypass."
|
||||
::= { upsBypassEntry 4 }
|
||||
|
||||
upsAlarm OBJECT IDENTIFIER ::= { upsObjects 6 }
|
||||
|
||||
upsAlarmsPresent OBJECT-TYPE
|
||||
SYNTAX Gauge
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The present number of active alarm conditions."
|
||||
::= { upsAlarm 1 }
|
||||
|
||||
upsAlarmTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF UpsAlarmEntry
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A list of alarm table entries. The table contains
|
||||
zero, one, or many rows at any moment, depending upon
|
||||
the number of alarm conditions in effect. The table
|
||||
is initially empty at agent startup. The agent
|
||||
creates a row in the table each time a condition is
|
||||
detected and deletes that row when that condition no
|
||||
longer pertains. The agent creates the first row with
|
||||
upsAlarmId equal to 1, and increments the value of
|
||||
upsAlarmId each time a new row is created, wrapping to
|
||||
the first free value greater than or equal to 1 when
|
||||
the maximum value of upsAlarmId would otherwise be
|
||||
exceeded. Consequently, after multiple operations,
|
||||
the table may become sparse, e.g., containing entries
|
||||
for rows 95, 100, 101, and 203 and the entries should
|
||||
not be assumed to be in chronological order because
|
||||
upsAlarmId might have wrapped.
|
||||
|
||||
Alarms are named by an AutonomousType (OBJECT
|
||||
IDENTIFIER), upsAlarmDescr, to allow a single table to
|
||||
reflect well known alarms plus alarms defined by a
|
||||
particular implementation, i.e., as documented in the
|
||||
private enterprise MIB definition for the device. No
|
||||
two rows will have the same value of upsAlarmDescr,
|
||||
since alarms define conditions. In order to meet this
|
||||
requirement, care should be taken in the definition of
|
||||
alarm conditions to insure that a system cannot enter
|
||||
the same condition multiple times simultaneously.
|
||||
|
||||
The number of rows in the table at any given time is
|
||||
reflected by the value of upsAlarmsPresent."
|
||||
::= { upsAlarm 2 }
|
||||
|
||||
upsAlarmEntry OBJECT-TYPE
|
||||
SYNTAX UpsAlarmEntry
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"An entry containing information applicable to a
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
particular alarm."
|
||||
INDEX { upsAlarmId }
|
||||
::= { upsAlarmTable 1 }
|
||||
|
||||
UpsAlarmEntry ::=
|
||||
SEQUENCE {
|
||||
upsAlarmId
|
||||
PositiveInteger,
|
||||
|
||||
upsAlarmDescr
|
||||
OBJECT IDENTIFIER,
|
||||
|
||||
upsAlarmTime
|
||||
PositiveInteger
|
||||
}
|
||||
|
||||
upsAlarmId OBJECT-TYPE
|
||||
SYNTAX PositiveInteger
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A unique identifier for an alarm condition. This
|
||||
value must remain constant."
|
||||
::= { upsAlarmEntry 1 }
|
||||
|
||||
upsAlarmDescr OBJECT-TYPE
|
||||
SYNTAX OBJECT IDENTIFIER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A reference to an alarm description object. The
|
||||
object referenced should not be accessible, but rather
|
||||
be used to provide a unique description of the alarm
|
||||
condition."
|
||||
::= { upsAlarmEntry 2 }
|
||||
|
||||
upsAlarmTime OBJECT-TYPE
|
||||
SYNTAX PositiveInteger
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The value of sysUpTime when the alarm condition was
|
||||
detected. If the alarm condition was detected at the
|
||||
time of agent startup and presumably existed before
|
||||
agent startup, the value of upsAlarmTime shall equal
|
||||
0."
|
||||
::= { upsAlarmEntry 3 }
|
||||
|
||||
upsWellKnownAlarms OBJECT IDENTIFIER ::= { upsAlarm 3 }
|
||||
|
||||
upsAlarmBatteryBad OBJECT IDENTIFIER ::= { upsWellKnownAlarms 1 }
|
||||
|
||||
upsAlarmOnBattery OBJECT IDENTIFIER ::= { upsWellKnownAlarms 2 }
|
||||
|
||||
upsAlarmLowBattery OBJECT IDENTIFIER ::= { upsWellKnownAlarms 3 }
|
||||
|
||||
upsAlarmDepletedBattery OBJECT IDENTIFIER ::= { upsWellKnownAlarms 4 }
|
||||
|
||||
upsAlarmTempBad OBJECT IDENTIFIER ::= { upsWellKnownAlarms 5 }
|
||||
|
||||
upsAlarmInputBad OBJECT IDENTIFIER ::= { upsWellKnownAlarms 6 }
|
||||
|
||||
upsAlarmOutputBad OBJECT IDENTIFIER ::= { upsWellKnownAlarms 7 }
|
||||
|
||||
upsAlarmOutputOverload OBJECT IDENTIFIER ::= { upsWellKnownAlarms 8 }
|
||||
|
||||
upsAlarmOnBypass OBJECT IDENTIFIER ::= { upsWellKnownAlarms 9 }
|
||||
|
||||
upsAlarmBypassBad OBJECT IDENTIFIER ::= { upsWellKnownAlarms 10 }
|
||||
|
||||
upsAlarmOutputOffAsRequested OBJECT IDENTIFIER ::= { upsWellKnownAlarms 11 }
|
||||
|
||||
upsAlarmUpsOffAsRequested OBJECT IDENTIFIER ::= { upsWellKnownAlarms 12 }
|
||||
|
||||
upsAlarmChargerFailed OBJECT IDENTIFIER ::= { upsWellKnownAlarms 13 }
|
||||
|
||||
upsAlarmUpsOutputOff OBJECT IDENTIFIER ::= { upsWellKnownAlarms 14 }
|
||||
|
||||
upsAlarmUpsSystemOff OBJECT IDENTIFIER ::= { upsWellKnownAlarms 15 }
|
||||
|
||||
upsAlarmFanFailure OBJECT IDENTIFIER ::= { upsWellKnownAlarms 16 }
|
||||
|
||||
upsAlarmFuseFailure OBJECT IDENTIFIER ::= { upsWellKnownAlarms 17 }
|
||||
|
||||
upsAlarmGeneralFault OBJECT IDENTIFIER ::= { upsWellKnownAlarms 18 }
|
||||
|
||||
upsAlarmDiagnosticTestFailed OBJECT IDENTIFIER ::= { upsWellKnownAlarms 19 }
|
||||
|
||||
upsAlarmCommunicationsLost OBJECT IDENTIFIER ::= { upsWellKnownAlarms 20 }
|
||||
|
||||
upsAlarmAwaitingPower OBJECT IDENTIFIER ::= { upsWellKnownAlarms 21 }
|
||||
|
||||
upsAlarmShutdownPending OBJECT IDENTIFIER ::= { upsWellKnownAlarms 22 }
|
||||
|
||||
upsAlarmShutdownImminent OBJECT IDENTIFIER ::= { upsWellKnownAlarms 23 }
|
||||
|
||||
upsAlarmTestInProgress OBJECT IDENTIFIER ::= { upsWellKnownAlarms 24 }
|
||||
|
||||
upsControl OBJECT IDENTIFIER ::= { upsObjects 8 }
|
||||
|
||||
upsShutdownType OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
output(1),
|
||||
system(2)
|
||||
}
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"This object determines the nature of the action to be
|
||||
taken at the time when the countdown of the
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
upsShutdownAfterDelay and upsRebootWithDuration
|
||||
objects reaches zero.
|
||||
|
||||
Setting this object to output(1) indicates that
|
||||
shutdown requests should cause only the output of the
|
||||
UPS to turn off. Setting this object to system(2)
|
||||
indicates that shutdown requests will cause the entire
|
||||
UPS system to turn off."
|
||||
::= { upsControl 1 }
|
||||
|
||||
upsShutdownAfterDelay OBJECT-TYPE
|
||||
SYNTAX INTEGER -- UNITS seconds
|
||||
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Setting this object will shutdown (i.e., turn off)
|
||||
either the UPS output or the UPS system (as determined
|
||||
by the value of upsShutdownType at the time of
|
||||
shutdown) after the indicated number of seconds, or
|
||||
less if the UPS batteries become depleted. Setting
|
||||
this object to 0 will cause the shutdown to occur
|
||||
immediately. Setting this object to -1 will abort the
|
||||
countdown. If the system is already in the desired
|
||||
state at the time the countdown reaches 0, then
|
||||
nothing will happen. That is, there is no additional
|
||||
action at that time if upsShutdownType = system and
|
||||
the system is already off. Similarly, there is no
|
||||
additional action at that time if upsShutdownType =
|
||||
output and the output is already off. When read,
|
||||
upsShutdownAfterDelay will return the number of
|
||||
seconds remaining until shutdown, or -1 if no shutdown
|
||||
countdown is in effect. On some systems, if the agent
|
||||
is restarted while a shutdown countdown is in effect,
|
||||
the countdown may be aborted. Sets to this object
|
||||
override any upsShutdownAfterDelay already in effect."
|
||||
::= { upsControl 2 }
|
||||
|
||||
upsStartupAfterDelay OBJECT-TYPE
|
||||
SYNTAX INTEGER -- UNITS seconds
|
||||
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Setting this object will start the output after the
|
||||
indicated number of seconds, including starting the
|
||||
UPS, if necessary. Setting this object to 0 will
|
||||
cause the startup to occur immediately. Setting this
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
object to -1 will abort the countdown. If the output
|
||||
is already on at the time the countdown reaches 0,
|
||||
then nothing will happen. Sets to this object
|
||||
override the effect of any upsStartupAfterDelay
|
||||
countdown or upsRebootWithDuration countdown in
|
||||
progress. When read, upsStartupAfterDelay will return
|
||||
the number of seconds until startup, or -1 if no
|
||||
startup countdown is in effect. If the countdown
|
||||
expires during a utility failure, the startup shall
|
||||
not occur until the utility power is restored. On
|
||||
some systems, if the agent is restarted while a
|
||||
startup countdown is in effect, the countdown is
|
||||
aborted."
|
||||
::= { upsControl 3 }
|
||||
|
||||
upsRebootWithDuration OBJECT-TYPE
|
||||
SYNTAX INTEGER -- UNITS seconds
|
||||
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Setting this object will immediately shutdown (i.e.,
|
||||
turn off) either the UPS output or the UPS system (as
|
||||
determined by the value of upsShutdownType at the time
|
||||
of shutdown) for a period equal to the indicated
|
||||
number of seconds, after which time the output will be
|
||||
started, including starting the UPS, if necessary. If
|
||||
the number of seconds required to perform the request
|
||||
is greater than the requested duration, then the
|
||||
requested shutdown and startup cycle shall be
|
||||
performed in the minimum time possible, but in no case
|
||||
shall this require more than the requested duration
|
||||
plus 60 seconds. When read, upsRebootWithDuration
|
||||
shall return the number of seconds remaining in the
|
||||
countdown, or -1 if no countdown is in progress. If
|
||||
the startup should occur during a utility failure, the
|
||||
startup shall not occur until the utility power is
|
||||
restored."
|
||||
::= { upsControl 4 }
|
||||
|
||||
upsAutoRestart OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
on(1),
|
||||
off(2)
|
||||
}
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Setting this object to 'on' will cause the UPS system
|
||||
to restart after a shutdown if the shutdown occurred
|
||||
during a power loss as a result of either a
|
||||
upsShutdownAfterDelay or an internal battery depleted
|
||||
condition. Setting this object to 'off' will prevent
|
||||
the UPS system from restarting after a shutdown until
|
||||
an operator manually or remotely explicitly restarts
|
||||
it. If the UPS is in a startup or reboot countdown,
|
||||
then the UPS will not restart until that delay has
|
||||
been satisfied."
|
||||
::= { upsControl 5 }
|
||||
|
||||
upsConfig OBJECT IDENTIFIER ::= { upsObjects 9 }
|
||||
|
||||
upsConfigInputVoltage OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS RMS Volts
|
||||
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The magnitude of the nominal input voltage. On those
|
||||
systems which support read-write access to this
|
||||
object, if there is an attempt to set this variable to
|
||||
a value that is not supported, the request must be
|
||||
rejected and the agent shall respond with an
|
||||
appropriate error message, i.e., badValue for SNMPv1,
|
||||
or inconsistentValue for SNMPv2."
|
||||
::= { upsConfig 1 }
|
||||
|
||||
upsConfigInputFreq OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS 0.1 Hertz
|
||||
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The nominal input frequency. On those systems which
|
||||
support read-write access to this object, if there is
|
||||
an attempt to set this variable to a value that is not
|
||||
supported, the request must be rejected and the agent
|
||||
shall respond with an appropriate error message, i.e.,
|
||||
badValue for SNMPv1, or inconsistentValue for SNMPv2."
|
||||
::= { upsConfig 2 }
|
||||
|
||||
upsConfigOutputVoltage OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS RMS Volts
|
||||
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The magnitude of the nominal output voltage. On
|
||||
those systems which support read-write access to this
|
||||
object, if there is an attempt to set this variable to
|
||||
a value that is not supported, the request must be
|
||||
rejected and the agent shall respond with an
|
||||
appropriate error message, i.e., badValue for SNMPv1,
|
||||
or inconsistentValue for SNMPv2."
|
||||
::= { upsConfig 3 }
|
||||
|
||||
upsConfigOutputFreq OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS 0.1 Hertz
|
||||
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The nominal output frequency. On those systems which
|
||||
support read-write access to this object, if there is
|
||||
an attempt to set this variable to a value that is not
|
||||
supported, the request must be rejected and the agent
|
||||
shall respond with an appropriate error message, i.e.,
|
||||
badValue for SNMPv1, or inconsistentValue for SNMPv2."
|
||||
::= { upsConfig 4 }
|
||||
|
||||
upsConfigOutputVA OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS Volt-Amps
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The magnitude of the nominal Volt-Amp rating."
|
||||
::= { upsConfig 5 }
|
||||
|
||||
upsConfigOutputPower OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS Watts
|
||||
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The magnitude of the nominal true power rating."
|
||||
::= { upsConfig 6 }
|
||||
|
||||
upsConfigLowBattTime OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS minutes
|
||||
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The value of upsEstimatedMinutesRemaining at which a
|
||||
lowBattery condition is declared. For agents which
|
||||
support only discrete (discontinuous) values, then the
|
||||
agent shall round up to the next supported value. If
|
||||
the requested value is larger than the largest
|
||||
supported value, then the largest supported value
|
||||
shall be selected."
|
||||
::= { upsConfig 7 }
|
||||
|
||||
upsConfigAudibleStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
disabled(1),
|
||||
enabled(2),
|
||||
muted(3)
|
||||
}
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The requested state of the audible alarm. When in
|
||||
the disabled state, the audible alarm should never
|
||||
sound. The enabled state is self-describing. Setting
|
||||
this object to muted(3) when the audible alarm is
|
||||
sounding shall temporarily silence the alarm. It will
|
||||
remain muted until it would normally stop sounding and
|
||||
the value returned for read operations during this
|
||||
period shall equal muted(3). At the end of this
|
||||
period, the value shall revert to enabled(2). Writes
|
||||
of the value muted(3) when the audible alarm is not
|
||||
sounding shall be accepted but otherwise shall have no
|
||||
effect."
|
||||
::= { upsConfig 8 }
|
||||
|
||||
upsConfigLowVoltageTransferPoint OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS RMS Volts
|
||||
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The minimum input line voltage allowed before the UPS
|
||||
system transfers to battery backup."
|
||||
::= { upsConfig 9 }
|
||||
|
||||
upsConfigHighVoltageTransferPoint OBJECT-TYPE
|
||||
SYNTAX NonNegativeInteger -- UNITS RMS Volts
|
||||
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The maximum line voltage allowed before the UPS
|
||||
system transfers to battery backup."
|
||||
::= { upsConfig 10 }
|
||||
|
||||
upsTraps OBJECT IDENTIFIER ::= { upsMIB 2 }
|
||||
|
||||
upsTrapOnBattery TRAP-TYPE
|
||||
ENTERPRISE upsTraps
|
||||
VARIABLES { upsEstimatedMinutesRemaining, upsSecondsOnBattery,
|
||||
upsConfigLowBattTime }
|
||||
DESCRIPTION
|
||||
"The UPS is operating on battery power. This trap is
|
||||
persistent and is resent at one minute intervals until
|
||||
the UPS either turns off or is no longer running on
|
||||
battery."
|
||||
::= 1
|
||||
|
||||
upsTrapTestCompleted TRAP-TYPE
|
||||
ENTERPRISE upsTraps
|
||||
DESCRIPTION
|
||||
"This trap is sent upon completion of a UPS diagnostic
|
||||
test."
|
||||
::= 2
|
||||
|
||||
upsTrapAlarmEntryAdded TRAP-TYPE
|
||||
ENTERPRISE upsTraps
|
||||
DESCRIPTION
|
||||
"This trap is sent each time an alarm is inserted into
|
||||
to the alarm table. It is sent on the insertion of
|
||||
|
||||
all alarms except for upsAlarmOnBattery and
|
||||
upsAlarmTestInProgress."
|
||||
::= 3
|
||||
|
||||
upsTrapAlarmEntryRemoved TRAP-TYPE
|
||||
ENTERPRISE upsTraps
|
||||
DESCRIPTION
|
||||
"This trap is sent each time an alarm is removed from
|
||||
the alarm table. It is sent on the removal of all
|
||||
alarms except for upsAlarmTestInProgress."
|
||||
::= 4
|
||||
|
||||
|
||||
END
|
||||
|
||||
+1666
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user