Re: table properties for row manipulation

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> "P" == Pilt  <[email protected]> writes:

P> can you tell me, plz, are there any requirements a table should
P> meet so that I can add/delete its rows in addition to that all row
P> columns must be read-create and a rowstatus column must be present?

If the MIB is written in SMIv2, then yes the writable columns should
be marked as "read-create" and the rowstatus column should be there
(to allow for deletion at a minimum; in theory you could code the
agent to accept new rows without it, but that's not the standard way
to do so).

P> Is it possible to manipulate table rows using old api (ucd style
P> template)?

Yes.

P> If yes are there any examples?

Err...  the old implementation of the routing table, maybe.  Pulling
the ucd-snmp specific release and looking through it might help...

Actually, it just dawned on me, the usm user table is still using the
old api I think (agent/mibgroup/snmpv3/usmUser.c) and supports row creation.
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.