RE: Subagentx : how to define the path where MIBS are installed

"Arnaud BODENAN" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
The function init_snmp is void function. How can I catch runtime errors 
arised in the function init_snmp? Is it possible?


>From: "Arnaud BODENAN" <[email protected]>
>To: [email protected]
>Subject: Subagentx : how to define the path where MIBS are installed
>Date: Wed, 11 Oct 2006 11:32:12 +0200
>
>Hi,
>
>I create a subagentX and I set the Path for the MIBS using:
>netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_LIB_MIBDIRS,
>"/home/arnboden/snmp/mibs");
>
>the directory /home/arnboden/snmp/mibs is empty and I wanting to know if an
>error was detected at the start of my subagent. Unfortunately, all was OK
>and it successfully parses the MIB files despite I set a wrong path for the
>MIB.
>
>Is it possible to dynimacally change the directory where the mibs are
>installed?
>
>Thanks.
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today it's FREE!
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job 
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>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

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.