Re: creating persistent directory

Harish Jadhav <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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

------------------------------------------------------------------------------
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
harish.vcf (text/x-vcard, 387 B)
begin:vcard
fn:Harish Jadhav
n:Jadhav;Harish
org:Tecknodreams software consulting pvt ltd;SapphireIMS Product Development
adr:;;91,92 -  Hemachandra complex, 7th Main, Jayanagar 4th block ,Bangalore-11;Bangalore;Karnataka;560011;India
email;internet:[email protected]
title:Technical Lead
tel;cell:+919900141823
url:www.sapphireims.com, www.tecknodreams.com
version:2.1
end:vcard
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.