New build path variable
[freeradius.git] / mibs / RADIUS-ACC-SERVER-MIB.txt
1 RADIUS-ACC-SERVER-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4        MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY,
5        Counter32, Integer32,
6        IpAddress, TimeTicks, mib-2      FROM SNMPv2-SMI
7        SnmpAdminString                  FROM SNMP-FRAMEWORK-MIB
8        MODULE-COMPLIANCE, OBJECT-GROUP  FROM SNMPv2-CONF;
9
10 radiusAccServMIB MODULE-IDENTITY
11        LAST-UPDATED "9906110000Z" -- 11 Jun 1999
12        ORGANIZATION "IETF RADIUS Working Group."
13        CONTACT-INFO
14           " Bernard Aboba
15             Microsoft
16             One Microsoft Way
17             Redmond, WA  98052
18             US
19
20             Phone: +1 425 936 6605
21             EMail: bernarda@microsoft.com"
22        DESCRIPTION
23            "The MIB module for entities implementing the server
24             side of the Remote Access Dialin User Service (RADIUS)
25             accounting protocol."
26        REVISION "9906110000Z"    -- 11 Jun 1999
27        DESCRIPTION "Initial version as published in RFC 2621"
28        ::= { radiusAccounting 1 }
29
30 radiusMIB OBJECT-IDENTITY
31        STATUS  current
32        DESCRIPTION
33            "The OID assigned to RADIUS MIB work by the IANA."
34         ::= { mib-2 67 }
35
36 radiusAccounting  OBJECT IDENTIFIER ::= {radiusMIB 2}
37
38 radiusAccServMIBObjects     OBJECT IDENTIFIER ::=
39                                                 { radiusAccServMIB 1 }
40
41 radiusAccServ      OBJECT IDENTIFIER ::= { radiusAccServMIBObjects 1 }
42
43 radiusAccServIdent OBJECT-TYPE
44        SYNTAX      SnmpAdminString
45        MAX-ACCESS  read-only
46        STATUS      current
47        DESCRIPTION
48              "The implementation identification string for the
49               RADIUS accounting server software in use on the
50               system, for example; `FNS-2.1'"
51        ::= {radiusAccServ 1}
52
53 radiusAccServUpTime OBJECT-TYPE
54        SYNTAX      TimeTicks
55        MAX-ACCESS  read-only
56        STATUS      current
57        DESCRIPTION
58              "If the server has a persistent state (e.g., a process),
59               this value will be the time elapsed (in hundredths of a
60               second) since the server process was started.
61               For software without persistent state, this value will
62               be zero."
63        ::= {radiusAccServ 2}
64
65 radiusAccServResetTime OBJECT-TYPE
66        SYNTAX      TimeTicks
67        MAX-ACCESS  read-only
68        STATUS      current
69        DESCRIPTION
70              "If the server has a persistent state (e.g., a process)
71               and supports a `reset' operation (e.g., can be told to
72               re-read configuration files), this value will be the
73               time elapsed (in hundredths of a second) since the
74               server was `reset.'  For software that does not
75               have persistence or does not support a `reset' operation,
76               this value will be zero."
77        ::= {radiusAccServ 3}
78
79 radiusAccServConfigReset OBJECT-TYPE
80        SYNTAX INTEGER { other(1),
81                         reset(2),
82                         initializing(3),
83                         running(4)}
84        MAX-ACCESS  read-write
85        STATUS      current
86        DESCRIPTION
87               "Status/action object to reinitialize any persistent
88                server state.  When set to reset(2), any persistent
89                server state (such as a process) is reinitialized as if
90                the server had just been started.  This value will
91                never be returned by a read operation.  When read, one
92                of the following values will be returned:
93                    other(1) - server in some unknown state;
94                    initializing(3) - server (re)initializing;
95                    running(4) - server currently running."
96        ::= {radiusAccServ 4}
97
98 -- New Stats proposed by Dale E. Reed Jr (daler@iea.com)
99
100 radiusAccServTotalRequests OBJECT-TYPE
101        SYNTAX Counter32
102        MAX-ACCESS read-only
103        STATUS current
104        DESCRIPTION
105              "The number of packets received on the
106               accounting port."
107        ::= { radiusAccServ 5 }
108
109 radiusAccServTotalInvalidRequests OBJECT-TYPE
110        SYNTAX Counter32
111        MAX-ACCESS read-only
112        STATUS current
113        DESCRIPTION
114              "The number of RADIUS Accounting-Request packets
115               received from unknown addresses."
116        ::= { radiusAccServ 6 }
117
118 radiusAccServTotalDupRequests OBJECT-TYPE
119        SYNTAX Counter32
120        MAX-ACCESS read-only
121        STATUS current
122        DESCRIPTION
123              "The number of duplicate RADIUS Accounting-Request
124               packets received."
125        ::= { radiusAccServ 7 }
126
127 radiusAccServTotalResponses OBJECT-TYPE
128        SYNTAX Counter32
129        MAX-ACCESS read-only
130        STATUS current
131        DESCRIPTION
132              "The number of RADIUS Accounting-Response packets sent."
133        ::= { radiusAccServ 8 }
134
135 radiusAccServTotalMalformedRequests OBJECT-TYPE
136        SYNTAX Counter32
137        MAX-ACCESS read-only
138        STATUS current
139        DESCRIPTION
140              "The number of malformed RADIUS Accounting-Request
141               packets received. Bad authenticators or unknown
142               types are not included as malformed Access-Requests."
143        ::= { radiusAccServ 9 }
144
145 radiusAccServTotalBadAuthenticators OBJECT-TYPE
146       SYNTAX Counter32
147       MAX-ACCESS read-only
148       STATUS current
149       DESCRIPTION
150             "The number of RADIUS Accounting-Request packets
151              which contained invalid Signature attributes."
152       ::= { radiusAccServ 10 }
153
154 radiusAccServTotalPacketsDropped OBJECT-TYPE
155       SYNTAX Counter32
156       MAX-ACCESS read-only
157       STATUS current
158       DESCRIPTION
159             "The number of incoming packets silently discarded
160              for a reason other than malformed, bad authenticators,
161              or unknown types."
162       ::= { radiusAccServ 11 }
163
164 radiusAccServTotalNoRecords OBJECT-TYPE
165        SYNTAX Counter32
166        MAX-ACCESS read-only
167        STATUS current
168        DESCRIPTION
169              "The number of RADIUS Accounting-Request packets
170               which were received and responded to but not
171               recorded."
172        ::= { radiusAccServ 12 }
173
174 radiusAccServTotalUnknownTypes OBJECT-TYPE
175       SYNTAX Counter32
176       MAX-ACCESS read-only
177       STATUS current
178       DESCRIPTION
179             "The number of RADIUS packets of unknowntype which
180              were received."
181       ::= { radiusAccServ 13 }
182
183 -- End of new
184
185 radiusAccClientTable OBJECT-TYPE
186        SYNTAX     SEQUENCE OF RadiusAccClientEntry
187        MAX-ACCESS not-accessible
188        STATUS     current
189        DESCRIPTION
190              "The (conceptual) table listing the RADIUS accounting
191               clients with which the server shares a secret."
192        ::= { radiusAccServ 14 }
193
194 radiusAccClientEntry OBJECT-TYPE
195        SYNTAX     RadiusAccClientEntry
196        MAX-ACCESS not-accessible
197        STATUS     current
198        DESCRIPTION
199              "An entry (conceptual row) representing a RADIUS
200               accounting client with which the server shares a secret."
201        INDEX      { radiusAccClientIndex }
202        ::= { radiusAccClientTable 1 }
203
204 RadiusAccClientEntry ::= SEQUENCE {
205        radiusAccClientIndex                           Integer32,
206        radiusAccClientAddress                         IpAddress,
207        radiusAccClientID                        SnmpAdminString,
208        radiusAccServPacketsDropped                    Counter32,
209        radiusAccServRequests                          Counter32,
210        radiusAccServDupRequests                       Counter32,
211        radiusAccServResponses                         Counter32,
212        radiusAccServBadAuthenticators                 Counter32,
213        radiusAccServMalformedRequests                 Counter32,
214        radiusAccServNoRecords                         Counter32,
215        radiusAccServUnknownTypes                      Counter32
216 }
217
218 radiusAccClientIndex OBJECT-TYPE
219        SYNTAX     Integer32 (1..2147483647)
220        MAX-ACCESS not-accessible
221        STATUS     current
222        DESCRIPTION
223              "A number uniquely identifying each RADIUS accounting
224               client with which this server communicates."
225        ::= { radiusAccClientEntry 1 }
226
227 radiusAccClientAddress OBJECT-TYPE
228        SYNTAX     IpAddress
229        MAX-ACCESS read-only
230        STATUS     current
231        DESCRIPTION
232              "The NAS-IP-Address of the RADIUS accounting client
233               referred to in this table entry."
234        ::= { radiusAccClientEntry 2 }
235
236 radiusAccClientID OBJECT-TYPE
237        SYNTAX     SnmpAdminString
238        MAX-ACCESS read-only
239        STATUS     current
240        DESCRIPTION
241              "The NAS-Identifier of the RADIUS accounting client
242               referred to in this table entry. This is not necessarily
243               the same as sysName in MIB II."
244        ::= { radiusAccClientEntry 3 }
245
246 -- Server Counters
247 --
248 -- Requests - DupRequests - BadAuthenticators - MalformedRequests -
249 -- UnknownTypes -  PacketsDropped - Responses = Pending
250 --
251 -- Requests - DupRequests - BadAuthenticators - MalformedRequests -
252 -- UnknownTypes - PacketsDropped - NoRecords = entries logged
253
254 radiusAccServPacketsDropped OBJECT-TYPE
255       SYNTAX Counter32
256       MAX-ACCESS read-only
257       STATUS current
258       DESCRIPTION
259            "The number of incoming packets received
260             from this client and silently discarded
261             for a reason other than malformed, bad
262             authenticators, or unknown types."
263      ::= { radiusAccClientEntry  4 }
264
265 radiusAccServRequests OBJECT-TYPE
266        SYNTAX Counter32
267        MAX-ACCESS read-only
268        STATUS current
269        DESCRIPTION
270              "The number of packets received from this
271               client on the accounting port."
272        ::= { radiusAccClientEntry  5 }
273
274 radiusAccServDupRequests OBJECT-TYPE
275        SYNTAX Counter32
276        MAX-ACCESS read-only
277        STATUS current
278        DESCRIPTION
279              "The number of duplicate RADIUS Accounting-Request
280               packets received from this client."
281        ::= { radiusAccClientEntry 6 }
282
283 radiusAccServResponses OBJECT-TYPE
284        SYNTAX Counter32
285        MAX-ACCESS read-only
286        STATUS current
287        DESCRIPTION
288              "The number of RADIUS Accounting-Response packets
289               sent to this client."
290        ::= { radiusAccClientEntry  7 }
291
292 radiusAccServBadAuthenticators OBJECT-TYPE
293        SYNTAX Counter32
294        MAX-ACCESS read-only
295        STATUS current
296        DESCRIPTION
297              "The number of RADIUS Accounting-Request packets
298               which contained invalid  authenticators received
299               from this client."
300        ::= { radiusAccClientEntry  8 }
301
302 radiusAccServMalformedRequests OBJECT-TYPE
303        SYNTAX Counter32
304        MAX-ACCESS read-only
305        STATUS current
306        DESCRIPTION
307              "The number of malformed RADIUS Accounting-Request
308               packets which were received from this client.
309               Bad authenticators and unknown types
310               are not included as malformed Accounting-Requests."
311        ::= { radiusAccClientEntry  9 }
312
313 radiusAccServNoRecords OBJECT-TYPE
314        SYNTAX Counter32
315        MAX-ACCESS read-only
316        STATUS current
317        DESCRIPTION
318              "The number of RADIUS Accounting-Request packets
319               which were received and responded to but not
320               recorded."
321        ::= { radiusAccClientEntry  10 }
322
323 radiusAccServUnknownTypes OBJECT-TYPE
324        SYNTAX Counter32
325        MAX-ACCESS read-only
326        STATUS current
327        DESCRIPTION
328              "The number of RADIUS packets of unknown type which
329               were received from this client."
330        ::= { radiusAccClientEntry  11 }
331
332
333 -- conformance information
334
335 radiusAccServMIBConformance
336               OBJECT IDENTIFIER ::= { radiusAccServMIB 2 }
337 radiusAccServMIBCompliances
338               OBJECT IDENTIFIER ::= { radiusAccServMIBConformance 1 }
339 radiusAccServMIBGroups
340               OBJECT IDENTIFIER ::= { radiusAccServMIBConformance 2 }
341
342 -- compliance statements
343
344 radiusAccServMIBCompliance MODULE-COMPLIANCE
345        STATUS  current
346        DESCRIPTION
347              "The compliance statement for accounting servers
348               implementing the RADIUS Accounting Server MIB."
349        MODULE  -- this module
350        MANDATORY-GROUPS { radiusAccServMIBGroup }
351
352        OBJECT        radiusAccServConfigReset
353        WRITE-SYNTAX  INTEGER { reset(2) }
354        DESCRIPTION  "The only SETable value is 'reset' (2)."
355
356        ::= { radiusAccServMIBCompliances 1 }
357
358
359 -- units of conformance
360
361 radiusAccServMIBGroup OBJECT-GROUP
362       OBJECTS {radiusAccServIdent,
363                radiusAccServUpTime,
364                radiusAccServResetTime,
365                radiusAccServConfigReset,
366                radiusAccServTotalRequests,
367                radiusAccServTotalInvalidRequests,
368                radiusAccServTotalDupRequests,
369                radiusAccServTotalResponses,
370                radiusAccServTotalMalformedRequests,
371                radiusAccServTotalBadAuthenticators,
372                radiusAccServTotalPacketsDropped,
373                radiusAccServTotalNoRecords,
374                radiusAccServTotalUnknownTypes,
375                radiusAccClientAddress,
376                radiusAccClientID,
377                radiusAccServPacketsDropped,
378                radiusAccServRequests,
379                radiusAccServDupRequests,
380                radiusAccServResponses,
381                radiusAccServBadAuthenticators,
382                radiusAccServMalformedRequests,
383                radiusAccServNoRecords,
384                radiusAccServUnknownTypes
385               }
386       STATUS  current
387       DESCRIPTION
388             "The collection of objects providing management of
389              a RADIUS Accounting Server."
390       ::= { radiusAccServMIBGroups 1 }
391
392 END
393