Hello, couple of days ago I have posted a problem. This time I am trying to rephrase it and express myself more clearly.
I need to write a simple Net-SNMP agent that would get data from another process. The agent will not be aware of individual OIDs and their data, this will be carried out by the other process. The idea is as follows: 1. The agent would receive from the SNMP daemon requests (invoked by snmpget) for a given range of OIDs (a sub-tree). 2. The agent would convert them and forward them to the other process. 3. The other process would convert OIDs to what-is-necessary and return data to the agent. 4. The agent would pass the data back to the SNMP daemon. The agent itself will not be aware of individual OIDs and their meaning. This will be done by the other process that also holds the actual data. I guess the example with MFD http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent is not what I need. Would somebody point me to an example or SNMP functions I should use? I need to: - register the agent for a range of OIDs - receive requests and extract OIDs from them - return data to the daemon The rest will be dealt between the agent and the other process. I appreciate your help. Milan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users