RE: Adding new row in MIB table using API

This is a discussion on RE: Adding new row in MIB table using API within the SNMP Coders forums, part of the Networking and Network Related category; On Fri, 2005-05-20 at 18:40, James Hardin wrote: > I don't have a specific table in ...


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-23-2005
Dave Shield
 
Posts: n/a
Default RE: Adding new row in MIB table using API

On Fri, 2005-05-20 at 18:40, James Hardin wrote:
> I don't have a specific table in mind. I just wanted to see a
> general example using the UCD-SNMP API for:
>
> - creating a new row in a table using the "entryStatus" variable
> in SNMPv1
> - creating a new row in a table using the "rowStatus" variable
> in SNMPv2


First mistake - these types are not related to particular versions
of SNMP. RowStatus was introduced with SMIv2 - but that's purely
concerned with the *syntax* of the MIB file. It can be used
perfectly well with SNMPv1 requests.

EntryStatus is specific to the RMON-MIB, and has basically
been superceded by RowStatus. Forget about it.


> I just wanted to see a general example using the UCD-SNMP API for
> creating a new row in a table using the "rowStatus" variable


Please take a look at the 'agent/mibgroup' subtree.
There are a number of examples of RowStatus there - using both
v4 and v5 APIs.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
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 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 07:26 PM.


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