traps - I don't get it
"Pilt" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all
I don't get the idea of how a subagent can monitor the changes of particular mib objects (and therefore send traps) and respond to get/set requests at the same time. I searched the net-snmp sources for the places, where the traps are sent, but everywhere it's just the processing of set request by calling trap sending function or working with trap sessions which is not recommended as far as I understood.
After all I can't just do "while(1){check the variable}". The only thing I can think of is the separate thread of the subagent, that watches for the changes of the mib-object of interest while the main thread processe requests, but it feels like there's a simpler solution.
What have I missed? Can anyone point the right direction?
Best regards
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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