[SNMP4J] Sub-Agent Connect to Net-SNMP AgentX with Unix sockets

Dan ml at mutox.org
Tue Apr 15 07:24:40 CEST 2008


Hi Jim,

Jim Chan wrote:
> I'v successfully created a SNMP4J sub-agent to talk to a Net-SNMP AgentX
> using TCP.  
> 
> Net-SNMP also supports comunnication using Unix sockets, if the
> sub-agent and AgentX is sitting on the same workstation.  I've looked
> through the SNMP4J-AgentX source code and see only support for UDP and
> TCP.  
> 
> Does the current AgentX API support sub-agent socket connection?  If not
> is there a way I can do this?  Any help is appreciated.

Java does not support unix sockets in any standard way, so SNMP4J will 
not support unix sockets.

There are some implementations of unix sockets for java, but these are 
non standard and are not shipped as part of any Java release I know of.

Hope this helps.

Dan




More information about the SNMP4J mailing list