logo       

RE: sending traps from AgentX: msg#00267

network.net-snmp.user

Subject: RE: sending traps from AgentX

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>
Google Custom Search

News | FAQ | advertise