Receive of snmp Trap

2010-01-05 Thread Lv, Bo (EXT-Other - CN/Hangzhou)
Hello, I have a need to receive some traps from an agent directly in my application. I know for this to be done, firstly in the agent part, I need to configure the snmpd.conf with statements like trapsink( trap2sink) my app IP addr, port.. In my application, I have opened a socket for this tra

monitoring link transistions without polling

2010-01-05 Thread Stephen Hemminger
The default linkUpDownNotification trap, polls for link events every 60 seconds. This is both wasteful (link events are rare), and too slow (delaying 60 seconds in notifying admin). Has anyone done a patch to use an event based mechanism. Something that uses existing Linux netlink link state messa