Re: update_config

2007-06-03 Thread alok bharti
--- Thomas Anders <[EMAIL PROTECTED]> wrote: > alok bharti wrote: > > error on subcontainer '' insert (-1) > > What net-snmp version are you using? > I am using 5.3.1 > > On debugging i found that this happens for 'proxy' > > statements in my snmpd.conf file. If i remove > 'proxy' > > statemen

Re: Authentication & Encryption passwd !

2007-06-03 Thread Wes Hardaker
> "DU" == Devi U <[EMAIL PROTECTED]> writes: DU> I am not sure what are all the special characters that need to be DU> restricted ? If '(single quote) and " (double quote) are used as DU> first characters of the password - above parse error is coming. DU> If \(back slash) is used as last char

Authentication & Encryption passwd !

2007-06-03 Thread Devi U
Hi, I configured users with authentication and encryption password having special characters such as \ (back slash), ' (single quote), " (double quote) , #(ash) . While agent is restarted following errors are coming. /data/ALAsm/SNMP/data/snmpTrap.conf: line 3: Error: snmpd: failed to p

Re: Linking

2007-06-03 Thread Thomas Anders
Magnus Fromreide wrote: > On sön, 2007-06-03 at 21:41 +0200, Thomas Anders wrote: > >> BTW, I'm not sure "-lelf" is necessary here at all, but that'd need to >> be fixed in configure.in (if the case). > > The -lelf is due to nlist, nlist is needed by miblibs (many), > snmplib/system.c and agent/a

Re: Linking

2007-06-03 Thread Magnus Fromreide
On sön, 2007-06-03 at 21:41 +0200, Thomas Anders wrote: > BTW, I'm not sure "-lelf" is necessary here at all, but that'd need to > be fixed in configure.in (if the case). The -lelf is due to nlist, nlist is needed by miblibs (many), snmplib/system.c and agent/auto_nlist.c. I think it is the last

Re: Linking

2007-06-03 Thread Thomas Anders
Magnus Fromreide wrote: > /bin/sh ../libtool --mode=link \ > cc -g -Dsolaris2=solaris2 -o snmpd snmpd.lo \ > -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs \ > -L./helpers \ > libnetsnmpagent.la helpers/libnetsnmphelpers.la \ > libnetsnmpmibs.la ../snmplib/libnetsnmp.la \ > -lelf -lnsl

Re: Linking

2007-06-03 Thread Magnus Fromreide
On sön, 2007-06-03 at 20:38 +0200, Thomas Anders wrote: > Magnus Fromreide wrote: > > cc -g -Dsolaris2=solaris2 -o .libs/snmpd .libs/snmpd.o \ > > -L/home/magfr/netsnmp/build3/agent/.libs > > -L/home/magfr/netsnmp/build3/agent/helpers/.libs > > -L/home/magfr/netsnmp/build3/snmplib/.libs > > -L/hom

Re: Linking

2007-06-03 Thread Thomas Anders
Magnus Fromreide wrote: > cc -g -Dsolaris2=solaris2 -o .libs/snmpd .libs/snmpd.o \ > -L/home/magfr/netsnmp/build3/agent/.libs > -L/home/magfr/netsnmp/build3/agent/helpers/.libs > -L/home/magfr/netsnmp/build3/snmplib/.libs > -L/home/magfr/netsnmp/build3/snmplib > -L/home/magfr/netsnmp/build3/agent/

Whats the best approach to handling the persistent config file when using flash?

2007-06-03 Thread Glenn
We have a device that will be using net-snmp as our SNMP stack. The device uses RAM for the filesystem, and uses flash for persistent storage. We need to support SNMP-TARGET-MIB, SNMP-NOTIFICATION-MIB, etc. that have read-write OIDs. Happily, net-snmp already implements these MIBs, including

Linking

2007-06-03 Thread Magnus Fromreide
Hello I just did a solaris build and one thing I am curious about is why we link every module multiple times? I have an old link line from 20070521 (Current head at the time...) cc -g -Dsolaris2=solaris2 -o .libs/snmpd .libs/snmpd.o \ ./.libs/libnetsnmpmibs.so \ -ladm \ ./.libs/libnetsnmpagent.

Re: select() on external FDs in get APIs

2007-06-03 Thread Shivani Garg
Hi Magnus, Thanks for your response on this. I tried my hands on the delayed_instance example but when I fire the following snmpget command: snmpget -v 2c -c public 172.16.105.14 1.3.6.1.4.1.8072.2.1.2.0 , I happen to get this as the result: NET-SNMP-MIB::netSnmp.2.1.2.0 = No Such Object availabl