On Fri, 24 Feb 2006 10:29:31 +0100 (CET) Peder wrote:
PCN> If you work on a system with "netlink" support (a linux system, for
PCN> instance) and don't shrink from a bit of C coding you can make a solution
PCN> that gives the alarms immediately, and costs absolutely nothing on
PCN> run-time.  The trick is to open a netlink socket and subscribe to link
PCN> change messages.  Then generate the alarms using the net-snmp C API
PCN> interface.  There is an example in one of the tutorials, and it works, I
PCN> have tried it. 100-200 lines of code.

Do you have an example of the netlink watching code?

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to