[AGENT++] SNMP v3 Issue ( Unknown Security Name )
Shanmugam, Mani
mshanmug at trendium.com
Mon Oct 10 17:08:39 CEST 2005
Hi Jochen,
Thanks for ur mail !! Pls see comments inline,
-----Original Message-----
From: Jochen Katz [mailto:katz at agentpp.com]
Sent: Saturday, October 08, 2005 11:07 AM
To: agentpp at agentpp.org
Subject: Re: [AGENT++] SNMP v3 Issue ( Unknown Security Name )
Hi,
> Using SNMP++ 3.2.9c ,
a bit old...
> Pls see the attached file.
The attachment didn't go through the list, so no comments on this possible.
> I am getting "Unknown SecurityName" error. I am sure that user exists in
the
> router.
You have to differ between "unknown security name ERROR" and "unknown
security name REPORT": The first is a local error from snmp++ and the
second comes from the router. So in your case snmp++ says that the
requested user name was not added to the USM.
<MANI> Yes, i found later that it is a local error thrown by SNMP++. I am
using the snmpGet.cpp sample provided with SNMP++ 3.2.15 version. i modified
Snmp & v3MP construction to accomdate 3.2.9c. other than that, i did not do
any modification to the source code.In the source code, i see
char *engineId = "snmpGet";
...
usm->set_discovery_mode();
usm->add_usm_user(engineId,securityName,authProtocol,privProtocol,authPasswo
rd,privPassword);
I am not supplying the context name & contextengineid. I thought, on engine
discovery, it will automatically update for the new engine id. Is it not so?
I did not have time to further debug this issue.Can you pls explain
procedure for updating the users in local snmp engine?
Thanks,
Mani.
For further help I would have to see your modified snmpGet.cpp.
Regards,
Jochen
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp
More information about the AGENTPP
mailing list