Hi,
I am writing a snmp subagent (say name xyz), whose purpose is to capture all
v2traps send out by the snmp master agent.
for this in the init_xyz() function i have registered a callback function
for v2trap using below lines
snmp_register_callback(SNMP_CALLBACK_APPLICATION, SNMPD_CALLBACK_SEND_TRAP2,
notificationV2_callback, NULL);
now when the master snmp-agent sends any v2trap it also calls all the
registered callback function in the function snmp_call_callbacks()
In this function snmp_call_callbacks()
when i am checking how many number of times this loop is running, it is
showing me only once for major number: SNMP_CALLBACK_APPLICATION and minor
number: SNMPD_CALLBACK_SEND_TRAP2.
and more over my function notificationV2_callback() is not getting called.
Thanks in advance for any kind of help regarding the same.
Thanks and Regards,
Sandeep Patra
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders