Re: Tables with READ-CREATE row on net-snmp-5.1.1

This is a discussion on Re: Tables with READ-CREATE row on net-snmp-5.1.1 within the SNMP Coders forums, part of the Networking and Network Related category; 2008/5/1 Baltazar Francois <bfrancois@edisoft.pt>: > we are using version 5.1.1 I've ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-02-2008
Dave Shield
 
Posts: n/a
Default Re: Tables with READ-CREATE row on net-snmp-5.1.1

2008/5/1 Baltazar Francois <bfrancois@edisoft.pt>:

> we are using version 5.1.1


I've doubtless said this before, but that is a *very* old version,
and is no longer being supported.

> in order to implement the code we need to use the function
> "netsnmp_insert_table_row" which is not present in this version of net-snmp.
>
> My question is if exists an equivalent function on this version that shall permit
> to insert a newly created row into a request?


Probably not.
That particular function was added in Nov 2003 - see SVN revision 9172.
This seems to be shortly after the 5.1.x line was released, so will presumably
have been part of the new development code that was eventually released
as 5.2


> If not, is it possible to create rows into tables with this net-snmp version ?


Two options spring to mind.

Either use "out-of-band" communication (e.g. a static variable) to pass
the new row between SET passes, rather than pulling it out of the request
structure.

Alternatively add the 'netsnmp_insert_table_row' functionality into your
5.1.1 installation - either as part of the table_data helper, or in your own
MIB module code. That's not particularly clean design, but it should
work OK.

Or else upgrade to a non-obsolete version :-)

Dave.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
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

vB 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 08:36 PM.


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