|
RE: sending traps from AgentX: msg#00267network.net-snmp.user
You can make use of the API send_v2trap() as defined in agent_trap.c. This function can be called from the SubAgent. For sample code, you can look into example.c or notifications.c I hope this helps you. Mahesh -----Original Message----- From: net-snmp-users-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:net-snmp-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Nagaich, Nitin Sent: Monday, January 26, 2004 7:08 PM To: net-snmp-users@xxxxxxxxxxxxxxxxxxxxx Subject: sending traps from AgentX Hi All, I would be thankful to you, if you could tell me which API should i use to send trap from a sub-agent to a master-agent running on the same machine? if you have any sample code, that would be highly appreciated! thanks in advance! Regards, Nitin ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Net-snmp-users mailing list Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Net-snmp-users mailing list Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Connection from callback error: 00267, jgking |
|---|---|
| Next by Date: | RE: example code for a table with one object as Index: 00267, Kurapati M-G19456 |
| Previous by Thread: | sending traps from AgentXi: 00267, Nagaich, Nitin |
| Next by Thread: | usernames in SNMPv3: 00267, P B |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |