Re: Get data using Tcp6

2004-10-13 Thread Michael J. Slifcak
Please retry using net-snmp-5.2.pre2 http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.2.pre2.tar.gz?download We've made some improvments, and would like your feedback. Thank you! -Mike Slifcak, Net-SNMP project member Fong Tsui wrote: Correction: It is snmpwalk -c public tcp6:[fe80::2e0:81

set the single column data in a table

2004-10-13 Thread Fong Tsui
Hi, I got stuck with setting individual data in table. I've implemented a table and one of column is read-write type. How can I set this data. Is there an example which I can look at? I am using old-api. write_XXX(int action, u_char * var_val, u_char var_val_type, s

Bug in table_iterator.c:netsnmp_table_iterator_helper_handler ?

2004-10-13 Thread Iustin Pop
Hello to all, I suspect I found a bug in the agent/helpers/table_iterator.c, related to GET requests of several variables - it doesn't show for one variable or for get nexts. The summary: iinfo->free_data_context gets called more than one time for the same data context. Setup: - an iterator

Re: regarding agent implementation

2004-10-13 Thread Coders
On Wed, 13 Oct 2004 18:12:30 +0530 Karthikeyan wrote: KN> > You might want to extract the cache_helper from 5.2, which will allow you KN> > to have the cache refreshed periodically. Otherwise, you can use a timer KN> > in 5.1.2 to achieve a similar effect. KN> KN> Please elaborate in detail about

Re: Multithreaded OID handling

2004-10-13 Thread Coders
On Wed, 13 Oct 2004 19:19:28 +0200 Hermann wrote: HL> > Once that works, I would look into moving packet decoding into the HL> > reception thread. I don't think it would warrant it's own thread, as I HL> > expect that the decoding of packets to be fairly quick. HL> HL> What do you mean with the de

Re: regarding agent implementation

2004-10-13 Thread Karthikeyan N
Hi, Comments inline.. - Original Message - From: Robert Story (Coders) <[EMAIL PROTECTED]> To: "Karthikeyan N" <[EMAIL PROTECTED]> Subject: Re: regarding agent implementation Date: Tue, 12 Oct 2004 15:07:38 -0400 > > On Tue, 12 Oct 2004 18:40:50 +0530 Karthikeyan wrote: > KN> 1. I have

Re: hrMemorySize problem

2004-10-13 Thread Karthikeyan N
Hi Dave, Red Hat Linux release 9 (Shrike) Thanks, Karthik. N - Original Message - From: Dave Shield <[EMAIL PROTECTED]> To: "Karthikeyan N" <[EMAIL PROTECTED]> Subject: Re: hrMemorySize problem Date: Wed, 13 Oct 2004 13:21:53 +0100 > > > > > I'm not quite sure *why* this call is fai

Re: Snmp sockets

2004-10-13 Thread Ian Bartley
Panic over... I was using ucd-snmp-4.2.3 but now I've swapped to net-snmp 5.1.2 and the problem seems to be resolved. It now picks up the local IP address and is working correctly. Still don't know how the old problem occured but it may have been down to how I was including the library. Thanks

Re: Multithreaded OID handling

2004-10-13 Thread Hermann Lacheiner
Hi Robert! Robert Story (Coders) wrote: 1) A much more detailed analysis of all APIs in netsnmp is needed. The agent uses lots of functions from the base snmplib. There are globals that will need multi-threaded protection (the data-store stuff comes to mind). That's defintely true, that has to be a

Re: Issue with row addition in vacmViewTreeFamilyTable

2004-10-13 Thread subodh kumar
Hi Dave, i performed the SNMP set operation from the command line. The trace of the 2 commands are attached below. (there was no entry in this table earlier) - $ snmpset -v2c -c public 127.0.0.1 vacmViewTreeFamil

Re: hrMemorySize problem

2004-10-13 Thread Dave Shield
> > I'm not quite sure *why* this call is failing. > > What version of Linux are you using? (Distribution and kernel) > > Linux karthikn 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 >i686 i686 i386 GNU/Linux and the distribution ? Dave ---

Issue with row addition in vacmViewTreeFamilyTable

2004-10-13 Thread subodh kumar
Hi, I am facing an issue with addition of rows in vacmViewTreeFamilyTable (Release 5.1.1). I tried to add a row in this table with vacmViewTreeFamilySubtree value of 1.3.1.2.5 (with vacmViewTreeFamilyType as excluded), another row with same vacmViewTreeFamilyViewName but with vacmViewTreeFami

About IPv6 related MIB update

2004-10-13 Thread Sofina Kuo
Hi, I have two question. 1.IPv6 related MIBs already implement in net-snmp. But IPv6 MIB still didn't finish. Does it have any plan to finish?   2.IPv6 related MIB already update in IETF. draft-ietf-ipv6-rfc2012-update-06.txt draft-ietf-ipv6-rfc2011-update-10.txt draft-ietf-ipv6-rfc2013-updat