1 NET-SNMP-AGENT-MIB DEFINITIONS ::= BEGIN
4 -- Defines control and monitoring structures for the Net-SNMP agent.
8 netSnmpObjects, netSnmpModuleIDs, netSnmpNotifications, netSnmpGroups
11 OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY, Integer32
14 OBJECT-GROUP, NOTIFICATION-GROUP
17 DisplayString FROM SNMPv2-TC;
20 netSnmpAgentMIB MODULE-IDENTITY
21 LAST-UPDATED "200202090000Z"
22 ORGANIZATION "www.net-snmp.org"
28 email: net-snmp-coders@lists.sourceforge.net"
30 "Defines control and monitoring structures for the Net-SNMP agent."
31 REVISION "200202090000Z"
34 ::= { netSnmpModuleIDs 2 }
37 nsVersion OBJECT IDENTIFIER ::= {netSnmpObjects 1}
38 nsMibRegistry OBJECT IDENTIFIER ::= {netSnmpObjects 2}
39 nsExtensions OBJECT IDENTIFIER ::= {netSnmpObjects 3}
40 nsDLMod OBJECT IDENTIFIER ::= {netSnmpObjects 4}
41 nsCache OBJECT IDENTIFIER ::= {netSnmpObjects 5}
42 nsErrorHistory OBJECT IDENTIFIER ::= {netSnmpObjects 6}
43 nsConfiguration OBJECT IDENTIFIER ::= {netSnmpObjects 7}
44 nsTransactions OBJECT IDENTIFIER ::= {netSnmpObjects 8}
47 -- Monitoring outstanding "transactions"
48 -- (i.e. requests sent to AgentX subagents, or proxied agents)
51 nsTransactionTable OBJECT-TYPE
52 SYNTAX SEQUENCE OF NsTransactionEntry
53 MAX-ACCESS not-accessible
56 "Lists currently outstanding transactions in the net-snmp agent.
57 This includes requests to AgentX subagents, or proxied SNMP agents."
58 ::= { nsTransactions 1 }
60 nsTransactionEntry OBJECT-TYPE
61 SYNTAX NsTransactionEntry
62 MAX-ACCESS not-accessible
65 "A row describing a given transaction."
66 INDEX { nsTransactionID }
67 ::= {nsTransactionTable 1 }
69 NsTransactionEntry ::= SEQUENCE {
70 nsTransactionID INTEGER,
71 nsTransactionMode Integer32
74 nsTransactionID OBJECT-TYPE
75 SYNTAX INTEGER (0..4294967295)
76 MAX-ACCESS not-accessible
79 "The internal identifier for a given transaction."
80 ::= { nsTransactionEntry 1 }
82 nsTransactionMode OBJECT-TYPE
87 "The mode number for the current operation being performed."
88 ::= { nsTransactionEntry 2 }
92 -- Monitoring the MIB modules currently registered in the agent
93 -- (an updated version of UCD-SNMP-MIB::mrTable)
96 nsModuleTable OBJECT-TYPE
97 SYNTAX SEQUENCE OF NsModuleEntry
98 MAX-ACCESS not-accessible
101 "A table displaying all the oid's registered by mib modules in
102 the agent. Since the agent is modular in nature, this lists
103 each module's OID it is responsible for and the name of the module"
104 ::= { nsMibRegistry 1 }
106 nsModuleEntry OBJECT-TYPE
108 MAX-ACCESS not-accessible
111 "An entry containing a registered mib oid."
112 INDEX { nsmContextName, nsmRegistrationPoint,
113 nsmRegistrationPriority }
114 ::= { nsModuleTable 1 }
116 NsModuleEntry ::= SEQUENCE {
117 nsmContextName OCTET STRING,
118 nsmRegistrationPoint OBJECT IDENTIFIER,
119 nsmRegistrationPriority INTEGER,
120 nsModuleName DisplayString,
122 nsModuleTimeout Integer32
125 nsmContextName OBJECT-TYPE
127 MAX-ACCESS not-accessible
130 "The context name the module is registered under."
131 ::= { nsModuleEntry 1 }
133 nsmRegistrationPoint OBJECT-TYPE
134 SYNTAX OBJECT IDENTIFIER
135 MAX-ACCESS not-accessible
138 "The registry OID of a mib module."
139 ::= { nsModuleEntry 2 }
141 nsmRegistrationPriority OBJECT-TYPE
143 MAX-ACCESS not-accessible
146 "The priority of the registered mib module."
147 ::= { nsModuleEntry 3 }
149 nsModuleName OBJECT-TYPE
154 "The module name that registered this OID."
155 ::= { nsModuleEntry 4 }
157 nsModuleModes OBJECT-TYPE
158 SYNTAX BITS { getAndGetNext(0), set(1), getBulk(2) }
162 "The modes that the particular lower level handler can cope
164 ::= { nsModuleEntry 5 }
166 nsModuleTimeout OBJECT-TYPE
171 "The registered timeout. This is only meaningful for handlers
172 that expect to return results at a later date (subagents,
174 ::= { nsModuleEntry 6 }
178 -- Notifications relating to the basic operation of the agent
181 nsNotifyStart NOTIFICATION-TYPE
184 "An indication that the agent has started running."
185 ::= { netSnmpNotifications 1 }
187 nsNotifyShutdown NOTIFICATION-TYPE
190 "An indication that the agent is in the process of being shut down."
191 ::= { netSnmpNotifications 2 }
193 nsNotifyRestart NOTIFICATION-TYPE
196 "An indication that the agent has been restarted.
197 This does not imply anything about whether the configuration has
198 changed or not (unlike the standard coldStart or warmStart traps)"
199 ::= { netSnmpNotifications 3 }
203 -- Conformance-related definitions
206 nsModuleGroup OBJECT-GROUP
208 nsmContextName, nsmRegistrationPoint, nsmRegistrationPriority,
209 nsModuleName, nsModuleModes, nsModuleTimeout
213 "The objects relating to the list of MIB modules registered
214 with the Net-SNMP agent."
215 ::= { netSnmpGroups 2 }
217 nsTransctionGroup OBJECT-GROUP
219 nsTransactionID, nsTransactionMode
223 "The objects relating to transaction monitoring in the Net-SNMP agent."
224 ::= { netSnmpGroups 8 }
226 nsAgentNotifyGroup NOTIFICATION-GROUP
227 NOTIFICATIONS { nsNotifyStart, nsNotifyShutdown, nsNotifyRestart }
230 "The notifications relating to the basic operation of the Net-SNMP agent."
231 ::= { netSnmpGroups 9 }