[AGENT++] Response to wrong snmpEngineId

Jochen Katz katz at agentpp.com
Mon Dec 5 23:22:33 CET 2005


Hi Marcus,

> This would explain why the agent could be in discovery mode.

if only the agent changes its id, the discovery mode on the agent does
not have to enabled, as the agent is authoritative. But if the agent
sends informs, you will need discovery.

> On the
> other hand I steped through the code and did not see any hint for being
> in discovery mode.

Discovery is enabled by default...

> Can you tell me whether we should get a timeout or a "unknownEngineId"
> report?

The snmp++ code will give a report if discovery is disabled and a
timeout if enabled.

For the next release this will be changed to give reports in both cases.
Until then you can disable discovery in the agent and enable it only
during the time the agent sends pdus where it is not authoritative.

Regards,
  Jochen



More information about the AGENTPP mailing list