net-snmp init_XXX() get data periodically( or cyclic ) problem
"Alexander King" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave and All:
Send trap problem was fixed,use a new routine.Thank you!
snmp_alarm_register(5, /* seconds */
0, /* repeat (every 10 seconds).here,the value is 0,can send the trap immediately! */
send_uitJBODPowerATraps_trap, /* our callback */
NULL /* no callback data needed */);
Another question,I use tools mib2c.iterate.conf mib2c.scalar.conf and mib2c.notify.conf get all my generate code,now the init_uit() got all the data rightly,but all the data was the time when they was got,not the newest,if I modified some of the device parameters,I couldnot got the update data,That's not the way I required it ,I want to the init_uit routine can get data periodically,so I can get the newest data.Would you give me some hits?
Thank you,Dave!as usual.
Alex
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
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