(RADIATOR) Problem with SNMP communities

Martin Edge martinedge at kbs.net.au
Tue Oct 8 23:36:30 CDT 2002


Hey Ganbold,

Try this - Usage: snmpget [-Cf] [options...] <hostname> {<community>}
[<objectID> ...]

My SNMPGet is from UCD-SNMP version 4.2.4

Martin

> -----Original Message-----
> From: owner-radiator at open.com.au [mailto:owner-radiator at open.com.au]On
> Behalf Of Mike McCauley
> Sent: Wednesday, October 09, 2002 2:06 PM
> To: radiator at open.com.au
> Subject: (RADIATOR) Problem with SNMP communities
>
>
>
>
> ----------  Forwarded Message  ----------
>
> Subject: BOUNCE radiator at open.com.au:    Non-member submission
> from [Ganbold
> <ganbold at publica.ub.mng.net>]
> Date: Tue, 8 Oct 2002 17:59:47 -0500
> From: owner-radiator at open.com.au
> To: radiator-approval at open.com.au
>
> >From mikem at server1.open.com.au Tue Oct  8 17:59:46 2002
> Received: from publica.ub.mng.net (publica.ub.mng.net [202.179.0.80])
> 	by server1.open.com.au (8.11.0/8.11.0) with ESMTP id g98MxhC30280
> 	for <radiator at open.com.au>; Tue, 8 Oct 2002 17:59:44 -0500
> Received: (from root at localhost)
> 	by publica.ub.mng.net (8.12.5/8.12.2) id g993lBFp059231
> 	for radiator at open.com.au; Wed, 9 Oct 2002 11:47:11 +0800 (ULAT)
> 	(envelope-from ganbold at publica.ub.mng.net)
> Received: from ganbold.publica.ub.mng.net (external.micom.mng.net
>  [202.179.0.164]) (authenticated bits=0)
> 	by publica.ub.mng.net (8.12.5/8.12.3) with ESMTP id g993lANC059221
> 	for <radiator at open.com.au>; Wed, 9 Oct 2002 11:47:10 +0800 (ULAT)
> 	(envelope-from ganbold at publica.ub.mng.net)
> Message-Id: <5.1.1.6.0.20021009115609.00a8cf28 at 202.179.0.80>
> X-Sender: ganbold at 202.179.0.80
> X-Mailer: QUALCOMM Windows Eudora Version 5.1.1
> Date: Wed, 09 Oct 2002 11:56:14 +0900
> To: radiator at open.com.au
> From: Ganbold <ganbold at publica.ub.mng.net>
> Subject: Problem with SNMP communities
> Mime-Version: 1.0
> Content-Type: text/plain; charset="us-ascii"; format=flowed
>
> Hi,
>
> We have problem with snmpget. We put SNMP community in client config part
> but when snmpget runs it uses 'public'
> to get info. How can I make snmpget to use MN-2008?
>
> snmpget Version is 5.0.1.
>
> tia,
>
> Ganbold
>
> Following is the part of config file and debug ouput.
>
> ------------------------------------------------------------------
> -----------
> ------ <Client 202.179.0.130>
> Secret xxx
> DupInterval 60
> NasType Cisco
> SNMPCommunity MN-2008
> StatusServerShowClientDetails
> </Client>
>
> <Client 202.179.0.135>
> Secret xxx
> DupInterval 60
> NasType Cisco
> SNMPCommunity MN-2008
> StatusServerShowClientDetails
> </Client>
>
> <Client 202.179.1.2>
> Secret xxx
> DupInterval 60
> NasType Cisco
> SNMPCommunity MN-2008
> StatusServerShowClientDetails
> </Client>
>
> <Client 202.179.0.133>
> Secret xxx
> DupInterval 60
> NasType AscendSNMP
> SNMPCommunity MN-2008
> StatusServerShowClientDetails
> </Client>
>
> ------------------------------------------------------------------
> -----------
> --
>
> ----------------------- debug
> -----------------------------------------------
> Tue Oct 8 20:41:01 2002: DEBUG: Handling with Radius::AuthSQL
> Tue Oct 8 20:41:01 2002: DEBUG: Handling with Radius::AuthSQL:
> CiscoAdjustAuthOnly
> Tue Oct 8 20:41:01 2002: DEBUG: Query is: select
> ENCRYPTEDPASSWORD,CHECKATTR,REPLYATTR,if(PREPAID="YES",TIMELEFT,NIGHT) as
> TIME, class from SUBSCRIBERS where USERNAME='koicamgl' and STATUS='Active'
> Tue Oct 8 20:41:01 2002: DEBUG: Radius::AuthSQL looks for match
> with koicamgl
> Tue Oct 8 20:41:01 2002: DEBUG: Query is: select
> NASIDENTIFIER,NASPORT,ACCTSESSIONID from RADONLINE where
> USERNAME='koicamgl'
> Tue Oct 8 20:41:01 2002: DEBUG: Checking if user is still online: Cisco,
> koicamgl, 202.179.0.135, 274, 0001F0F2
> Tue Oct 8 20:41:01 2002: DEBUG: Running command `/usr/local/bin/snmpget -c
> 'public' 202.179.0.135
> .iso.org.dod.internet.private.enterprises.9.2.9.2.1.18.274`
> Tue Oct 8 20:41:07 2002: NOTICE: SQL1 Session for koicamgl at
> 202.179.0.135:274 has gone away
> Tue Oct 8 20:41:07 2002: DEBUG: SQL1 Deleting session for koicamgl,
> 202.179.0.135, 274
> Tue Oct 8 20:41:07 2002: DEBUG: do query is: delete from RADONLINE where
> USERNAME='koicamgl' and NASIDENTIFIER='202.179.0.130' and NASPORT='77'
> Tue Oct 8 20:41:07 2002: DEBUG: Checking if user is still online: Cisco,
> koicamgl, 202.179.0.130, 93, 00000291
> Tue Oct 8 20:41:07 2002: DEBUG: Running command `/usr/local/bin/snmpget -c
> 'public' 202.179.0.130
> .iso.org.dod.internet.private.enterprises.9.2.9.2.1.18.93`
>
> -------------------------------------------------------
>
> --
> Mike McCauley                               mikem at open.com.au
> Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
> 24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
> Phone +61 3 9598-0985                       Fax   +61 3 9598-0955
>
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
> TTLS etc on Unix, Windows, MacOS etc.
>
> ===
> 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.
>

===
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