> > When I send a trap from my subagent (AgentX), the enterprise OID field > of the V1 trap is always .1.3.6.1.4.1.8072.3.2.10. > I actually want it the be a different one (for ex: .1.3.5.1.4.1.442.20.1 > etc). Can this be done using some NetSNMP API from the Subagent
> One addition: I'm using send_enterprise_trap_vars() to send TRAPS. Yes - that's the correct API to use for this. You should be able to specify the required enterprise OID as the third (and fourth) parameters of this call. I've just tried this with the current code, and it works as expected. a) Which release are you working with? b) What's the exact 'send_enterprise_trap_vars()' call you're making ? Dave ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ 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
