-- ============================================================================================== -- PowerMon MIB -- ============================================================================================== -- PowerMon MIB -- { iso org(3) dod(6) internet(1) private(4) enterprises(1) sec(855) powermon(2) powermonUPS4(4) ups(1) } -- ============================================================================================== POWERMON4-MIB DEFINITIONS ::= BEGIN -- ============================================================================================== -- Title : POWERMON MIB -- Purpose: to Manage Uninterruptible Power Supplies which only have the OnBattery and LowBattery -- detect and Inverter ShutOff control. -- Date : May 26, 1993 -- By : Dave Cole -- -- Update : November 9 & 10, 1993 -- By : Menachem Szus, Alon Systems, St. Louis, Missouri (314)428-0880 -- Update : add upsControl group and upsReturnFromLowBattery trap -- replace 'peer' enterprises with 'sec' enterprises -- ============================================================================================== IMPORTS enterprises, OBJECT-TYPE, NetworkAddress, IpAddress, Counter, Gauge, TimeTicks FROM RFC1155-SMI DisplayString FROM RFC1213-MIB TRAP-TYPE FROM RFC1215; sec OBJECT IDENTIFIER ::= { enterprises 855 } powermon OBJECT IDENTIFIER ::= { sec 2 } powermonUPS4 OBJECT IDENTIFIER ::= { powermon 4 } ups OBJECT IDENTIFIER ::= { powermonUPS4 1 } upsIdent OBJECT IDENTIFIER ::= { ups 1 } upsBattery OBJECT IDENTIFIER ::= { ups 2 } upsControl OBJECT IDENTIFIER ::= { ups 3 } -- ============================================================================================== -- The Device Identification group. -- All objects in this group are set at device initialization and remain static. -- Implementation of this group is mandatory for all systems. -- ============================================================================================== upsIdentManufacturer OBJECT-TYPE SYNTAX DisplayString (SIZE (0..63)) ACCESS read-write STATUS mandatory DESCRIPTION "The UPS manufacturer." ::= { upsIdent 1 } upsIdentName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..63)) ACCESS read-write STATUS mandatory DESCRIPTION "The UPS System Identification." ::= { upsIdent 2 } upsIdentModel OBJECT-TYPE SYNTAX DisplayString (SIZE (0..63)) ACCESS read-write STATUS mandatory DESCRIPTION "The model of the UPS." ::= { upsIdent 3 } upsIdentUPSSoftwareVersion OBJECT-TYPE SYNTAX DisplayString (SIZE (0..63)) ACCESS read-only STATUS mandatory DESCRIPTION "The UPS System Software version." ::= { upsIdent 4 } upsIdentAgentSoftwareVersion OBJECT-TYPE SYNTAX DisplayString (SIZE (0..63)) ACCESS read-only STATUS mandatory DESCRIPTION "The Agent software version." ::= { upsIdent 5 } -- ============================================================================================== -- The Battery group. -- Implementation of this group is mandatory for all systems. -- ============================================================================================== upsBatteryOperation OBJECT-TYPE SYNTAX INTEGER { onLine(1), onBattery(2) } ACCESS read-only STATUS mandatory DESCRIPTION "The current operations state of the UPS (line or battery)." ::= { upsBattery 1 } upsBatteryStatus OBJECT-TYPE SYNTAX INTEGER { unknown(1), batteryNormal(2), batteryLow(3), batteryDepleted(4) } ACCESS read-only STATUS mandatory DESCRIPTION "This object indicates the State of the Battery. unknown(1), batteryNormal(2), batteryLow(3), batteryDepleted(4)." ::= { upsBattery 2 } upsBatteryNormallyOpenNormallyClosed OBJECT-TYPE SYNTAX INTEGER { ncnc(3), nono(4), ncno(5), nonc(6) } ACCESS read-write STATUS mandatory DESCRIPTION "This object defines the normal state of the POWER FAIL and LO BATTERY input lines from the UPS. The possible values are ncnc(3), nono(4), ncno(5), nonc(6). The first two letters indicate the normal state of the POWER FAIL input line and the second two letters indicate the normal state of the LO BATTERY input line, with 'nc'='normally closed' and 'no'='normally open'" ::= { upsBattery 3 } -- ============================================================================================== -- The Control group. -- Implementation of this group is mandatory for all simple UPS's. -- ============================================================================================== upsControlUPSOff OBJECT-TYPE SYNTAX INTEGER { noTurnUpsOff(1), turnUpsOff(2) } ACCESS read-write STATUS mandatory DESCRIPTION "Setting this variable to turnUpsOff (2) causes the UPS to shut off. When in this state, the UPS will not provide output power regardless of the input line voltage. The on/off switch on the UPS must be toggled for the UPS to return to operation. Setting this variable to noTurnUpsOff (1) has no effect." ::= { upsControl 1 } upsControlUPSOffDelay OBJECT-TYPE SYNTAX INTEGER (0..120) ACCESS read-write STATUS mandatory DESCRIPTION "Number of seconds from demand for UPS Off until UPS goes Off ." ::= { upsControl 2 } upsControlUPSOffSignalHighDuration OBJECT-TYPE SYNTAX INTEGER (0..30000) ACCESS read-write STATUS mandatory DESCRIPTION "PowerMon Sends a series of pulses to the UPS to switch it off. These pulses are timed to take care of most of the Contact Closure UPS's. The pulse train is 750msec high, 1000msec low, 2000msec high, 1000msec low, 6000msec high, then set to low. This object, together with upsControlUPSOffSignalLowDuration, enables the User to insert an extra pulse at the beginning of the pulse train.sent to the UPS to switch it Off. This object defines the duration (in milliseconds) of the High signal sent to the UPS. It is sent before upsControlUPSOffSignalLowDuration. Default is 0." ::= { upsControl 3 } upsControlUPSOffSignalLowDuration OBJECT-TYPE SYNTAX INTEGER (0..30000) ACCESS read-write STATUS mandatory DESCRIPTION "PowerMon Sends a series of pulses to the UPS to switch it off. These pulses are timed to take care of most of the Contact Closure UPS's. The pulse train is 750msec high, 1000msec low, 2000msec high, 1000msec low, 6000msec high, then set to low. This object, together with upsControlUPSOffSignalHighDuration, enables the User to insert an extra pulse at the beginning of the pulse train.sent to the UPS to switch it Off. This object defines the duration (in milliseconds) of the Low signal sent to the UPS. It is sent After upsControlUPSOffSignalHighDuration. Default is 0." ::= { upsControl 4 } -- ============================================================================================== -- Traps -- ============================================================================================== upsOnBattery TRAP-TYPE ENTERPRISE ups -- VARIABLES { -- upsBatteryOperation -- } DESCRIPTION "The UPS has switched to battery backup power." ::= 1 upsLowBattery TRAP-TYPE ENTERPRISE ups -- VARIABLES { -- upsBatteryLowLimit -- } DESCRIPTION "The UPS batteries are low and will soon be exhausted if utility power is not restored." ::= 2 upsUtilityPowerRestored TRAP-TYPE ENTERPRISE ups -- VARIABLES { -- upsBatteryOperation -- } DESCRIPTION "Utility power has been restored." ::= 3 upsReturnFromLowBattery TRAP-TYPE ENTERPRISE ups -- VARIABLES { -- upsBatteryLowLimit -- } DESCRIPTION "The UPS has returned from a low battery condition." ::= 4 END