[SNMP4J] Implementing RFC 1213

Frank Fock fock at agentpp.com
Tue Aug 19 09:12:25 CEST 2008


Hi Michelle,

You can also remove rows on events on any other
columnar object of that or any other table/scalar
of the agent.

If you do so, please make sure that the row removal
takes place in the *commit* or *cleanup* phase.

BTW, RFC1213 is obsolete. Use IP-MIB (RFC4293)
instead.

Best regards,
Frank

Larson, Michelle R wrote:
> Hi-
>     I'm using SNMP4J-Agent version 1.1.3 and I'm trying to implement RFC
> 1213.  The problem I'm having is in the ipRouteTable.  The RFC
> description says that if the ipRouteType is set to invalid, then the
> agent has the option of removing that row from the table.  How would I
> go about implementing that in my agent?  It appears the SNMP4J-Agent
> only allows me to remove rows if they have a RowStatus field, but this
> table does not have that.  I tried removing the row once I get a
> rowChanged notification, but that seems to cause null pointer exceptions
> and the agent cannot finish the command to invalidate the row.
> 
> Any input would be appreciated.
> 
> Thank-you!
> 
> Michelle Larson
> Boeing
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

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




More information about the SNMP4J mailing list