Re: SMUX not registering with FreeRadius 1.1.7 and SNMP 5.1.2 after radiusd -X

shrinivas alageri <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks for the response

Dave Shield <[email protected]> wrote:  [ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]


On 18/02/2008, shrinivas alageri wrote:
> Thanks Dave for a very quick response .Please see my resposne.
>
> (SMUX has effectively been superceded by AgentX) ?
>
> Answer So how do we integrate both.Any documentation on this.

The Net-SNMP agent *does* support both SMUX and AgentX,
so has already done this integration. There's not much point
in a subagent supporting both protocols.

What I was trying to say was that the SMUX support in the Net-SNMP
agent isn't really being developed or actively maintained. You can
use it if you need to, but there isn't much expertise within the main
development team if you run into problems.



> Which daemon are you starting first?
> What happens if you try things the other way round?
>
> Answer:
> I tried restarted snmp after making the changes
> service snmp stop and service snmpd start
> Then started radiusd -X. get a set of debug messages(Attached to this
> mail).I see no snmp/SMUX words.
> Vice Versa of starting daemons is also is the same

I haven't looked at the radiusd code, but I would agree that the lack
of any mention of snmp/SMUX is rather suspicious.
I would suggest you check with the FreeRadius documentation
as to whether the SMUX support is active by default, or whether
you need to do something to turn it on.

It would also be worth looking at the file
/usr/local/etc/raddb/snmp.conf

What does that contain?


> 3) t would probably be worth starting the SNMP agent with the
> option -Dsmux, and looking at the output that is produced:
>
> Answer:
> snmpd -f -a -V -L -Dsmux shows
> smux_conf: parsing registration for: 1.3.6.1.4.1.3317.1.3.1 verysevret
> smux_init: [smux_init] done; smux listen sd is 11, smux port is 199
> NET-SNMP version 5.1.2

That feels as if the Net-SNMP agent is listening for SMUX requests,
but the radiusd isn't connecting to it. So I would definitely ask the
FreeRadius people (or check with their documentation) about how
to activate the SMUX subagent capabilities.

As Thomas said, the 5.1.2 release is probably not the best one to
use here, but given the complete lack of any activity, I do suspect
that radiusd isn't actually trying to act as a SMUX subagent at all.



> Please let me know how do I go around with this as I need to generate SNMP
> messages with RADIUS.

See above - check the radius documentation for how to activate the SMUX
support. And then try with a more recent version of the Net-SNMP agent.

Dave

[ radius debug output deleted ]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



       
---------------------------------
 Explore your hobbies and interests. Click here to begin.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.