>               Is there a mechanism in net-snmp by which the sub-agent can
> send such trap information to the master so that a trap could be generated.

Just use the standard 'send_easy_trap' or 'send_v2trap' API calls.

The main agent driving code will work out whether this is an AgentX
subagent (and hence pass the trap on to the master agent), or a
master agent (and hence send the trap directly to the registered
managers).

The MIB module code does not need to worry about this.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
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