⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 notification-log-mib.txt

📁 snmp based application it is used to get the info of snmp
💻 TXT
📖 第 1 页 / 共 2 页
字号:
NOTIFICATION-LOG-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE,    Integer32, Unsigned32,    TimeTicks, Counter32, Counter64,    IpAddress, Opaque, mib-2       FROM SNMPv2-SMI    TimeStamp, DateAndTime,    StorageType, RowStatus,    TAddress, TDomain              FROM SNMPv2-TC    SnmpAdminString, SnmpEngineID  FROM SNMP-FRAMEWORK-MIB    MODULE-COMPLIANCE, OBJECT-GROUP     FROM SNMPv2-CONF;notificationLogMIB MODULE-IDENTITY    LAST-UPDATED "200011270000Z"            -- 27 November 2000    ORGANIZATION "IETF Distributed Management Working Group"    CONTACT-INFO "Ramanathan Kavasseri                  Cisco Systems, Inc.                  170 West Tasman Drive,                  San Jose CA 95134-1706.                  Phone: +1 408 527 2446                  Email: ramk@cisco.com"    DESCRIPTION     "The MIB module for logging SNMP Notifications, that is, Traps     and Informs."-- Revision History       REVISION     "200011270000Z"            -- 27 November 2000       DESCRIPTION  "This is the initial version of this MIB.               Published as RFC 3014"    ::= { mib-2 92 }notificationLogMIBObjects OBJECT IDENTIFIER ::= { notificationLogMIB 1 }nlmConfig OBJECT IDENTIFIER ::= { notificationLogMIBObjects 1 }nlmStats  OBJECT IDENTIFIER ::= { notificationLogMIBObjects 2 }nlmLog         OBJECT IDENTIFIER ::= { notificationLogMIBObjects 3 }---- Configuration Section--nlmConfigGlobalEntryLimit OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION     "The maximum number of notification entries that may be held     in nlmLogTable for all nlmLogNames added together.  A particular     setting does not guarantee that much data can be held.     If an application changes the limit while there are     Notifications in the log, the oldest Notifications MUST be     discarded to bring the log down to the new limit - thus the     value of nlmConfigGlobalEntryLimit MUST take precedence over     the values of nlmConfigGlobalAgeOut and nlmConfigLogEntryLimit,     even if the Notification being discarded has been present for     fewer minutes than the value of nlmConfigGlobalAgeOut, or if     the named log has fewer entries than that specified in     nlmConfigLogEntryLimit.     A value of 0 means no limit.     Please be aware that contention between multiple managers     trying to set this object to different values MAY affect the     reliability and completeness of data seen by each manager."    DEFVAL { 0 }    ::= { nlmConfig 1 }nlmConfigGlobalAgeOut OBJECT-TYPE    SYNTAX      Unsigned32    UNITS       "minutes"    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION     "The number of minutes a Notification SHOULD be kept in a log     before it is automatically removed.     If an application changes the value of nlmConfigGlobalAgeOut,     Notifications older than the new time MAY be discarded to meet the     new time.     A value of 0 means no age out.     Please be aware that contention between multiple managers     trying to set this object to different values MAY affect the     reliability and completeness of data seen by each manager."    DEFVAL { 1440 }  -- 24 hours    ::= { nlmConfig 2 }---- Basic Log Configuration Table--nlmConfigLogTable OBJECT-TYPE    SYNTAX      SEQUENCE OF NlmConfigLogEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION     "A table of logging control entries."    ::= { nlmConfig 3 }nlmConfigLogEntry OBJECT-TYPE    SYNTAX      NlmConfigLogEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION     "A logging control entry.  Depending on the entry's storage type     entries may be supplied by the system or created and deleted by     applications using nlmConfigLogEntryStatus."    INDEX      { nlmLogName }    ::= { nlmConfigLogTable 1 }NlmConfigLogEntry ::= SEQUENCE {    nlmLogName           SnmpAdminString,    nlmConfigLogFilterName    SnmpAdminString,    nlmConfigLogEntryLimit    Unsigned32,    nlmConfigLogAdminStatus   INTEGER,    nlmConfigLogOperStatus    INTEGER,    nlmConfigLogStorageType   StorageType,    nlmConfigLogEntryStatus   RowStatus    }nlmLogName OBJECT-TYPE    SYNTAX     SnmpAdminString (SIZE(0..32))    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION     "The name of the log.     An implementation may allow multiple named logs, up to some     implementation-specific limit (which may be none).  A     zero-length log name is reserved for creation and deletion by     the managed system, and MUST be used as the default log name by     systems that do not support named logs."    ::= { nlmConfigLogEntry 1 }nlmConfigLogFilterName OBJECT-TYPE    SYNTAX     SnmpAdminString (SIZE(0..32))    MAX-ACCESS read-create    STATUS     current    DESCRIPTION     "A value of snmpNotifyFilterProfileName as used as an index     into the snmpNotifyFilterTable in the SNMP Notification MIB,     specifying the locally or remotely originated Notifications     to be filtered out and not logged in this log.     A zero-length value or a name that does not identify an     existing entry in snmpNotifyFilterTable indicate no     Notifications are to be logged in this log."    DEFVAL { ''H }    ::= { nlmConfigLogEntry 2 }nlmConfigLogEntryLimit OBJECT-TYPE    SYNTAX     Unsigned32    MAX-ACCESS read-create    STATUS     current    DESCRIPTION     "The maximum number of notification entries that can be held in     nlmLogTable for this named log.  A particular setting does not     guarantee that that much data can be held.     If an application changes the limit while there are     Notifications in the log, the oldest Notifications are discarded     to bring the log down to the new limit.     A value of 0 indicates no limit.     Please be aware that contention between multiple managers     trying to set this object to different values MAY affect the     reliability and completeness of data seen by each manager."    DEFVAL { 0 }    ::= { nlmConfigLogEntry 3 }nlmConfigLogAdminStatus OBJECT-TYPE    SYNTAX     INTEGER { enabled(1), disabled(2) }    MAX-ACCESS read-create    STATUS     current    DESCRIPTION     "Control to enable or disable the log without otherwise     disturbing the log's entry.     Please be aware that contention between multiple managers     trying to set this object to different values MAY affect the     reliability and completeness of data seen by each manager."    DEFVAL { enabled }    ::= { nlmConfigLogEntry 4 }nlmConfigLogOperStatus OBJECT-TYPE    SYNTAX     INTEGER { disabled(1), operational(2), noFilter(3) }    MAX-ACCESS read-only    STATUS     current    DESCRIPTION     "The operational status of this log:          disabled  administratively disabled          operational    administratively enabled and working          noFilter  administratively enabled but either                    nlmConfigLogFilterName is zero length                    or does not name an existing entry in                    snmpNotifyFilterTable"    ::= { nlmConfigLogEntry 5 }nlmConfigLogStorageType OBJECT-TYPE    SYNTAX     StorageType    MAX-ACCESS read-create    STATUS     current    DESCRIPTION     "The storage type of this conceptual row."    ::= { nlmConfigLogEntry 6 }nlmConfigLogEntryStatus OBJECT-TYPE    SYNTAX     RowStatus    MAX-ACCESS read-create    STATUS     current    DESCRIPTION     "Control for creating and deleting entries.  Entries may be     modified while active.     For non-null-named logs, the managed system records the security     credentials from the request that sets nlmConfigLogStatus     to 'active' and uses that identity to apply access control to     the objects in the Notification to decide if that Notification     may be logged."    ::= { nlmConfigLogEntry 7 }---- Statistics Section--nlmStatsGlobalNotificationsLogged OBJECT-TYPE    SYNTAX      Counter32    UNITS       "notifications"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION     "The number of Notifications put into the nlmLogTable.  This     counts a Notification once for each log entry, so a Notification      put into multiple logs is counted multiple times."    ::= { nlmStats 1 }nlmStatsGlobalNotificationsBumped OBJECT-TYPE    SYNTAX      Counter32    UNITS       "notifications"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION     "The number of log entries discarded to make room for a new entry     due to lack of resources or the value of nlmConfigGlobalEntryLimit     or nlmConfigLogEntryLimit.  This does not include entries discarded     due to the value of nlmConfigGlobalAgeOut."    ::= { nlmStats 2 }---- Log Statistics Table--nlmStatsLogTable OBJECT-TYPE    SYNTAX      SEQUENCE OF NlmStatsLogEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION     "A table of Notification log statistics entries."    ::= { nlmStats 3 }nlmStatsLogEntry OBJECT-TYPE    SYNTAX      NlmStatsLogEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION     "A Notification log statistics entry."    AUGMENTS { nlmConfigLogEntry }    ::= { nlmStatsLogTable 1 }NlmStatsLogEntry ::= SEQUENCE {    nlmStatsLogNotificationsLogged Counter32,    nlmStatsLogNotificationsBumped Counter32}nlmStatsLogNotificationsLogged OBJECT-TYPE    SYNTAX      Counter32    UNITS       "notifications"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION     "The number of Notifications put in this named log."    ::= { nlmStatsLogEntry 1 }nlmStatsLogNotificationsBumped OBJECT-TYPE    SYNTAX      Counter32    UNITS       "notifications"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION     "The number of log entries discarded from this named log to make     room for a new entry due to lack of resources or the value of     nlmConfigGlobalEntryLimit or nlmConfigLogEntryLimit.  This does not     include entries discarded due to the value of     nlmConfigGlobalAgeOut."    ::= { nlmStatsLogEntry 2 }---- Log Section------ Log Table--nlmLogTable OBJECT-TYPE    SYNTAX      SEQUENCE OF NlmLogEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION     "A table of Notification log entries.     It is an implementation-specific matter whether entries in this     table are preserved across initializations of the management     system.  In general one would expect that they are not.     Note that keeping entries across initializations of the     management system leads to some confusion with counters and     TimeStamps, since both of those are based on sysUpTime, which     resets on management initialization.  In this situation,     counters apply only after the reset and nlmLogTime for entries     made before the reset MUST be set to 0."    ::= { nlmLog 1 }nlmLogEntry OBJECT-TYPE    SYNTAX      NlmLogEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION     "A Notification log entry.     Entries appear in this table when Notifications occur and pass     filtering by nlmConfigLogFilterName and access control.  They are     removed to make way for new entries due to lack of resources or     the values of nlmConfigGlobalEntryLimit, nlmConfigGlobalAgeOut, or     nlmConfigLogEntryLimit.     If adding an entry would exceed nlmConfigGlobalEntryLimit or system     resources in general, the oldest entry in any log SHOULD be removed     to make room for the new one.     If adding an entry would exceed nlmConfigLogEntryLimit the oldest     entry in that log SHOULD be removed to make room for the new one.     Before the managed system puts a locally-generated Notification     into a non-null-named log it assures that the creator of the log     has access to the information in the Notification.  If not it     does not log that Notification in that log."    INDEX       { nlmLogName, nlmLogIndex }    ::= { nlmLogTable 1 }NlmLogEntry ::= SEQUENCE {    nlmLogIndex                Unsigned32,    nlmLogTime                 TimeStamp,    nlmLogDateAndTime          DateAndTime,    nlmLogEngineID             SnmpEngineID,    nlmLogEngineTAddress       TAddress,    nlmLogEngineTDomain        TDomain,    nlmLogContextEngineID      SnmpEngineID,    nlmLogContextName          SnmpAdminString,    nlmLogNotificationID       OBJECT IDENTIFIER}nlmLogIndex OBJECT-TYPE    SYNTAX     Unsigned32 (1..4294967295)    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION     "A monotonically increasing integer for the sole purpose of

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -