>>>>> On Tue, 23 Sep 2008 16:05:33 +0400, "Alexander Bubnov" said:

AB> But, unfortunately I have not found similar API for MIB files.
AB> Is there a way to add MIB file as in case of environment variable called
AB> MIBS or ~/.snmp/snmp.conf? Which API function should I use to do?

The easiest way (which I haven't tested) is probably:

read_config("mibs MIB-NUM-ONE:MIB-NUM-TWO");

Which should be called before init_snmp(). I think.

(There may be a timing problem here; you may need to call
init_read_config() first)
Wes Hardaker
Sparta, Inc.

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: