[SNMP4J] adding a row to a table

Frank Fock fock at agentpp.com
Tue Dec 2 00:08:05 CET 2008


Hi Jeff,

There is no commit necessary. Maybe the index
you have used is invalid for the table?

Best regards,
Frank

Jeff Ramin wrote:
> 
> When adding a row to a table, should it be available immediately afterward?
> Or is some sore of commit() call necessary?
> 
> I've got code similar to:
> 
>         MOTableRow row = 
> communityMIB.getSnmpCommunityEntry().createRow(...);
>         communityMIB.getSnmpCommunityEntry().addRow(row);
> 
> The second line of code returns true, indicating the row was added, but
> when I retrieve the contents of that table, the newly added row is not
> returned.
> 
> Can anybody explain what I'm doing wrong? Thanks.
> 
> 

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list