Magnus Fromreide wrote:
> On fre, 2007-12-21 at 11:56 +1100, Ben Nizette wrote:
>> Hello,
>>
>> I cannot correctly attached agentx subagents to my snmpd.  If attempting
>> to use unix sockets, the attach just fails with "No Checked Transport
>> Domain" but that's fine, they attach just OK over udp.
> 
> Eh, I suppose you are running on windows, right. Windows doesn't AFAIK
> support AF_LOCAL sockets so that is expected in that case.

Actually no, the board is Linux unit based on the AVR32 architecture.  I
did check through the kernel configuration, scouting for anything
vaguely unix-socketish and it's all enabled.  There may well be
something I'm missing though.

> 
> Now, using UDP do sound a little odd. Me, I would have tried with TCP
> since AgentX do expect a session channel. Does it work any better if you
> try to run AgentX over TCP instead of UDP?

In fact I had tried using TCP and it used to fail with the "no support
for any checked transport domain" cruft.  I just got the guy who
compiled net-snmp for me to email across the configure line he used and
for reasons best know to himself, he had added TCP to the
--with-out-transports clause.  This has been recitifed, he's been
slapped and the communication now seems to be working just about fine :-)

What ever the problem with sockets is, it's a different one, that
transport was built in.  But not to worry.

I donno, if you want something done right, do it yourself eh? ;-)

Thanks for your help

--Ben.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to