Antwort: Re: [AGENT++] MibTable Problem: Destroy a non-existing Row

Jens Engel Jens.Engel at marconi.com
Fri Feb 24 07:29:45 CET 2006


Hello Frank,

Jens> the MibTable implementation has a problem when a SNMP client tries to
Jens> destroy a non-existing row, ala:
Jens>
Jens>       snmpset myRowStatus.123 = destroy
Jens>
Jens> The row is marked as destroyed but will never be removed.
Jens> In addition, it is not possible to destroy anymore by trying it a
second
Jens> time (causes a SNMP response error).

Frank>> The MibTable does not have the described problem by default.
Frank>> (At least I cannot reproduce it with the ATM-MIB example agent)
Frank>> Did you modify the MibTable sources or add a special listener?

I check into that and retry it with this example.
Currently I am using Agent++ 3.5.23, but I haven't seen any difference in
the MibTable::set_value() implementation in newer versions.

My concrete MibTable is just derived from Agentpp::MibTable with
a constructor to add the MIB columns, plain and simple.
In addition, I am using an SNMP subagent via AgentX.
But that should not make any difference in my opinion.

I get back to you when I have more results.

Thanks,
Jens Engel






More information about the AGENTPP mailing list