No, I have not set the environment variable SNMP_PERSISTENT_DIR. In earlier 
version also ,
I never used to. Only difference I noticed is in old version, it creates .index 
file in same directory where my mibs are present
but in newer version it creates by name 0, 1 in c:\usr\snmp\persist and some 
times if these files are empty
( dont know the reason), my executables are crashing.


On 1/12/2012 12:40 PM, Bart Van Assche wrote:
On Thu, Jan 12, 2012 at 7:01 AM, Harish Jadhav<[email protected]>  wrote:
I have compiled netsnmp 5.7.1 for windows version and I am using netsnmp.dll
for client side programming.(netsnmp.dll placed in my application directory)

I am loading mibs from my application directory in the code using
setenv(mibdirs,path, 0) but it is creating the index files in
c:\\usr\snmp\persist directory.
In ealier version, it is used to create the index in folders where mibs are
present( which is my appliation dir) but now it is creating a new directory
c:\\usr\snmp\persist.
How can I override this, please suggest.
Have you already tried to set the environment variable SNMP_PERSISTENT_DIR ?

Bart.




--
Thanks&  Regards,
Harish

<<attachment: harish.vcf>>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
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

Reply via email to