-- extracted from rfc2621.txt
-- at Mon Nov 15 17:12:04 1999

RADIUS-ACC-SERVER-MIB DEFINITIONS ::= BEGIN

IMPORTS
        MODULE-IDENTITY,
        OBJECT-TYPE,
        OBJECT-IDENTITY,
        Counter32,
        Integer32,
        IpAddress,
        TimeTicks,
        mib-2
                FROM SNMPv2-SMI
        SnmpAdminString
                FROM SNMP-FRAMEWORK-MIB
        MODULE-COMPLIANCE,
        OBJECT-GROUP
                FROM SNMPv2-CONF;

radiusAccServMIB MODULE-IDENTITY
        LAST-UPDATED "9906110000Z" -- Jun 11, 1999 12:00:00 AM
        ORGANIZATION "IETF RADIUS Working Group."
        CONTACT-INFO
               "Bernard Aboba
                Microsoft
                One Microsoft Way
                Redmond, WA  98052
                US

                Phone: +1 425 936 6605
                EMail: bernarda@microsoft.com"
        DESCRIPTION
               "The MIB module for entities implementing the server
                side of the Remote Access Dialin User Service (RADIUS)
                accounting protocol."
        REVISION "9906110000Z"     -- Jun 11, 1999 12:00:00 AM
        DESCRIPTION
               "Initial version as published in RFC 2621"
 -- 1.3.6.1.2.1.67.2.1 --  ::= { mib-2 67 2 1 }


radiusMIB OBJECT-IDENTITY
        STATUS current
        DESCRIPTION
               "The OID assigned to RADIUS MIB work by the IANA."
 -- 1.3.6.1.2.1.67 --  ::= { mib-2 67 }

radiusAccounting OBJECT IDENTIFIER 
 -- 1.3.6.1.2.1.67.2 --  ::= { radiusMIB 2 }

radiusAccServMIBObjects OBJECT IDENTIFIER 
 -- 1.3.6.1.2.1.67.2.1.1 --  ::= { radiusAccServMIB 1 }

radiusAccServ OBJECT IDENTIFIER 
 -- 1.3.6.1.2.1.67.2.1.1.1 --  ::= { radiusAccServMIBObjects 1 }

radiusAccServIdent OBJECT-TYPE
        SYNTAX SnmpAdminString
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The implementation identification string for the
                RADIUS accounting server software in use on the
                system, for example; `FNS-2.1'"
 -- 1.3.6.1.2.1.67.2.1.1.1.1 --  ::= { radiusAccServ 1 }


radiusAccServUpTime OBJECT-TYPE
        SYNTAX TimeTicks
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "If the server has a persistent state (e.g., a process),
                this value will be the time elapsed (in hundredths of a
                second) since the server process was started.
                For software without persistent state, this value will
                be zero."
 -- 1.3.6.1.2.1.67.2.1.1.1.2 --  ::= { radiusAccServ 2 }


radiusAccServResetTime OBJECT-TYPE
        SYNTAX TimeTicks
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "If the server has a persistent state (e.g., a process)
                and supports a `reset' operation (e.g., can be told to
                re-read configuration files), this value will be the
                time elapsed (in hundredths of a second) since the
                server was `reset.'  For software that does not
                have persistence or does not support a `reset' operation,
                this value will be zero."
 -- 1.3.6.1.2.1.67.2.1.1.1.3 --  ::= { radiusAccServ 3 }


radiusAccServConfigReset OBJECT-TYPE
        SYNTAX INTEGER {
                        other(1),
                        reset(2),
                        initializing(3),
                        running(4) }
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
               "Status/action object to reinitialize any persistent
                server state.  When set to reset(2), any persistent
                server state (such as a process) is reinitialized as if
                the server had just been started.  This value will
                never be returned by a read operation.  When read, one
                of the following values will be returned:
                    other(1) - server in some unknown state;
                    initializing(3) - server (re)initializing;
                    running(4) - server currently running."
 -- 1.3.6.1.2.1.67.2.1.1.1.4 --  ::= { radiusAccServ 4 }


-- New Stats proposed by Dale E. Reed Jr (daler@iea.com)

radiusAccServTotalRequests OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of packets received on the
                accounting port."
 -- 1.3.6.1.2.1.67.2.1.1.1.5 --  ::= { radiusAccServ 5 }


radiusAccServTotalInvalidRequests OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of RADIUS Accounting-Request packets
                received from unknown addresses."
 -- 1.3.6.1.2.1.67.2.1.1.1.6 --  ::= { radiusAccServ 6 }


radiusAccServTotalDupRequests OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of duplicate RADIUS Accounting-Request
                packets received."
 -- 1.3.6.1.2.1.67.2.1.1.1.7 --  ::= { radiusAccServ 7 }


radiusAccServTotalResponses OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of RADIUS Accounting-Response packets sent."
 -- 1.3.6.1.2.1.67.2.1.1.1.8 --  ::= { radiusAccServ 8 }


radiusAccServTotalMalformedRequests OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of malformed RADIUS Accounting-Request
                packets received. Bad authenticators or unknown
                types are not included as malformed Access-Requests."
 -- 1.3.6.1.2.1.67.2.1.1.1.9 --  ::= { radiusAccServ 9 }


radiusAccServTotalBadAuthenticators OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of RADIUS Accounting-Request packets
                which contained invalid Signature attributes."
 -- 1.3.6.1.2.1.67.2.1.1.1.10 --  ::= { radiusAccServ 10 }


radiusAccServTotalPacketsDropped OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of incoming packets silently discarded
                for a reason other than malformed, bad authenticators,
                or unknown types."
 -- 1.3.6.1.2.1.67.2.1.1.1.11 --  ::= { radiusAccServ 11 }


radiusAccServTotalNoRecords OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of RADIUS Accounting-Request packets
                which were received and responded to but not
                recorded."
 -- 1.3.6.1.2.1.67.2.1.1.1.12 --  ::= { radiusAccServ 12 }


radiusAccServTotalUnknownTypes OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of RADIUS packets of unknowntype which
                were received."
 -- 1.3.6.1.2.1.67.2.1.1.1.13 --  ::= { radiusAccServ 13 }


-- End of new

radiusAccClientTable OBJECT-TYPE
        SYNTAX SEQUENCE OF RadiusAccClientEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
               "The (conceptual) table listing the RADIUS accounting
                clients with which the server shares a secret."
 -- 1.3.6.1.2.1.67.2.1.1.1.14 --  ::= { radiusAccServ 14 }


radiusAccClientEntry OBJECT-TYPE
        SYNTAX RadiusAccClientEntry
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
               "An entry (conceptual row) representing a RADIUS
                accounting client with which the server shares a secret."
        INDEX {
                radiusAccClientIndex }
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1 --  ::= { radiusAccClientTable 1 }


RadiusAccClientEntry ::= SEQUENCE {
        radiusAccClientIndex           Integer32,
        radiusAccClientAddress         IpAddress,
        radiusAccClientID              SnmpAdminString,
        radiusAccServPacketsDropped    Counter32,
        radiusAccServRequests          Counter32,
        radiusAccServDupRequests       Counter32,
        radiusAccServResponses         Counter32,
        radiusAccServBadAuthenticators Counter32,
        radiusAccServMalformedRequests Counter32,
        radiusAccServNoRecords         Counter32,
        radiusAccServUnknownTypes      Counter32 }


radiusAccClientIndex OBJECT-TYPE
        SYNTAX Integer32 (1..2147483647)
        MAX-ACCESS not-accessible
        STATUS current
        DESCRIPTION
               "A number uniquely identifying each RADIUS accounting
                client with which this server communicates."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.1 --  ::= { radiusAccClientEntry 1 }


radiusAccClientAddress OBJECT-TYPE
        SYNTAX IpAddress
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The NAS-IP-Address of the RADIUS accounting client
                referred to in this table entry."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.2 --  ::= { radiusAccClientEntry 2 }


radiusAccClientID OBJECT-TYPE
        SYNTAX SnmpAdminString
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The NAS-Identifier of the RADIUS accounting client
                referred to in this table entry. This is not necessarily
                the same as sysName in MIB II."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.3 --  ::= { radiusAccClientEntry 3 }


-- Server Counters
--
-- Requests - DupRequests - BadAuthenticators - MalformedRequests -
-- UnknownTypes -  PacketsDropped - Responses = Pending
--
-- Requests - DupRequests - BadAuthenticators - MalformedRequests -
-- UnknownTypes - PacketsDropped - NoRecords = entries logged

radiusAccServPacketsDropped OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of incoming packets received
                from this client and silently discarded
                for a reason other than malformed, bad
                authenticators, or unknown types."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.4 --  ::= { radiusAccClientEntry 4 }


radiusAccServRequests OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of packets received from this
                client on the accounting port."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.5 --  ::= { radiusAccClientEntry 5 }


radiusAccServDupRequests OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of duplicate RADIUS Accounting-Request
                packets received from this client."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.6 --  ::= { radiusAccClientEntry 6 }


radiusAccServResponses OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of RADIUS Accounting-Response packets
                sent to this client."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.7 --  ::= { radiusAccClientEntry 7 }


radiusAccServBadAuthenticators OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of RADIUS Accounting-Request packets
                which contained invalid  authenticators received
                from this client."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.8 --  ::= { radiusAccClientEntry 8 }


radiusAccServMalformedRequests OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of malformed RADIUS Accounting-Request
                packets which were received from this client.
                Bad authenticators and unknown types
                are not included as malformed Accounting-Requests."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.9 --  ::= { radiusAccClientEntry 9 }


radiusAccServNoRecords OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of RADIUS Accounting-Request packets
                which were received and responded to but not
                recorded."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.10 --  ::= { radiusAccClientEntry 10 }


radiusAccServUnknownTypes OBJECT-TYPE
        SYNTAX Counter32
        MAX-ACCESS read-only
        STATUS current
        DESCRIPTION
               "The number of RADIUS packets of unknown type which
                were received from this client."
 -- 1.3.6.1.2.1.67.2.1.1.1.14.1.11 --  ::= { radiusAccClientEntry 11 }


-- conformance information

radiusAccServMIBConformance OBJECT IDENTIFIER 
 -- 1.3.6.1.2.1.67.2.1.2 --  ::= { radiusAccServMIB 2 }

radiusAccServMIBCompliances OBJECT IDENTIFIER 
 -- 1.3.6.1.2.1.67.2.1.2.1 --  ::= { radiusAccServMIBConformance 1 }

radiusAccServMIBGroups OBJECT IDENTIFIER 
 -- 1.3.6.1.2.1.67.2.1.2.2 --  ::= { radiusAccServMIBConformance 2 }


-- compliance statements

radiusAccServMIBCompliance MODULE-COMPLIANCE
        STATUS current
        DESCRIPTION
               "The compliance statement for accounting servers
                implementing the RADIUS Accounting Server MIB."

        MODULE 
        MANDATORY-GROUPS {
                        radiusAccServMIBGroup }

        OBJECT radiusAccServConfigReset
          WRITE-SYNTAX INTEGER {
                        reset(2) }
          DESCRIPTION 
               "The only SETable value is 'reset' (2)."
 -- 1.3.6.1.2.1.67.2.1.2.1.1 --  ::= { radiusAccServMIBCompliances 1 }

-- units of conformance

radiusAccServMIBGroup OBJECT-GROUP
        OBJECTS {
                radiusAccServIdent,
                radiusAccServUpTime,
                radiusAccServResetTime,
                radiusAccServConfigReset,
                radiusAccServTotalRequests,
                radiusAccServTotalInvalidRequests,
                radiusAccServTotalDupRequests,
                radiusAccServTotalResponses,
                radiusAccServTotalMalformedRequests,
                radiusAccServTotalBadAuthenticators,
                radiusAccServTotalPacketsDropped,
                radiusAccServTotalNoRecords,
                radiusAccServTotalUnknownTypes,
                radiusAccClientAddress,
                radiusAccClientID,
                radiusAccServPacketsDropped,
                radiusAccServRequests,
                radiusAccServDupRequests,
                radiusAccServResponses,
                radiusAccServBadAuthenticators,
                radiusAccServMalformedRequests,
                radiusAccServNoRecords,
                radiusAccServUnknownTypes }
        STATUS current
        DESCRIPTION
               "The collection of objects providing management of
                a RADIUS Accounting Server."
 -- 1.3.6.1.2.1.67.2.1.2.2.1 --  ::= { radiusAccServMIBGroups 1 }

END
-- 
--    Copyright (C) The Internet Society (1999).  All Rights Reserved.
-- 
--    This document and translations of it may be copied and furnished to
--    others, and derivative works that comment on or otherwise explain it
--    or assist in its implmentation may be prepared, copied, published and
--    distributed, in whole or in part, without restriction of any kind,
--    provided that the above copyright notice and this paragraph are
--    included on all such copies and derivative works.  However, this
--    document itself may not be modified in any way, such as by removing
--    the copyright notice or references to the Internet Society or other
--    Internet organizations, except as needed for the purpose of
--    developing Internet standards in which case the procedures for
--    copyrights defined in the Internet Standards process must be
--    followed, or as required to translate it into languages other than
--    English.
-- 
--    The limited permissions granted above are perpetual and will not be
--    revoked by the Internet Society or its successors or assigns.
-- 
--    This document and the information contained herein is provided on an
--    "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
--    TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
--    BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
--    HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
--    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
--