SNR-ERS-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, enterprises, Integer32, Unsigned32 FROM SNMPv2-SMI DisplayString, TEXTUAL-CONVENTION FROM SNMPv2-TC MODULE-COMPLIANCE, NOTIFICATION-GROUP, OBJECT-GROUP FROM SNMPv2-CONF ; ers MODULE-IDENTITY LAST-UPDATED "202610011200Z" -- OCT 01, 2026 ORGANIZATION "NAGTECH" CONTACT-INFO "erd@nag.ru" DESCRIPTION "The MIB module for SNR-ERS devices." REVISION "202610011200Z" -- OCT 01, 2026 DESCRIPTION "Replaced Float32TC with Integer32 for analog values. Analog values are represented as integer values scaled by a factor of 10000. Added ersAnalogScaleFactor. Added table of elements." REVISION "202602021200Z" -- Feb 02, 2026 DESCRIPTION "Fix syntax" REVISION "202506031200Z" -- jun 03, 2025 DESCRIPTION "Initial version of the MIB module." ::= { enterprises 40418 2 } snr OBJECT IDENTIFIER ::= { enterprises 40418 } snrERS OBJECT IDENTIFIER ::= { ers 1 } ersInputs OBJECT IDENTIFIER ::= { snrERS 1 } -- Input measurements table ersOutputs OBJECT IDENTIFIER ::= { snrERS 2 } -- Output measurements table ersTraps OBJECT IDENTIFIER ::= { snrERS 3 } -- Traps Group ersElements OBJECT IDENTIFIER ::= { snrERS 4 } -- Elements table ersAnalogScale OBJECT IDENTIFIER ::= { snrERS 5 } ersSystemObject OBJECT IDENTIFIER ::= { ersTraps 1 } ersIndicatorObject OBJECT IDENTIFIER ::= { ersTraps 2 } ersElementObject OBJECT IDENTIFIER ::= { ersTraps 3 } ersAutomationObject OBJECT IDENTIFIER ::= { ersTraps 4 } -- Explicit Notification Nodes ersSystemNotifications OBJECT IDENTIFIER ::= { ersSystemObject 0 } ersSystemVariables OBJECT IDENTIFIER ::= { ersSystemObject 1 } ersIndicatorNotifications OBJECT IDENTIFIER ::= { ersIndicatorObject 0 } ersIndicatorVariables OBJECT IDENTIFIER ::= { ersIndicatorObject 1 } ersElementNotifications OBJECT IDENTIFIER ::= { ersElementObject 0 } ersElementVariables OBJECT IDENTIFIER ::= { ersElementObject 1 } ersAutomationNotifications OBJECT IDENTIFIER ::= { ersAutomationObject 0 } ersAutomationVariables OBJECT IDENTIFIER ::= { ersAutomationObject 1 } ersConformance OBJECT IDENTIFIER ::= { snrERS 100 } ersGroups OBJECT IDENTIFIER ::= { ersConformance 1 } ersCompliances OBJECT IDENTIFIER ::= { ersConformance 2 } -- Textual Conventions ERSUniqueID ::= TEXTUAL-CONVENTION DISPLAY-HINT "d" STATUS current DESCRIPTION "Represents a non-negative unique identifier." SYNTAX Unsigned32 (1..4294967295) -- =========================================================================== -- Discrete inputs -- =========================================================================== discreteInputsTable OBJECT-TYPE SYNTAX SEQUENCE OF DiscreteInputsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of discrete input indicators." ::= { ersInputs 1 } discreteInputsEntry OBJECT-TYPE SYNTAX DiscreteInputsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the discrete input indicators table." INDEX { inDiscreteID } ::= { discreteInputsTable 1 } DiscreteInputsEntry ::= SEQUENCE { inDiscreteID ERSUniqueID, inDiscreteName DisplayString, inDiscreteValue Integer32, inDiscreteElementID ERSUniqueID, inDiscreteStatus DisplayString, inDiscreteState DisplayString, inDiscreteNominalValue Integer32 } inDiscreteID OBJECT-TYPE SYNTAX ERSUniqueID MAX-ACCESS not-accessible STATUS current DESCRIPTION "The unique identifier of the discrete indicator." ::= { discreteInputsEntry 1 } inDiscreteName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The name of the discrete indicator." ::= { discreteInputsEntry 2 } inDiscreteValue OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The current value of the discrete indicator." ::= { discreteInputsEntry 3 } inDiscreteElementID OBJECT-TYPE SYNTAX ERSUniqueID MAX-ACCESS read-only STATUS current DESCRIPTION "The identifier of the element associated with this indicator." ::= { discreteInputsEntry 4 } inDiscreteStatus OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The current status of the discrete indicator." ::= { discreteInputsEntry 5 } inDiscreteState OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The current state of the discrete indicator." ::= { discreteInputsEntry 6 } inDiscreteNominalValue OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "The nominal value of the discrete indicator." ::= { discreteInputsEntry 7 } -- =========================================================================== -- Analog inputs -- =========================================================================== analogInputsTable OBJECT-TYPE SYNTAX SEQUENCE OF AnalogInputsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of analog input indicators." ::= { ersInputs 2 } analogInputsEntry OBJECT-TYPE SYNTAX AnalogInputsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the analog input indicators table." INDEX { inAnalogID } ::= { analogInputsTable 1 } AnalogInputsEntry ::= SEQUENCE { inAnalogID ERSUniqueID, inAnalogName DisplayString, inAnalogValue Integer32, inAnalogElementID ERSUniqueID, inAnalogStatus DisplayString, inAnalogState DisplayString, inAnalogCriticalHighThreshold Integer32, inAnalogWarningHighThreshold Integer32, inAnalogCriticalLowThreshold Integer32, inAnalogWarningLowThreshold Integer32 } inAnalogID OBJECT-TYPE SYNTAX ERSUniqueID MAX-ACCESS not-accessible STATUS current DESCRIPTION "The unique identifier of the analog indicator." ::= { analogInputsEntry 1 } inAnalogName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The name of the analog indicator." ::= { analogInputsEntry 2 } inAnalogValue OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The current value of the analog indicator. The value is represented as the original analog value multiplied by the scaling factor of 10000. For example, an original value of 123.56 is represented in SNMP as 1235600." ::= { analogInputsEntry 3 } inAnalogElementID OBJECT-TYPE SYNTAX ERSUniqueID MAX-ACCESS read-only STATUS current DESCRIPTION "The identifier of the element associated with this indicator." ::= { analogInputsEntry 4 } inAnalogStatus OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The current status of the analog indicator." ::= { analogInputsEntry 5 } inAnalogState OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The current state of the analog indicator." ::= { analogInputsEntry 6 } inAnalogCriticalHighThreshold OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "The critical high threshold value. The value is represented as the original threshold value multiplied by the scaling factor of 10000. For example, an original value of 123.56 is represented in SNMP as 1235600. Exceeding this threshold changes the indicator's state." ::= { analogInputsEntry 7 } inAnalogWarningHighThreshold OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "The warning high threshold value. The value is represented as the original threshold value multiplied by the scaling factor of 10000. For example, an original value of 123.56 is represented in SNMP as 1235600. Exceeding this value changes the indicator's state." ::= { analogInputsEntry 8 } inAnalogCriticalLowThreshold OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "The critical low threshold value. The value is represented as the original threshold value multiplied by the scaling factor of 10000. For example, an original value of 123.56 is represented in SNMP as 1235600. Falling below this value changes the indicator's state." ::= { analogInputsEntry 9 } inAnalogWarningLowThreshold OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "The warning low threshold value. The value is represented as the original threshold value multiplied by the scaling factor of 10000. For example, an original value of 123.56 is represented in SNMP as 1235600. Falling below this value changes the indicator's state." ::= { analogInputsEntry 10 } -- =========================================================================== -- Discrete outputs -- =========================================================================== discreteOutputsTable OBJECT-TYPE SYNTAX SEQUENCE OF DiscreteOutputsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of discrete output indicators." ::= { ersOutputs 1 } discreteOutputsEntry OBJECT-TYPE SYNTAX DiscreteOutputsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the discrete output indicators table." INDEX { outDiscreteID } ::= { discreteOutputsTable 1 } DiscreteOutputsEntry ::= SEQUENCE { outDiscreteID ERSUniqueID, outDiscreteName DisplayString, outDiscreteValue Integer32, outDiscreteElementID ERSUniqueID } outDiscreteID OBJECT-TYPE SYNTAX ERSUniqueID MAX-ACCESS not-accessible STATUS current DESCRIPTION "The unique identifier of the discrete indicator." ::= { discreteOutputsEntry 1 } outDiscreteName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The name of the discrete indicator." ::= { discreteOutputsEntry 2 } outDiscreteValue OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "The current value of the discrete indicator." ::= { discreteOutputsEntry 3 } outDiscreteElementID OBJECT-TYPE SYNTAX ERSUniqueID MAX-ACCESS read-only STATUS current DESCRIPTION "The identifier of the element associated with this indicator." ::= { discreteOutputsEntry 4 } -- =========================================================================== -- Analog outputs -- =========================================================================== analogOutputsTable OBJECT-TYPE SYNTAX SEQUENCE OF AnalogOutputsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of analog output indicators." ::= { ersOutputs 2 } analogOutputsEntry OBJECT-TYPE SYNTAX AnalogOutputsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the analog output indicators table." INDEX { outAnalogID } ::= { analogOutputsTable 1 } AnalogOutputsEntry ::= SEQUENCE { outAnalogID ERSUniqueID, outAnalogName DisplayString, outAnalogValue Integer32, outAnalogElementID ERSUniqueID } outAnalogID OBJECT-TYPE SYNTAX ERSUniqueID MAX-ACCESS not-accessible STATUS current DESCRIPTION "The unique identifier of the analog indicator." ::= { analogOutputsEntry 1 } outAnalogName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The name of the analog indicator." ::= { analogOutputsEntry 2 } outAnalogValue OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "The current value of the analog indicator. The value is represented as the original analog value multiplied by the scaling factor of 10000. For example, an original value of 123.56 is represented in SNMP as 1235600." ::= { analogOutputsEntry 3 } outAnalogElementID OBJECT-TYPE SYNTAX ERSUniqueID MAX-ACCESS read-only STATUS current DESCRIPTION "The identifier of the element associated with this indicator." ::= { analogOutputsEntry 4 } -- =========================================================================== -- SNMP Traps (Notifications) -- =========================================================================== ersDyingGasp NOTIFICATION-TYPE STATUS current DESCRIPTION "Notification about an unexpected power loss" ::= { ersSystemNotifications 1 } ersTestTrapMsg OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Message" ::= { ersSystemVariables 1 } -- TRAP = TestTrap ersTestTrap NOTIFICATION-TYPE OBJECTS { ersTestTrapMsg } STATUS current DESCRIPTION "A test SNMP notification to verify the traps' operation." ::= { ersSystemNotifications 999 } -- TRAP = IndicatorStateChanged ersDiscreteIndicatorStateChanged NOTIFICATION-TYPE OBJECTS { inDiscreteName, inDiscreteState, inDiscreteValue } STATUS current DESCRIPTION "Generated when a discrete input indicator's state changes." ::= { ersIndicatorNotifications 1 } ersAnalogIndicatorStateChanged NOTIFICATION-TYPE OBJECTS { inAnalogName, inAnalogState, inAnalogValue } STATUS current DESCRIPTION "Generated when an analog input indicator's state changes." ::= { ersIndicatorNotifications 2 } -- TRAP = OutputValueChanged ersDiscreteOutputValueChangedPrevValue OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The current value of the discrete indicator." ::= { ersIndicatorVariables 1 } ersAnalogOutputValueChangedPrevValue OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The previous value of the analog output indicator. The value is represented as the original analog value multiplied by the scaling factor of 10000. For example, an original value of 123.56 is represented in SNMP as 1235600." ::= { ersIndicatorVariables 2 } ersDiscreteOutputValueChanged NOTIFICATION-TYPE OBJECTS { outDiscreteName, outDiscreteValue, ersDiscreteOutputValueChangedPrevValue } STATUS current DESCRIPTION "Generated when a discrete output indicator's value changes." ::= { ersIndicatorNotifications 3 } ersAnalogOutputValueChanged NOTIFICATION-TYPE OBJECTS { outAnalogName, outAnalogValue, ersAnalogOutputValueChangedPrevValue } STATUS current DESCRIPTION "Generated when an analog output indicator's value changes." ::= { ersIndicatorNotifications 4 } ersAutomationRuleSucceedName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Name of the rule" ::= { ersAutomationVariables 1 } ersAutomationRuleSucceedType OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Type of the rule" ::= { ersAutomationVariables 2 } -- TRAP = AutomationRuleSucceed ersAutomationRuleSucceed NOTIFICATION-TYPE OBJECTS { ersAutomationRuleSucceedName, ersAutomationRuleSucceedType } STATUS current DESCRIPTION "Fired when automation rule succeeds" ::= { ersAutomationNotifications 1 } -- =========================================================================== -- Element table -- =========================================================================== elementsTable OBJECT-TYPE SYNTAX SEQUENCE OF ElementsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of elements." ::= { ersElements 1 } elementsEntry OBJECT-TYPE SYNTAX ElementsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the elements table." INDEX { elementID } ::= { elementsTable 1 } ElementsEntry ::= SEQUENCE { elementID ERSUniqueID, elementName DisplayString, elementSystemName DisplayString, elementStatus DisplayString } elementID OBJECT-TYPE SYNTAX ERSUniqueID MAX-ACCESS not-accessible STATUS current DESCRIPTION "The unique identifier of the element." ::= { elementsEntry 1 } elementName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The name of the element." ::= { elementsEntry 2 } elementSystemName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The system name of the element." ::= { elementsEntry 3 } elementStatus OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The current status of the element." ::= { elementsEntry 4 } -- =========================================================================== -- Analog scaling -- =========================================================================== ersAnalogScaleFactor OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The scaling factor used for all analog values in the MIB. Analog values are represented as the original value multiplied by this factor. The current scaling factor is 10000. For example, an original value of 123.56 is represented in SNMP as 1235600. An SNMP manager must divide the received value by 10000 to obtain the original value." ::= { ersAnalogScale 1 } -- =========================================================================== -- Groups & Compliance -- =========================================================================== inputTablesGroup OBJECT-GROUP OBJECTS { inDiscreteName, inDiscreteValue, inDiscreteElementID, inDiscreteStatus, inDiscreteState, inDiscreteNominalValue, inAnalogName, inAnalogValue, inAnalogElementID, inAnalogStatus, inAnalogState, inAnalogCriticalHighThreshold, inAnalogWarningHighThreshold, inAnalogCriticalLowThreshold, inAnalogWarningLowThreshold } STATUS current DESCRIPTION "A group containing all input indicator objects." ::= { ersGroups 1 } outputTablesGroup OBJECT-GROUP OBJECTS { outDiscreteName, outDiscreteValue, outDiscreteElementID, outAnalogName, outAnalogValue, outAnalogElementID } STATUS current DESCRIPTION "A group containing all output indicator objects." ::= { ersGroups 2 } trapVariablesGroup OBJECT-GROUP OBJECTS { ersTestTrapMsg, ersDiscreteOutputValueChangedPrevValue, ersAnalogOutputValueChangedPrevValue, ersAutomationRuleSucceedName, ersAutomationRuleSucceedType } STATUS current DESCRIPTION "A group containing variables embedded in traps." ::= { ersGroups 3 } trapGroup NOTIFICATION-GROUP NOTIFICATIONS { ersDiscreteIndicatorStateChanged, ersAnalogIndicatorStateChanged, ersDiscreteOutputValueChanged, ersAnalogOutputValueChanged, ersAutomationRuleSucceed, ersDyingGasp, ersTestTrap } STATUS current DESCRIPTION "A group containing state change notifications." ::= { ersGroups 4 } elementTablesGroup OBJECT-GROUP OBJECTS { elementName, elementSystemName, elementStatus } STATUS current DESCRIPTION "A group containing element table objects." ::= { ersGroups 5 } globalVariableGroup OBJECT-GROUP OBJECTS { ersAnalogScaleFactor } STATUS current DESCRIPTION "A group containing variables common to the entire MIB module." ::= { ersGroups 6 } ersCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statement for SNR-ERS devices." MODULE MANDATORY-GROUPS { inputTablesGroup, outputTablesGroup, trapVariablesGroup, trapGroup, elementTablesGroup, globalVariableGroup } ::= { ersCompliances 5 } END