Could you document this a little more fully?  I'd like to add it to
README.solaris.

How does this differ from what's documented there?

>I fixed this one myself. My solution to this has been to run net-snmp
on 161/UDP and run Sun ONE's master agent (magt) on 1611/UDP and let
the magt have 199/TCP... this way the httpagt (and any other
tempermental Sun-only sub agents) can talk directly to its master
agent w/o impacting net-snmp's install.

I added the following to my magt CONFIG file (I googled it somewhere):
  
TRANSPORT       extraordinary   SNMP
                OVER UDP SOCKET
                AT PORT 1611

Then I added the following to net-snmp's snmpd.conf (to prevent
net-snmp from interferring w/ sub agents -- this prevents smux from
listening on 199/TCP):

smuxsocket 1.0.0.0

To start run:

/etc/init.d/snmpd start # start net-snmp

cd /path/to/iplanet/root/plugins/snmp/magt
./magt CONFIG INIT # start Sun's Master Agent
cd /path/to/iplanet/root/bin/https/bin
./httpagt -d /path/to/iplanet/root # start Sun's Web Server Sub Agent

SB

On Fri, 8 Oct 2004 11:55:25 -0700, SB <[EMAIL PROTECTED]> wrote:
> Sun ONE web server (I'm using 6.1sp2) ships with a master agent
> (called magt) and a sub agent (httpagt) and I think it has a proxy
> agent also (sagt). From the docs I've been able to find
> (http://docs.sun.com/source/819-0130-10/agsnmp.html in particular) I
> can't seem to get things working.
> 
> Although things are working fine if I disable net-snmp I'd like to get
> the Sun ONE subagents reporting directly to the net-snmp master. I
> tried the proxy config but it looks like magt and snmpd are both
> listening on TCP 199 (smux) and my snmpwalk's no longer work.
> 
> I'd like to get the subagents talking directly to net-snmp using smux
> and not using sun's magt (since this seems to be the simplest setup).
> Another reason I'd like to avoid using magt is that it is poorly
> documented.
> 
> This is the important line from my snmpd.conf:
> 
> smux .1.3.6.1.4.1.42.1.60
> (NOTE: I've also tried putting "" where the password would be)
> 
> Here is what I get after 'snmpd -Dsmux' is started and I run 'httpagt
> -d /path/to/instance/root' (where the https-admserv dir is in
> /path/to/instance/root):
> 
> smux: [smux_accept] Calling accept()
> [smux_accept] accepted fd 15 from 172.16.10.72:43067
> smux: [smux_open_process] version 0, len 46, type 2
> smux: [smux_open_process] smux peer: SNMPv2-SMI::enterprises.42.1.60
> smux: [smux_open_process] len 36, type 6
> smux: [smux_open_process] smux peer descr: Sun ONE Web Server SNMP
Subagent
> smux: [smux_open_process] len 2, type 4
> smux: [smux_open_process] smux peer passwd:
> smux: [smux_open_process] len 0, type 4
> refused smux peer: oid SNMPv2-SMI::enterprises.42.1.60, password ,
> descr Sun ONE Web Server SNMP Subagent
> smux: [smux_close] sending close to fd 15, reason 5
> smux: [smux_accept] peer on 15 failed authentication
> 
> then a bunch of these:
> smux: [smux_accept] Calling accept()
> [smux_accept] accepted fd 15 from 172.16.10.72:43572
> smux: [smux_close] sending close to fd 15, reason 3
> smux: [smux_accept] peer on 98 did not send open: (9956)
> 
> And this is what happens to httpagt:
> [08/Oct/2004:11:39:18] info (11225): CORE1116: Sun ONE Web Server
> 6.1SP2 B04/07/2004 16:09
> [08/Oct/2004:11:39:18] info (11226): SNMP: https-hostname: subagent active
> [08/Oct/2004:11:39:18] failure (11226): SNMP: https-hostname: error
> communicating with SNMP master agent on hostname
> [08/Oct/2004:11:39:18] catastrophe (11226): SNMP: subagent caught
> SIGSEGV (core dumped)
> 
> I also tried snooping 161UDP/199TCP (to maybe get the pass?) but I
> think it may be using loopback which is
> unsnoopable(http://www.netsys.com/sunmgr/1999-06/msg00117.html).
> 
> Any help is greatly appreciated. I'm quickly running out of ideas.
> Also, let me know if I should post this to Sun's forums instead.
>


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply,
should be deleted or destroyed.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

Reply via email to