-- -- ***************************************************************** -- * * -- * Copyright (c) Digital Equipment Corporation, 1991, 1999 * -- * * -- * All Rights Reserved. Unpublished rights reserved under * -- * the copyright laws of the United States. * -- * * -- * The software contained on this media is proprietary to * -- * and embodies the confidential technology of Digital * -- * Equipment Corporation. Possession, use, duplication or * -- * dissemination of the software and media is authorized only * -- * pursuant to a valid written license from Digital Equipment * -- * Corporation. * -- * * -- * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure * -- * by the U.S. Government is subject to restrictions as set * -- * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, * -- * or in FAR 52.227-19, as applicable. * -- * * -- ***************************************************************** -- -- HISTORY -- -- Digital Server Management MIB version V1.0 - svrMgt.mib -- -- Description: -- This MIB extension describes instrumentation in the -- Digital extension agent itself, including the ability -- to monitor for and detect thresholds on integer-valued -- variables in the Digital extension MIB. This MIB will also -- be used to control management hardware and firmware that may -- optionally be present (the latter part not yet implemented). SVRMGT-MIB DEFINITIONS ::= BEGIN IMPORTS mgmt, enterprises, NetworkAddress, IpAddress, Counter, Gauge, TimeTicks FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212 DisplayString FROM RFC1213-MIB; -- DEC-MIB { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) 36 } dec OBJECT IDENTIFIER ::= { enterprises 36 } ema OBJECT IDENTIFIER ::= { dec 2 } -- textual conventions for types Boolean ::= INTEGER { true(1) , false(2) } -- Describes the possible SNMP error codes. Used when svrThrStatus == rowError. SnmpErrors ::= INTEGER { noError(1) , -- Status = success tooBig(2) , -- Trying to reference an invalid oid, out of range problem ... readonly(3) , -- Trying to do an operation on a read-only attribute genericError(4) , noSuchName(5) , -- Possibly an invalid oid. badValue(6) } Severity ::= INTEGER { high(1) , medium(2) , low(3) , informational(4) } -- Instrumentation of the server management agent, hardware & firmware. mib-extensions-1 OBJECT IDENTIFIER ::= { ema 18 } svrSystem OBJECT IDENTIFIER ::= { mib-extensions-1 22 } svrMgt OBJECT IDENTIFIER ::= { svrSystem 2 } -- groups in svrmgt svrMgtMibInfo OBJECT IDENTIFIER ::= { svrMgt 1 } svrAlarms OBJECT IDENTIFIER ::= { svrMgt 2 } svrControl OBJECT IDENTIFIER ::= { svrMgt 3 } -- -- svrMgtMibInfo -- -- Current state of this MIB module. -- Mandatory. svrMgtMibMajorRev OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Major revision of this MIB. Should equal 1." ::= { svrMgtMibInfo 1 } svrMgtMibMinorRev OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Minor revision of this mib. Should be 0." ::= { svrMgtMibInfo 2 } -- -- svrAlarms -- -- Group describing locally-generated alarms and their disposition. svrAlarmNextThrIndex OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Next available index for creating a svrThrEntry. If the value is -1 then the maximum number of thresholds has been reached. This means that a threshold record can not be created until a current threshold record is deleted. " ::= { svrAlarms 1 } svrAlarmEnableTraps OBJECT-TYPE SYNTAX Boolean ACCESS read-write STATUS mandatory DESCRIPTION "If true, trap will be sent for each triggered alarm." ::= { svrAlarms 2 } svrThresholdTable OBJECT-TYPE SYNTAX SEQUENCE OF SvrThresholdEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "Table of thresholds against which the agent should check for exceptions. This table describes conditions for setting and resetting alarms. Alarms may be set on absolute values - i.e. the current integer value of the sampled variable - or on delta values - i.e. the difference between the current or last value. Alarms may be GreaterThan exception alarms, LessThan exception alarms, EqualsTo alarms etc. See svrThrAlarmType for differences. Hysteresis is introduced by providing thresholds both for setting and resetting of the alarm state, thereby limiting the number of traps that will be sent on alarm triggering. Alarms may be created to persist across agent reboots, but this is not recommended for dynamic table variables. The triggering of an alarm will change a state variable in the conceptual row. It may also trigger the sending of a trap, the local logging of an event, or [FUTURE] the triggering of a locally- defined action. " ::= { svrAlarms 3 } svrThresholdEntry OBJECT-TYPE SYNTAX SvrThresholdEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "One threshold alarm set on some particular integer-valued variable. An alarm entry is created by the management console. It uses the current value of svrAlarmNextThrIndex to name the instances of the row variables, and sets its svrThrStatus to underCreation. When creating a theshold entry for the first time, issue a set request on svrThrStatus. The remaining row variables may be set in the same operation, or in subsequent operations. Those not set will have retain their default values as described. The following variable values MUST be set before enabling the alarm: svrThrStatus must be set to underCreation svrThrVariableName svrThrThresholdValue " INDEX { svrThrIndex } ::= { svrThresholdTable 1 } SvrThresholdEntry ::= SEQUENCE { svrThrIndex INTEGER, svrThrStatus INTEGER, svrThrVariableName OBJECT IDENTIFIER, svrThrValueType INTEGER, svrThrAlarmType INTEGER, svrThrSampleInterval INTEGER, svrThrPersistent Boolean, svrThrThresholdValue INTEGER, svrThrResetValue INTEGER, svrThrLastValue INTEGER, svrThrAlarmState INTEGER, svrThrLogEvent Boolean, svrThrInvokeLocalHandler Boolean, svrThrLocalHandlerPath DisplayString, svrThrDescr DisplayString, svrThrErrorValue SnmpErrors, svrThrComparisonName OBJECT IDENTIFIER, svrThrComparisonValue DisplayString, svrThrSeverity Severity } svrThrIndex OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "A locally-unique index value. On creation, this should be set to the value of svrAlarmNextThrIndex." ::= { svrThresholdEntry 1 } svrThrStatus OBJECT-TYPE SYNTAX INTEGER { underCreation(1) , rowInvalid(2) , rowEnabled(3) , rowDisabled(4) , rowError(5) } ACCESS read-write STATUS mandatory DESCRIPTION " This variable describes the status of the row. When the row is created with the initial set, svrThrStatus must be set to underCreation. When the management console has completed row setup, it should set this variable to rowEnabled. Variables in the row may only be written if svrThrStatus is in the initial underCreation state or has been set to rowDisabled. To delete the row, set the status to rowInvalid. It is a local implementation matter whether the row is actually removed from the table. Management applications must be prepared to ignore rows with a status of rowInvalid. Errors in variable polling and threshold checking that are determined by local implementation to be non-correctable will cause a row status change to rowError. Once the status is set to rowError by the agent, the agent will not reset it. Instead, it is up to the management console to reset the status based on information returned via svrThrErrorValue or for other reasons. " ::= { svrThresholdEntry 2 } svrThrVariableName OBJECT-TYPE SYNTAX OBJECT IDENTIFIER ACCESS read-write STATUS mandatory DESCRIPTION "The OID of an integer-valued variable to be tested against this threshold. On row creation, this variable will equal the value 0.0, and must be set to the OID of an integer-valued variable before enabling the alarm. It's possible to get an error setting this due to invalid oid (may not support thresholding on this oid due to data type perhaps) or that we couldn't access the agent that supports this oid." ::= { svrThresholdEntry 3 } svrThrValueType OBJECT-TYPE SYNTAX INTEGER { absoluteValue(1) , deltaValue(2) } ACCESS read-write STATUS mandatory DESCRIPTION "Is this an absolute value or a delta value. Default on row creation is absoluteValue. The deltaValue is calculated by taking the current value and subtracting svtThrLastValue. The difference may be negative - allows for thresholding on negative changes." ::= { svrThresholdEntry 4 } svrThrAlarmType OBJECT-TYPE SYNTAX INTEGER { greaterThan(1) , greaterThanOrEqualTo(2) , equalTo(3) , lessThanOrEqualTo(4) , lessThan(5) } ACCESS read-write STATUS mandatory DESCRIPTION "Is this a greater than, greater than or equal to, equal to, less than or equal to, or less than alarm? Greater Than or Greater Than or Equal To thresholds for absolute values occur when the sample value exceeds (or equals) the svrThrThresholdValue and svrThrAlarmState was reset. This will cause the svrThrAlarmState to be set and, if svrAlarmEnableTraps is true, a svrThrExceptTrap will be sent. SvrThrAlarmState will be reset when the sample value falls below or equals svrThrResetValue. For delta values, the same holds true except the difference between the sample value and the svrThrLastValue is used for comparison with both the svrThrThresholdValue and the svrThrResetValue. Less Than or Less Than or Equal To thresholds for absolute values occur when the sample value falls below (or equals) the svrThrThresholdValue and svrThrAlarmState was reset. This will cause the svrThrAlarmState to be set and, if svrAlarmEnableTraps is true, a svrThrExceptTrap will be sent. SvrThrAlarmState will be reset when the sample value exceeds or equals svrThrResetValue. For delta values, the same holds true except the difference between the sample value and the svrThrLastValue is used for comparison with both the svrThrThresholdValue and the svrThrResetValue. Equal To thresholds for absolute values occur when the sample value equals svrThrThresholdValue and svrThrAlarmState was reset. This will cause the svrThrAlarmState to be set and, if svrAlarmEnableTraps is true, a svrThrExceptTrap will be sent. SvrThrAlarmState will be reset when the sample value does not equal svrThrResetValue. For delta values, the same holds true except the difference between the sample value and the svrThrLastValue is used for comparison with both the svrThrThresholdValue and the svrThrResetValue. NOTE - It is possible to have negative delta values since the differ- ence is computed as the current value minus the svrThrLastValue. The default value on row creation is GreaterThan. " ::= { svrThresholdEntry 5 } svrThrSampleInterval OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "Interval in seconds between polls to check for threshold exceptions. The default value on row creation is implementation-specific. Minimum Value is 1. " ::= { svrThresholdEntry 6 } svrThrPersistent OBJECT-TYPE SYNTAX Boolean ACCESS read-write STATUS mandatory DESCRIPTION "True if this threshold should persist across agent restarts. Default value on row creation is FALSE." ::= { svrThresholdEntry 7 } svrThrThresholdValue OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "This is the thresholding value which gets compared to the current or delta value. Default on row creation is 0." ::= { svrThresholdEntry 8 } svrThrResetValue OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "This is the value that on all svrThrAlarmTypes except for equalTo, is used to reset the threshold. Default on row creation is 0" ::= { svrThresholdEntry 9 } svrThrLastValue OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Saved previous sample; needed to evaluate if alarm should be triggered or to evaluate delta values for threshold checking." ::= { svrThresholdEntry 10 } svrThrAlarmState OBJECT-TYPE SYNTAX INTEGER { alarmSet(1) , alarmReset(2) } ACCESS read-only STATUS mandatory DESCRIPTION "Whether this alarm is currently set or reset. This variable is used by polling management applications to determine if a threshold exception state has been detected based on this alarm definition. It will initially have a value of reset when the alarm is enabled or the agent is restarted. For state change rules look at the definition for svrThrAlarmType. In all cases, this value will reset on svrThrStatus change to rowDisabled or rowInvalid. " ::= { svrThresholdEntry 11 } svrThrLogEvent OBJECT-TYPE SYNTAX Boolean ACCESS read-write STATUS mandatory DESCRIPTION "If yes, log to the system event log. Default value is False." ::= { svrThresholdEntry 12 } svrThrInvokeLocalHandler OBJECT-TYPE SYNTAX Boolean ACCESS read-write STATUS mandatory DESCRIPTION "If true, invoke a local alarm handler, passing trap structure. Mechanism is a local issue." ::= { svrThresholdEntry 13 } svrThrLocalHandlerPath OBJECT-TYPE SYNTAX DisplayString ACCESS read-write STATUS mandatory DESCRIPTION "Pathname of local alarm handler. If not implemented, value will be null." ::= { svrThresholdEntry 14 } svrThrDescr OBJECT-TYPE SYNTAX DisplayString ACCESS read-write STATUS mandatory DESCRIPTION "This attribute is used to describe the type of threshold. This is set by the management console not by the agent. " ::= { svrThresholdEntry 15 } svrThrErrorValue OBJECT-TYPE SYNTAX SnmpErrors ACCESS read-only STATUS mandatory DESCRIPTION "This is the SNMP defined error status which caused the svrThrStatus value to become equal to rowError. Only valid at that time." ::= { svrThresholdEntry 16 } svrThrComparisonName OBJECT-TYPE SYNTAX OBJECT IDENTIFIER ACCESS read-write STATUS mandatory DESCRIPTION "An OID to a descriptor attribute which can be used with persistent to verify that the svrThrVariableName instance is correct. On agent restarts the value for this oid will be retrieved and compared to the svrThrComparisonValue. If not equal, then it's possible that the oid instancing for svrThrVariableName is incorrect. If this occurs, then the svrThrStatus will be set to rowError and the svrThrErrorValue will be set to badValue. This attribute is optional. The default value is 0.0. Can be reset back to 0.0 if this attribute is not to be used." ::= { svrThresholdEntry 17 } svrThrComparisonValue OBJECT-TYPE SYNTAX DisplayString ACCESS read-write STATUS mandatory DESCRIPTION "Data value of svrThrComparisonName - used when persistent is set. This value is compared to the current value on agent restarts. This attribute is optional. The default value is NULL" ::= { svrThresholdEntry 18 } svrThrSeverity OBJECT-TYPE SYNTAX Severity ACCESS read-write STATUS mandatory DESCRIPTION "Indicates the severity of the threshold. Default on row creation is informational." ::= { svrThresholdEntry 19 } -- -- svrControl -- -- Group of parameters to control local server behavior. Instrumentation in -- server control hardware. -- -- TRAP: svrThrHighExceptTrap -- svrThrHighExceptTrap TRAP-TYPE ENTERPRISE svrMgt VARIABLES { svrThrVariableName, svrThrValueType, svrThrThresholdValue, svrThrLastValue, svrThrDescr } DESCRIPTION "This is a high severity trap. The value that caused the alarm to occur is returned in svrThrLastValue." ::= 101 -- -- TRAP: svrThrMediumExceptTrap -- svrThrMediumExceptTrap TRAP-TYPE ENTERPRISE svrMgt VARIABLES { svrThrVariableName, svrThrValueType, svrThrThresholdValue, svrThrLastValue, svrThrDescr } DESCRIPTION "This is a medium severity trap. The value that caused the alarm to occur is returned in svrThrLastValue" ::= 102 -- -- TRAP: svrThrLowExceptTrap -- svrThrLowExceptTrap TRAP-TYPE ENTERPRISE svrMgt VARIABLES { svrThrVariableName, svrThrValueType, svrThrThresholdValue, svrThrLastValue, svrThrDescr } DESCRIPTION "This is a low severity trap. The value that caused the alarm to occur is returned in svrThrLastValue" ::= 103 -- -- TRAP: svrThrInformationalExceptTrap -- svrThrInformationalExceptTrap TRAP-TYPE ENTERPRISE svrMgt VARIABLES { svrThrVariableName, svrThrValueType, svrThrThresholdValue, svrThrLastValue, svrThrDescr } DESCRIPTION "This is an Informational severity trap. The value that caused the alarm to occur is returned in svrThrLastValue" ::= 104 END