1-- *------------------------------------------------------------------
2-- * ALTIGA-DHCP-STATS-MIB.my:  The Altiga DHCP Statistics MIB.
3-- *
4-- * Altiga Networks was acquired by Cisco Systems on March 29, 2000
5-- *
6-- * Copyright (c) 2002 by Cisco Systems, Inc.
7-- * All rights reserved.
8-- *
9-- *------------------------------------------------------------------
10
11ALTIGA-DHCP-STATS-MIB DEFINITIONS ::= BEGIN
12
13   IMPORTS
14      MODULE-IDENTITY, OBJECT-TYPE, Integer32, IpAddress, Gauge32
15         FROM SNMPv2-SMI
16      RowStatus, DisplayString
17         FROM SNMPv2-TC
18      OBJECT-GROUP, MODULE-COMPLIANCE
19         FROM SNMPv2-CONF
20      alStatsDhcp, alDhcpGroup
21         FROM ALTIGA-MIB
22      alDhcpMibModule
23         FROM ALTIGA-GLOBAL-REG;
24
25   altigaDhcpStatsMibModule MODULE-IDENTITY
26      LAST-UPDATED   "200209051300Z"
27      ORGANIZATION   "Cisco Systems, Inc."
28      CONTACT-INFO
29         "Cisco Systems
30          170 W Tasman Drive
31          San Jose, CA  95134
32          USA
33
34          Tel: +1 800 553-NETS
35          E-mail: cs-cvpn3000@cisco.com"
36
37      DESCRIPTION
38         "The Altiga DHCP Statistics MIB models counters and objects that are
39          of management interest for DHCP.
40
41          Acronyms
42          The following acronyms are used in this document:
43
44            DHCP:       Dynamic Host Configuration Protocol
45
46            MIB:        Management Information Base
47
48         "
49
50        REVISION "200209051300Z"
51        DESCRIPTION
52                "Added module compliance."
53
54        REVISION "200207100000Z"
55        DESCRIPTION
56                "Updated with new header"
57
58      ::= { alDhcpMibModule 2 }
59
60
61-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++
62-- MIB Objects
63-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++
64
65alStatsDhcpGlobal	OBJECT IDENTIFIER ::= { alStatsDhcp 1 }
66
67alDhcpStatsActiveLeases		OBJECT-TYPE
68	SYNTAX			Gauge32
69	MAX-ACCESS		read-only
70	STATUS			current
71	DESCRIPTION
72      "The number of active DHCP leases."
73	::= { alStatsDhcpGlobal 1 }
74
75alDhcpStatsMaximumLeases	OBJECT-TYPE
76	SYNTAX			Gauge32
77	MAX-ACCESS		read-only
78	STATUS			current
79	DESCRIPTION
80      "The number of leases that were active at any one time."
81	::= { alStatsDhcpGlobal 2 }
82
83alDhcpStatsDiscoversSent	OBJECT-TYPE
84	SYNTAX			Gauge32
85	MAX-ACCESS		read-only
86	STATUS			current
87	DESCRIPTION
88      "The number of transmitted DHCPDISCOVER messages."
89	::= { alStatsDhcpGlobal 3 }
90
91alDhcpStatsOffersRcvd		OBJECT-TYPE
92	SYNTAX			Gauge32
93	MAX-ACCESS		read-only
94	STATUS			current
95	DESCRIPTION
96      "The number of received DHCPOFFER messages."
97	::= { alStatsDhcpGlobal 4 }
98
99alDhcpStatsInitRequestsSent	OBJECT-TYPE
100	SYNTAX			Gauge32
101	MAX-ACCESS		read-only
102	STATUS			current
103	DESCRIPTION
104      "The number of initially (i.e. in the SELECTING or REQUESTING state)
105       transmitted DHCPREQUEST messages."
106	::= { alStatsDhcpGlobal 5 }
107
108alDhcpStatsT1RequestsSent	OBJECT-TYPE
109	SYNTAX			Gauge32
110	MAX-ACCESS		read-only
111	STATUS			current
112	DESCRIPTION
113      "The number of transmitted DHCPDISCOVER messages after the T1
114       timer expired."
115	::= { alStatsDhcpGlobal 6 }
116
117alDhcpStatsT2RequestsSent	OBJECT-TYPE
118	SYNTAX			Gauge32
119	MAX-ACCESS		read-only
120	STATUS			current
121	DESCRIPTION
122      "The number of transmitted DHCPDISCOVER messages after the T2
123       timer expired."
124	::= { alStatsDhcpGlobal 7 }
125
126alDhcpStatsInitAcksRcvd		OBJECT-TYPE
127	SYNTAX			Gauge32
128	MAX-ACCESS		read-only
129	STATUS			current
130	DESCRIPTION
131      "The number of received original (i.e. in the REQUESTING state)
132       DHCPACK messages."
133	::= { alStatsDhcpGlobal 8 }
134
135alDhcpStatsInitNaksRcvd		OBJECT-TYPE
136	SYNTAX			Gauge32
137	MAX-ACCESS		read-only
138	STATUS			current
139	DESCRIPTION
140      "The number of received original (i.e. in the REQUESTING state)
141       DHCPNAK messages."
142	::= { alStatsDhcpGlobal 9 }
143
144alDhcpStatsT1AcksRcvd		OBJECT-TYPE
145	SYNTAX			Gauge32
146	MAX-ACCESS		read-only
147	STATUS			current
148	DESCRIPTION
149      "The number of received DHCPACK messages after the T1 timer
150       expired."
151	::= { alStatsDhcpGlobal 10 }
152
153alDhcpStatsT1NaksRcvd		OBJECT-TYPE
154	SYNTAX			Gauge32
155	MAX-ACCESS		read-only
156	STATUS			current
157	DESCRIPTION
158      "The number of received DHCPNAK messages after the T1 timer
159       expired."
160	::= { alStatsDhcpGlobal 11 }
161
162alDhcpStatsT2AcksRcvd		OBJECT-TYPE
163	SYNTAX			Gauge32
164	MAX-ACCESS		read-only
165	STATUS			current
166	DESCRIPTION
167      "The number of received DHCPACK messages after the T2 timer
168       expired."
169	::= { alStatsDhcpGlobal 12 }
170
171alDhcpStatsT2NaksRcvd		OBJECT-TYPE
172	SYNTAX			Gauge32
173	MAX-ACCESS		read-only
174	STATUS			current
175	DESCRIPTION
176      "The number of received DHCPNAK messages after the T2 timer
177       expired."
178	::= { alStatsDhcpGlobal 13 }
179
180alDhcpStatsT1Timeouts		OBJECT-TYPE
181	SYNTAX			Gauge32
182	MAX-ACCESS		read-only
183	STATUS			current
184	DESCRIPTION
185      "The number of T1 timeouts that occurred."
186	::= { alStatsDhcpGlobal 14 }
187
188alDhcpStatsT2Timeouts		OBJECT-TYPE
189	SYNTAX			Gauge32
190	MAX-ACCESS		read-only
191	STATUS			current
192	DESCRIPTION
193      "The number of T2 timeouts that occurred."
194	::= { alStatsDhcpGlobal 15 }
195
196alDhcpStatsApiRequests		OBJECT-TYPE
197	SYNTAX			Gauge32
198	MAX-ACCESS		read-only
199	STATUS			current
200	DESCRIPTION
201      "The number of requests made to obtain an IP address from
202       the DHCP module."
203	::= { alStatsDhcpGlobal 16 }
204
205alDhcpStatsLeaseTimeouts	OBJECT-TYPE
206	SYNTAX			Gauge32
207	MAX-ACCESS		read-only
208	STATUS			current
209	DESCRIPTION
210      "The number of leases that expired."
211	::= { alStatsDhcpGlobal 17 }
212
213
214--   Per session stats
215
216alDhcpStatsSessTable		OBJECT-TYPE
217	SYNTAX			SEQUENCE OF AlDhcpStatsSessEntry
218	MAX-ACCESS		not-accessible
219	STATUS			current
220	DESCRIPTION
221      "List of active sessions."
222	::= { alStatsDhcp 2 }
223
224alDhcpStatsSessEntry		OBJECT-TYPE
225	SYNTAX			AlDhcpStatsSessEntry
226	MAX-ACCESS		not-accessible
227	STATUS			current
228	DESCRIPTION
229      "An entry in the alDhcpStatsSessTable."
230	INDEX			   { alDhcpStatsSessIpAddr }
231	::= { alDhcpStatsSessTable 1 }
232
233AlDhcpStatsSessEntry ::= SEQUENCE {
234   alDhcpStatsSessRowStatus      RowStatus,
235   alDhcpStatsSessId             Integer32,
236   alDhcpStatsSessKey            Integer32,
237   alDhcpStatsSessIpAddr         IpAddress,
238   alDhcpStatsSessUpTime         Integer32,
239   alDhcpStatsSessLeaseDuration  Integer32,
240   alDhcpStatsSessLeaseExpire    Integer32,
241   alDhcpStatsSessState          DisplayString,
242   alDhcpStatsSessClientId       DisplayString,
243   alDhcpStatsSessSrvrIpAddr     IpAddress
244}
245
246alDhcpStatsSessRowStatus	OBJECT-TYPE
247	SYNTAX			RowStatus
248	MAX-ACCESS		read-write
249	STATUS			current
250	DESCRIPTION
251   "The status of this row. This can be used to delete the
252    lease, but can not be used to create one."
253	::= { alDhcpStatsSessEntry 1 }
254
255alDhcpStatsSessId		OBJECT-TYPE
256	SYNTAX			Integer32
257	MAX-ACCESS		read-only
258	STATUS			current
259	DESCRIPTION
260   "The unique DHCP session ID used as the index for this row."
261	::= { alDhcpStatsSessEntry 2 }
262
263alDhcpStatsSessKey		OBJECT-TYPE
264	SYNTAX			Integer32
265	MAX-ACCESS		read-only
266	STATUS			current
267	DESCRIPTION
268   "The DHCP hash key for this lease."
269	::= { alDhcpStatsSessEntry 3 }
270
271alDhcpStatsSessIpAddr	OBJECT-TYPE
272	SYNTAX			IpAddress
273	MAX-ACCESS		read-only
274	STATUS			current
275	DESCRIPTION
276		"The IP address of the remote client."
277	::= { alDhcpStatsSessEntry 4 }
278
279alDhcpStatsSessUpTime		OBJECT-TYPE
280	SYNTAX			Integer32
281	MAX-ACCESS		read-only
282	STATUS			current
283	DESCRIPTION
284		"The total length of time that this session has had active
285		 lease(s)."
286	::= { alDhcpStatsSessEntry 5 }
287
288alDhcpStatsSessLeaseDuration	OBJECT-TYPE
289	SYNTAX			Integer32
290	MAX-ACCESS		read-only
291	STATUS			current
292	DESCRIPTION
293      "The duration of the current lease."
294	::= { alDhcpStatsSessEntry 6 }
295
296alDhcpStatsSessLeaseExpire	OBJECT-TYPE
297	SYNTAX			Integer32
298	MAX-ACCESS		read-only
299	STATUS			current
300	DESCRIPTION
301      "The remaining seconds until the current lease expires."
302	::= { alDhcpStatsSessEntry 7 }
303
304alDhcpStatsSessState		OBJECT-TYPE
305	SYNTAX			DisplayString
306	MAX-ACCESS		read-only
307	STATUS			current
308	DESCRIPTION
309      "The state of this session."
310	::= { alDhcpStatsSessEntry 8 }
311
312alDhcpStatsSessClientId		OBJECT-TYPE
313	SYNTAX			DisplayString
314	MAX-ACCESS		read-only
315	STATUS			current
316	DESCRIPTION
317      "The full 'client ID' value associated with this lease."
318	::= { alDhcpStatsSessEntry 9 }
319
320alDhcpStatsSessSrvrIpAddr	OBJECT-TYPE
321	SYNTAX			IpAddress
322	MAX-ACCESS		read-only
323	STATUS			current
324	DESCRIPTION
325		"The IP address of the server from which this lease
326		 was obtained."
327	::= { alDhcpStatsSessEntry 10 }
328
329altigaDhcpStatsMibConformance OBJECT IDENTIFIER ::= { altigaDhcpStatsMibModule 1 }
330altigaDhcpStatsMibCompliances OBJECT IDENTIFIER ::= { altigaDhcpStatsMibConformance 1 }
331
332altigaDhcpStatsMibCompliance MODULE-COMPLIANCE
333   STATUS         current
334   DESCRIPTION
335      "The compliance statement for agents which
336       implement the Altiga DHCP Statistics MIB."
337   MODULE
338   MANDATORY-GROUPS {
339      altigaDhcpStatsGroup
340   }
341   ::= { altigaDhcpStatsMibCompliances 1 }
342
343altigaDhcpStatsGroup OBJECT-GROUP
344	OBJECTS
345	{
346		alDhcpStatsActiveLeases,
347		alDhcpStatsMaximumLeases,
348		alDhcpStatsDiscoversSent,
349		alDhcpStatsOffersRcvd,
350		alDhcpStatsInitRequestsSent,
351		alDhcpStatsT1RequestsSent,
352 		alDhcpStatsT2RequestsSent,
353		alDhcpStatsInitAcksRcvd,
354		alDhcpStatsInitNaksRcvd,
355		alDhcpStatsT1AcksRcvd,
356		alDhcpStatsT1NaksRcvd,
357		alDhcpStatsT2AcksRcvd,
358		alDhcpStatsT2NaksRcvd,
359		alDhcpStatsT1Timeouts,
360		alDhcpStatsT2Timeouts,
361		alDhcpStatsApiRequests,
362		alDhcpStatsLeaseTimeouts,
363		alDhcpStatsSessRowStatus,
364		alDhcpStatsSessId,
365		alDhcpStatsSessKey,
366		alDhcpStatsSessIpAddr,
367		alDhcpStatsSessUpTime,
368		alDhcpStatsSessLeaseDuration,
369		alDhcpStatsSessLeaseExpire,
370		alDhcpStatsSessState,
371		alDhcpStatsSessClientId,
372		alDhcpStatsSessSrvrIpAddr
373	}
374	STATUS 	current
375	DESCRIPTION
376      "The objects for the DHCP Server statistics."
377	::= { alDhcpGroup 2 }
378
379END
380
381
382