Vinh,
Thanks for your response...
I have a table which should include SSH client public keys such as
keyIndex(INTEGER), keyType(INTEGER), keySize(INTEGER), keyAcceptFrom(OCET
STRING), keyComments(OCET STRING). Firstly, the table have no any data.
Then I hope the user can add a row, then input the corresponding data. And
the user can also delete the specified row. Shall I define another
EntryStatus column? (sorry, I just find I must use SMI syntax, not SMI-II
syntx)
I only know to get the instance from static table via appending instance
index to the oid. For example, the oid is
1.3.6.1.4.1.2.3.51.2.4.1.6.1.1.4for sshClientAuthPubKeyType, if I want
to get the first instance,
1.3.6.1.4.1.2.3.51.2.4.1.6.1.1.4.*1*, the second instance, it will be
1.3.6.1.4.1.2.3.51.2.4.1.6.1.1.4.*2*....
But if the table is the dynamic table and there is no any data, how to
operate it for the user? How to add the first row via netsnmp snmpset? And
what should I do for the oid handler from the agent side?
Would you please give me some suggestions? I appreciate your help...
On 6/15/07, Vinh Hoang <[EMAIL PROTECTED]> wrote:
Where are you to get your data from and in what format? The way I did
it was just to look at my data and determine the number of rows it
would need and either remove or add rows to the table to match that.
On 6/15/07, Aileen Han <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am a newbie. Hope get your help.
>
> I want to implement a dynamic table, which can insert and delete the row
of
> the table.
> After I investigate and search the net , I still can't find an answer
about
> how to operate the table with ROWSTATUS rows. It really made me
desperate.:(
>
> Would you please help to give me an example with the mib OIDs definition
and
> the handler functions? Thanks so much!
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders