On 01/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Therefore, I'm saying that it would be nice if our subagent as described > above wasn't dependant on the net-snmp master agent (snmpd) but rather > could work directly with the Solaris native master agent (snmpdx).
As far as I'm aware, the Solaris SNMP agent does not support AgentX, and simply delegates incoming SNMP requests to other SNMP agents where appropriate. As such, it probably doesn't handle forwarding traps at all. (Though check with the Solaris documentation, 'cos I'm guessing here!) > We have a seperate daemon which does various things, but among them > sends SNMP (v2) traps using net-snmp libraries and interfaces If I'm right with the above, then your application would need to send the traps directly to the trap destination - bypassing the master agent altogether. In which case, it doesn't really matter whether you are ignoring the Solaris agent or the Net-SNMP agent :-) > "send_v2trap(), etc.). You might need to look at sending the traps using "snmp_send" rather than the agent-level trap API calls. Have a look at the code for "snmptrap.c" for the basic requirements. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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
