snmp_timeout() and agentxPollInterval?
Josef Moellers <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Changes ever so often! |
| Message-ID | <[email protected]> |
Hi, I need to use the explicit snmp_select_info/select/snmp_read/snmp_timeout sequence in my agentx agent as I need to act upon requests sent through another fd. I'd like to also monitor the connection to the snmpd using the agentxPollInterval mechanism. When I use agent_check_and_process(), it will poll the master agent in regular intervals, if I use the explicit sequence, it does not. The source code of agent_check_and_process() shows that it calls run_alarms() at the end, a function which is not externally available! Is there a profound reason why snmp_timout does not call run_alarm()? Other than call agent_check_and_process(0) when having handled my private fd, how can I handle a private fd _and_ call run_alarm()? Josef -- Josef Möllers (Pinguinpfleger bei FSC) If failure had no penalty success would not be a prize -- T. Pratchett ------------------------------------------------------- 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&kid0709&bid&3057&dat1642 _______________________________________________ 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