Re: Given an OID, need API to evaluate it

Wes Hardaker via Net-snmp-coders <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
Nitin Samuel <[email protected]> writes:

>         Given an OID  as a char[]  or  int[] as input, does the subagent have an API interface to
> evaluate any OID and return  a varlist ?

That's a fairly complex situation, and the answer is that yes you can do
it but you have to do so carefully.  As an example, take a look at the
code for the DISMAN-EVENT-MIB which does what you're asking.

agent/mibgroup/disman/event is the directory to look at.
-- 
Wes Hardaker
Please mail all replies to [email protected]


_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.