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

📄 net-snmp-agent-mib.txt

📁 Linux嵌入式设计配套光盘,学习嵌入式设计可参考
💻 TXT
📖 第 1 页 / 共 2 页
字号:
NET-SNMP-AGENT-MIB DEFINITIONS ::= BEGIN---- Defines control and monitoring structures for the Net-SNMP agent.--IMPORTS    netSnmpObjects, netSnmpModuleIDs, netSnmpNotifications, netSnmpGroups	FROM NET-SNMP-MIB    OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY, Integer32        FROM SNMPv2-SMI    OBJECT-GROUP, NOTIFICATION-GROUP	FROM SNMPv2-CONF    DisplayString, RowStatus, TruthValue FROM SNMPv2-TC;netSnmpAgentMIB MODULE-IDENTITY    LAST-UPDATED "200202090000Z"    ORGANIZATION "www.net-snmp.org"    CONTACT-INFO    	 "postal:   Wes Hardaker                    P.O. Box 382                    Davis CA  95617          email:    net-snmp-coders@lists.sourceforge.net"    DESCRIPTION	 "Defines control and monitoring structures for the Net-SNMP agent."    REVISION     "200202090000Z"    DESCRIPTION	"First revision."    ::= { netSnmpModuleIDs 2 }nsVersion              OBJECT IDENTIFIER ::= {netSnmpObjects 1}nsMibRegistry          OBJECT IDENTIFIER ::= {netSnmpObjects 2}nsExtensions           OBJECT IDENTIFIER ::= {netSnmpObjects 3}nsDLMod                OBJECT IDENTIFIER ::= {netSnmpObjects 4}nsCache                OBJECT IDENTIFIER ::= {netSnmpObjects 5}nsErrorHistory         OBJECT IDENTIFIER ::= {netSnmpObjects 6}nsConfiguration        OBJECT IDENTIFIER ::= {netSnmpObjects 7}nsTransactions         OBJECT IDENTIFIER ::= {netSnmpObjects 8}----  MIB Module data caching management--NetsnmpCacheStatus ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION "an indication of the status of data caching entries"    SYNTAX INTEGER {		enabled(1),		disabled(2),		empty  (3),		cached (4),		expired(5)           }nsCacheDefaultTimeout         OBJECT-TYPE    SYNTAX      INTEGER		-- ???    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION      "Default cache timeout value (unless overridden       for a particular cache entry)."    DEFVAL { 5 --seconds-- }    ::= { nsCache 1 }nsCacheEnabled                OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION      "Whether data caching is active overall."    DEFVAL { enabled(1) }    ::= { nsCache 2 }nsCacheTable     OBJECT-TYPE    SYNTAX      SEQUENCE OF NsCacheEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "A table of individual MIB module data caches."    ::= { nsCache 3 }nsCacheEntry     OBJECT-TYPE    SYNTAX      NsCacheEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "A conceptual row within the cache table."    INDEX       { IMPLIED nsCachedOID }    ::= { nsCacheTable 1 }NsCacheEntry ::= SEQUENCE {    nsCachedOID     OBJECT IDENTIFIER,    nsCacheTimeout  INTEGER,		-- ?? TimeTicks ??    nsCacheStatus   NetsnmpCacheStatus	-- ?? INTEGER ??}nsCachedOID     OBJECT-TYPE    SYNTAX      OBJECT IDENTIFIER    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "The root OID of the data being cached."    ::= { nsCacheEntry 1 }nsCacheTimeout  OBJECT-TYPE    SYNTAX      INTEGER    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION      "The length of time (?in seconds) for which the data in       this particular cache entry will remain valid."     ::= { nsCacheEntry 2 }nsCacheStatus   OBJECT-TYPE    SYNTAX      NetsnmpCacheStatus    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION      "The current status of this particular cache entry.       Acceptable values for Set requests are 'enabled(1)',       'disabled(2)' or 'empty(3)' (to clear all cached data).       Requests to read the value of such an object will       return 'disabled(2)' through to 'expired(5)'."    ::= { nsCacheEntry 3 }----  Agent configuration--    Debug and logging output--nsConfigDebug          OBJECT IDENTIFIER ::= {nsConfiguration 1}nsConfigLogging        OBJECT IDENTIFIER ::= {nsConfiguration 2}nsDebugEnabled         OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION      "Whether the agent is configured to generate debugging output"    DEFVAL { false }    ::= { nsConfigDebug 1 }nsDebugOutputAll       OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION      "Whether the agent is configured to display all debugging output       rather than filtering on individual debug tokens.  Nothing will       be generated unless nsDebugEnabled is also true(1)"    DEFVAL { false }    ::= { nsConfigDebug 2 }nsDebugDumpPdu        OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION      "Whether the agent is configured to display raw packet dumps.       This is unrelated to the nsDebugEnabled setting."    DEFVAL { false }    ::= { nsConfigDebug 3 }nsDebugTokenTable     OBJECT-TYPE    SYNTAX      SEQUENCE OF NsDebugTokenEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "A table of individual debug tokens, used to control the selection       of what debugging output should be produced.  This table is only       effective if nsDebugOutputAll is false(2), and nothing will       be generated unless nsDebugEnabled is also true(1)"    ::= { nsConfigDebug 4 }nsDebugTokenEntry     OBJECT-TYPE    SYNTAX      NsDebugTokenEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "A conceptual row within the debug token table."    INDEX       { IMPLIED nsDebugTokenPrefix }    ::= { nsDebugTokenTable 1 }NsDebugTokenEntry ::= SEQUENCE {    nsDebugTokenPrefix  DisplayString,    nsDebugTokenStats   RowStatus}nsDebugTokenPrefix    OBJECT-TYPE    SYNTAX      DisplayString    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "A token prefix for which to generate the corresponding       debugging output.  Note that debug output will be generated       for all registered debug statements sharing this prefix       (rather than an exact match).  Nothing will be generated       unless both nsDebuggingEnabled is set true(1) and the       corresponding nsDebugTokenStatus value is active(1)."    ::= { nsDebugTokenEntry 2 }nsDebugTokenStatus   OBJECT-TYPE    SYNTAX      RowStatus    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION      "Whether to generate debug output for the corresponding debug       token prefix.  Nothing will be generated unless both       nsDebuggingEnabled is true(1) and this instance is active(1).       Note that is valid for an instance to be left with the value       notInService(2) indefinitely - i.e. the meaning of 'abnormally       long' (see RFC 2579, RowStatus) for this table is infinite."    ::= { nsDebugTokenEntry 4 }---- Logging configuration--nsLoggingTable     OBJECT-TYPE    SYNTAX      SEQUENCE OF NsLoggingEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "A table of individual logging output destinations, used to control       where various levels of output from the agent should be directed."    ::= { nsConfigLogging 1 }nsLoggingEntry     OBJECT-TYPE    SYNTAX      NsLoggingEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "A conceptual row within the logging table."    INDEX       { nsLogLevel, IMPLIED nsLogToken }    ::= { nsLoggingTable 1 }NsLoggingEntry ::= SEQUENCE {    nsLogLevel          INTEGER,    nsLogToken          DisplayString,    nsLogType           INTEGER,    nsLogMaxLevel       INTEGER,    nsLogStatus         RowStatus}nsLogLevel    OBJECT-TYPE    SYNTAX      INTEGER {		     emergency(0),		     alert    (1),		     critical (2),		     error    (3),		     warning  (4),		     notice   (5),		     info     (6),		     debug    (7)                }    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "The (minimum) priority level for which this logging entry       should be applied."    ::= { nsLoggingEntry 1 }nsLogToken    OBJECT-TYPE    SYNTAX      DisplayString    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "A token for which to generate logging entries.       Depending on the style of logging, this may either       be simply an arbitrary token, or may have some       particular meaning (such as the filename to log to)."    ::= { nsLoggingEntry 2 }nsLogType     OBJECT-TYPE

⌨️ 快捷键说明

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