RE: Solaris 10's Net-SNMP requires Unix Domain Sockets

"Sinha, Birendra (Birendra)" <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <52BAF2247695064397E0B142F7B37298011B6D47@306181ANEX3.global.avaya.com>
Hi Thomas,

Thanks! Solaris-10 machine here has Sun net-snmp 5.0.9 package and I
checked the "net-snmp-config", it seems it is built with
--enable-agentx-dom-sock-only option.
As you said we can't do anything here in this case, so I am wondering
how we should leverage the OS provided Net-SNMP Master agent for java
based subagent integration? I think I need to install a different
Net-SNMP package and disable the existing one.

Regards
Birendra

bash-3.00# ./net-snmp-config --configure-options
'--with-sys-contact=root' '--with-sys-location='
'--with-logfile=/var/log/snmpd.log'
'--with-persistent-directory=/var/sma_snmp'
'--with-default-snmp-version=3' '--enable-shared=yes'
'--enable-developer=yes' '--with-libs=-ldl' '--with-defaults=no'
'--prefix=/usr/sfw' '--enable-ipv6' '--datadir=/etc/sma'
'--with-mibdirs=/etc/sma/snmp/mibs' '--with-cc=cc'
'--enable-agentx-dom-sock-only' '--with-mib-modules=host
disman/event-mib ucd-snmp/diskio' '--with-pkcs=/usr/lib'
'--with-perl-modules=yes' '--with-transports=UDP UDPIPv6 TCPIPv6 TCP'
'--with-ldflags=-R../lib' '--libdir=/usr/sfw/lib'

Regards
Birendra 

-----Original Message-----
From: Thomas Anders [mailto:[email protected]] 
Sent: Friday, August 01, 2008 4:01 PM
To: Sinha, Birendra (Birendra)
Cc: [email protected]
Subject: Re: Solaris 10's Net-SNMP requires Unix Domain Sockets

Sinha, Birendra (Birendra) wrote:
> I tried some higher port to open TCP socket for agentX but didn't 
> solve the problem. I would like to get some information from Net-SNMP 
> folks, whether or not TCP/UDP agentXSocket is really blocked on Sun
Solaris-10.

If the Sun net-snmp 5.0.9 package has been built with
--enable-agentx-dom-sock-only (which I think is the case,
net-snmp-config will tell you), then the subject of this thread is
obviously true and there's nothing you can do as long as you use this
package.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
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.