subagent implementation questions

Michael Shcwarcz <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I'm implementing Net-SNMP subagents under one master agent (snmpd).
We only support get/getnext/getbulk requests.
I have a question regarding the agent_check_and_process() function which is called in the main loop of the subagent:
1. Is it necessary to call netsnmp_check_outstanding_agent_requests() each time? Is this function do something for get requests?
2. The same question about snmp_store_if_needed(), if I don't store anything in persistant storage.
3. Also about the snmp_timeout(), if anyone can shed some more light regarding this function and if again I need it.
4. I keep the run_alarms() function for pinging the master agent, but are there any more alarms that I should be aware of?

Thanks,
Michael Schwarcz

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.