On 20/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I want to know what is the API a sub-agent has to use in order
> to retrieve the value of an Object identified by an OID?
There is no standard API for retrieving the actual value.
This will depend on the system that you are trying to monitor
(and the O/S that you are working with).
The Net-SNMP agent provides a framework for accepting and
processing incoming requests - but at the end of the day, it's
up to the MIB module developer to integrate this with the
underlying subsystem. That's the one bit that can't be handled
automatically. Each MIB is different - and often each O/S is
different too.
That's why the 'agent/mibgroup' subtree contains such a
convoluted collection of #ifdef code and alternative versions
of the same basic routines.
Dave
-
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