> My target is to define a table in which the user can insert new entry using 
> "set" command and with string index field
> Is it possible ?

Yes.

> If yes, in which way ?

Have a look at 'agent/mibgroup/agent/nsDebug.c'  which does exactly this
(using a RowStatus column object).

The 'nsLogging' and 'extend' modules (in the same subdirectory) are
similar, but the debug module is probably the simplest - particularly
if you ignore the accompanying scalar objects.

If you don't want to use a RowStatus object, creating rows "automatically"
would be similar, but needs to be handled in each writeable column
(and you can probably create the structure in the RESERVE2 pass,
and make the assignments in the ACTION pass, if you don't have to worry
about checking consistency...)

Dave

PS: please trim unnecessary text from your messages.
    There was no point in quoting the debug output or MIB file.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to