Request help in Table implementation

This is a discussion on Request help in Table implementation within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --=_Boundary_4YgAp1L6nsLrs4sQwMHf Content-Type: text/html; charset=iso-8859-1 Content-Transfer-...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-23-2007
Anuradha A- TLS, Chennai.
 
Posts: n/a
Default Request help in Table implementation

This is a multi-part message in MIME format.
--=_Boundary_4YgAp1L6nsLrs4sQwMHf
Content-Type: text/html;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7638.1">
<TITLE>Request help in Table implementation</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I generated the .c and .h files =
using&nbsp; &quot;mib2c.create-dataset.conf&quot; for a table with a =
integer as index. (only one index for the table)</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I did follow the steps as in the =
example &quot;data_set.c&quot;.</FONT>
</P>

<P><B><FONT SIZE=3D2 FACE=3D"Arial">The GETNEXT on the table works =
correctly , but the GET fails for some reason. (always returns a null). =
</FONT></B>
</P>

<P><B><FONT SIZE=3D2 FACE=3D"Arial">It doesn't reach my handler method =
at all for the GET request, but reaches my handler method for =
GETNEXT.</FONT></B>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Could you please throw some light on =
this issue?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The table is indexed by an integer and =
I have 4 instances in an array&nbsp; that I maintain.(eg indexes are =
2002, 2003, 2004, 2005)</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">On debugging, I could find the flow as =
given below. Please correct me if I am wrong.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">GETNEXT Debug</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">--------------------------</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">The &quot;netsnmp_call_handler&quot; =
invokes the following methods </FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">bulk_to_next</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">table</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">table_data</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">netsnmp_table_data_set</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">helper handler</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">myTable</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">GET Debug</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">-----------------</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">The &quot;netsnmp_call_handler&quot; =
invokes the following methods on GET</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">bulk_to_next</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">table</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">It stops with &quot;table&quot;. It =
does not reach table_data , netsnmp_table_data_set, or myTable.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Please help me to know what could be =
the reason and how to resolve it.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks in advance</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks &amp; Regards</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Anuradha.A</FONT>
</P>
<BR>

</BODY>
</HTML>
--=_Boundary_4YgAp1L6nsLrs4sQwMHf
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
--=_Boundary_4YgAp1L6nsLrs4sQwMHf
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--=_Boundary_4YgAp1L6nsLrs4sQwMHf
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--=_Boundary_4YgAp1L6nsLrs4sQwMHf--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0