using the C MIB API

Florian Franzmann <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization RBT
Message-ID <[email protected]>
Hello,

I'm trying to offer the user a way to set up the MIB search path for my
application from within the GUI---so far with little success. This is
what I'm doing:

shutdown_mib();
netsnmp_set_mib_directory(searchPath.toLocal8Bit().data());
netsnmp_init_mib()

searchPath is set
to /home/rbt/MIBs:/home/rbt/.snmp/mibs:/usr/share/snmp/mibs

Do I have to do anything else to make net-snmp actually load the MIBs?
Is there any way to check which MIB modules have been loaded?

best regards
Florian Franzmann


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
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.