HP-UX's native SNMP agent (snmpdm) is the acting master agent, running on the default port 161. Net-SNMP is acting as a subagent, running on 8161. The two are bridged by a program called naaagt (native agent adapter). Basically, you provide naaagt with settings that will allow it to communicate with the subagent, like the port, community, and what MIBs it can access.

Since snmpdm and naaagt are native, they seem to be able to connect to each other and disconnect pretty seamlessly; no restarting of daemons is required. Everything goes through snmpdm on 161 and then the request is sent to naaagt for processing. I think if the MIB is not on the native agent adapter's MIB list, then it won't return anything, but if it simply doesn't exist on the subagent, then the request is forwarded to the master agent.

Dan

----- Original Message ----- From: "Thomas Anders" <[EMAIL PROTECTED]>
To: "Daniel Tang" <[EMAIL PROTECTED]>
Sent: Friday, August 12, 2005 8:51 AM
Subject: Re: perl-module.pl


Daniel Tang wrote:
I tested snmpwalk and snmptranslate, both worked just fine. The scenario is, HP-UX has its own SNMP daemon, and apparently we don't want to disable it or anything. We have a program native to HP-UX caled naaagt that bridges HP-UX's agent with Net-SNMP. I don't know if that says anything, but I forgot to point it out in an earlier e-mail.

You should point out (to the list), how exactly how this bridging is done. What daemon is listening on what port/socket? Who's the master agent and who's the subagent? This may well be the source of your problem.


+Thomas

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




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to