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

Reply via email to