Hi ,
Please let me know why run_alarms(); is used in agent_check_and_process();
In our sub-agent code we have a scenario like:
In the sub-agent code:
..............
snmp_alarm_register (5, SA_REPEAT, do_alarm, NULL);
..............
while (keep_running)
{
rc = agent_check_and_process (1);
}
.........................................................................
In the do_alarm(), we poll for events and update the corresponding tables.
>From the net-snmp code I could see agent_check_and_process() ----> process
the packets on snmp port.
Please let me know if the call-back routine(do_alarm) and snmp client
requests(get/walk) handled through two different threads??
(But when I printed the thread-id it was same in both do_alarm and
cb.get_value(snmpget) call-back routines).
Thanks & Regards,
Eswar
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
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