RE: periodic TRAP watcher!
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC08068CF1@mailserver.metatv-ds.metatv.com> |
> From: [email protected] > [mailto:[email protected]] On > Behalf Of Raghavendra Prasad > Sent: Wednesday, February 27, 2008 11:57 PM > My questions is the above function call is implemented in an infinite > loop with periodic calls to function "send_example_notification". In C > language > there are no threads, Threading is not part of the C standard, but threading with C is commonplace. Some web searching should help you find the details for your OS. > which makes me believe that the program > execution will never come out of "continous watcher loop", thereby the > agent will > NOT respond to SET and GET requests(I have not checked it yet though), I would recommend against implementaing a watchdog as part of a MIB. Rather, a standalone application which generates the traps frees you from such concerns. HTH, Mike ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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