(RADIATOR) What info is available via SNMP

Hugh Irvine hugh at open.com.au
Sun Aug 26 01:05:04 CDT 2001


Hello Matthew -

On Saturday 25 August 2001 16:21, manager wrote:
> Hi
>
> I have SNMP work on My Radiator Box fine and get results when polled
> Doing a snmpwalk against the box I get result from
>
> 67.1.1.1.1.1
> to
> 67.2.1.1.1.14.1.11.7
>
> With various info against each
> Is there list of what each result means ?
>
> I can see that you can get up time
> the NAS box IP etc
>
> I was wondering if you can find out how many have LOG OFF
> or Logon failures or what other info is there ?
> (I know you can find how many log on)
>

Here is the top of "Radius/SNMPAgent.pm":

# SNMPAgent.pm
#
# Object for handling SNMP requests as per draft-ietf-radius-servmib-04.txt
# and RFC2619 and RFC2621
#
# Author: Mike McCauley (mikem at open.com.au)
# Copyright (C) 1997 Open System Consultants
# $Id: SNMPAgent.pm,v 1.12 2001/04/25 23:47:13 mikem Exp $

package Radius::SNMPAgent;
use strict;
use Radius::Mib;
use Radius::Radius;
use SNMP_util;
use Socket;

use vars qw($VERSION @ISA);
BEGIN
{
    @ISA = qw(Radius::Configurable);
}

# The one and only agent in this instance
$Radius::SNMPAgent::agent;

# Make sure we get reinitialized on sighup
push(@main::reinitFns, \&reinitialize);

# OIDs for objects in the radius server MIB
# This is a convenience so we can refer to OIDs by name
my %OIDS =
(
 # These are a subset of SNMP MIB 2
 'sysUpTime'                            => '1.3.6.1.2.1.1.3.0',
 'sysName'                              => '1.3.6.1.2.1.1.5.0',

 # These are the ones from draft-ietf-radius-servmib-04.txt
 'radiusServIdent'                      => '1.3.6.1.3.79.1.1.1.1',
 'radiusServUpTime'                     => '1.3.6.1.3.79.1.1.1.2',
 'radiusServResetTime'                  => '1.3.6.1.3.79.1.1.1.3',
 'radiusServConfigReset'                => '1.3.6.1.3.79.1.1.1.4',
 'radiusServInvalidClientAddresses'     => '1.3.6.1.3.79.1.1.1.5',
 'radiusClientIndex'                    => '1.3.6.1.3.79.1.1.1.6.1.1',
 'radiusClientAddress'                  => '1.3.6.1.3.79.1.1.1.6.1.2',
 'radiusClientID'                       => '1.3.6.1.3.79.1.1.1.6.1.3',
 'radiusServAccessRequests'             => '1.3.6.1.3.79.1.1.1.6.1.4',
 'radiusServDupAccessRequests'          => '1.3.6.1.3.79.1.1.1.6.1.5',
 'radiusServAccessAccepts'              => '1.3.6.1.3.79.1.1.1.6.1.6',
 'radiusServAccessRejects'              => '1.3.6.1.3.79.1.1.1.6.1.7',
 'radiusServAccessChallenges'           => '1.3.6.1.3.79.1.1.1.6.1.8',
 'radiusServMalformedAccessRequests'    => '1.3.6.1.3.79.1.1.1.6.1.9',
 'radiusServAuthenticationBadAuthenticators' => '1.3.6.1.3.79.1.1.1.6.1.10',
 'radiusServPacketsDropped'             => '1.3.6.1.3.79.1.1.1.6.1.11',
 'radiusServAccountingRequests'         => '1.3.6.1.3.79.1.1.1.6.1.12',
 'radiusServDupAccountingRequests'      => '1.3.6.1.3.79.1.1.1.6.1.13',
 'radiusServAccountingResponses'        => '1.3.6.1.3.79.1.1.1.6.1.14',
 'radiusServAccountingBadAuthenticators' => '1.3.6.1.3.79.1.1.1.6.1.15',
 'radiusServMalformedAccountingRequests' => '1.3.6.1.3.79.1.1.1.6.1.16',
 'radiusServAccountingNoRecord'         => '1.3.6.1.3.79.1.1.1.6.1.17',
 'radiusServUnknownType'                => '1.3.6.1.3.79.1.1.1.6.1.18',

 # These are the new ones from RFC 2619
 'radiusAuthServIdent'                  => '1.3.6.1.2.1.67.1.1.1.1.1',
 'radiusAuthServUpTime'                 => '1.3.6.1.2.1.67.1.1.1.1.2',
 'radiusAuthServResetTime'              => '1.3.6.1.2.1.67.1.1.1.1.3',
 'radiusAuthServConfigReset'            => '1.3.6.1.2.1.67.1.1.1.1.4',
 'radiusAuthServTotalAccessRequests'    => '1.3.6.1.2.1.67.1.1.1.1.5',
 'radiusAuthServTotalInvalidRequests'   => '1.3.6.1.2.1.67.1.1.1.1.6',
 'radiusAuthServTotalDupAccessRequests' => '1.3.6.1.2.1.67.1.1.1.1.7',
 'radiusAuthServTotalAccessAccepts'     => '1.3.6.1.2.1.67.1.1.1.1.8',
 'radiusAuthServTotalAccessRejects'     => '1.3.6.1.2.1.67.1.1.1.1.9',
 'radiusAuthServTotalAccessChallenges'  => '1.3.6.1.2.1.67.1.1.1.1.10',
 'radiusAuthServTotalMalformedAccessRequests' => '1.3.6.1.2.1.67.1.1.1.1.11',
 'radiusAuthServTotalBadAuthenticators' => '1.3.6.1.2.1.67.1.1.1.1.12',
 'radiusAuthServTotalPacketsDropped'    => '1.3.6.1.2.1.67.1.1.1.1.13',
 'radiusAuthServTotalUnknownTypes'      => '1.3.6.1.2.1.67.1.1.1.1.14',
 'radiusAuthClientIndex'                => '1.3.6.1.2.1.67.1.1.1.1.15.1.1',
 'radiusAuthClientAddress'              => '1.3.6.1.2.1.67.1.1.1.1.15.1.2',
 'radiusAuthClientID'                   => '1.3.6.1.2.1.67.1.1.1.1.15.1.3',
 'radiusAuthServAccessRequests'         => '1.3.6.1.2.1.67.1.1.1.1.15.1.4',
 'radiusAuthServDupAccessRequests'      => '1.3.6.1.2.1.67.1.1.1.1.15.1.5',
 'radiusAuthServAccessAccepts'          => '1.3.6.1.2.1.67.1.1.1.1.15.1.6',
 'radiusAuthServAccessRejects'          => '1.3.6.1.2.1.67.1.1.1.1.15.1.7',
 'radiusAuthServAccessChallenges'       => '1.3.6.1.2.1.67.1.1.1.1.15.1.8',
 'radiusAuthServMalformedAccessRequests' => '1.3.6.1.2.1.67.1.1.1.1.15.1.9',
 'radiusAuthServBadAuthenticators'      => '1.3.6.1.2.1.67.1.1.1.1.15.1.10',
 'radiusAuthServPacketsDropped'         => '1.3.6.1.2.1.67.1.1.1.1.15.1.11',
 'radiusAuthServUnknownTypes'           => '1.3.6.1.2.1.67.1.1.1.1.15.1.12',

 # These are the new ones from RFC 2621
 'radiusAccServIdent'                   => '1.3.6.1.2.1.67.2.1.1.1.1',
 'radiusAccServUpTime'                  => '1.3.6.1.2.1.67.2.1.1.1.2',
 'radiusAccServResetTime'               => '1.3.6.1.2.1.67.2.1.1.1.3',
 'radiusAccServConfigReset'             => '1.3.6.1.2.1.67.2.1.1.1.4',
 'radiusAccServTotalRequests'           => '1.3.6.1.2.1.67.2.1.1.1.5',
 'radiusAccServTotalInvalidRequests'    => '1.3.6.1.2.1.67.2.1.1.1.6',
 'radiusAccServTotalDupRequests'        => '1.3.6.1.2.1.67.2.1.1.1.7',
 'radiusAccServTotalResponses'          => '1.3.6.1.2.1.67.2.1.1.1.8',
 'radiusAccServTotalMalformedRequests'  => '1.3.6.1.2.1.67.2.1.1.1.9',
 'radiusAccServTotalBadAuthenticators'  => '1.3.6.1.2.1.67.2.1.1.1.10',
 'radiusAccServTotalPacketsDropped'     => '1.3.6.1.2.1.67.2.1.1.1.11',
 'radiusAccServTotalNoRecords'          => '1.3.6.1.2.1.67.2.1.1.1.12',
 'radiusAccServTotalUnknownTypes'       => '1.3.6.1.2.1.67.2.1.1.1.13',
 'radiusAccClientIndex'                 => '1.3.6.1.2.1.67.2.1.1.1.14.1.1',
 'radiusAccClientAddress'               => '1.3.6.1.2.1.67.2.1.1.1.14.1.2',
 'radiusAccClientID'                    => '1.3.6.1.2.1.67.2.1.1.1.14.1.3',
 'radiusAccServPacketsDropped'          => '1.3.6.1.2.1.67.2.1.1.1.14.1.4',
 'radiusAccServRequests'                => '1.3.6.1.2.1.67.2.1.1.1.14.1.5',
 'radiusAccServDupRequests'             => '1.3.6.1.2.1.67.2.1.1.1.14.1.6',
 'radiusAccServResponses'               => '1.3.6.1.2.1.67.2.1.1.1.14.1.7',
 'radiusAccServBadAuthenticators'       => '1.3.6.1.2.1.67.2.1.1.1.14.1.8',
 'radiusAccServMalformedRequests'       => '1.3.6.1.2.1.67.2.1.1.1.14.1.9',
 'radiusAccServNoRecords'               => '1.3.6.1.2.1.67.2.1.1.1.14.1.10',
 'radiusAccServUnknownTypes'            => '1.3.6.1.2.1.67.2.1.1.1.14.1.11',
 
);
                          
You will find the documents refered to above in the "doc" directory in the 
Radiator distribution.

regards

Hugh


-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list