[AGENT++] SNMP v3 Issue ( Unknown Security Name )

Jochen Katz katz at agentpp.com
Mon Oct 10 23:27:58 CEST 2005


Hi,

> char *engineId = "snmpGet";
> ...
> usm->set_discovery_mode();
> usm->add_usm_user(engineId,securityName,authProtocol,privProtocol,authPasswo

this last line is the problem: you're adding a user with name "snmpGet",
engineId has to be replaced by the user name from the command line. Then
 it will work as expected.

Regards,
  Jochen





More information about the AGENTPP mailing list