[AGENT++] agent++ help
Vikram Bhuskute
vikrambhuskute at gmail.com
Tue May 26 12:42:53 CEST 2009
Hi Jochen,
Thanks !! it helped ! I could generate v3 traps.
However one small question. If i have stored passwords in already Md5
format (reading it typically from a database) , then could it work with
existing API ? ( No I guess as current API expects plain string ? ) any
suggestions ?
regards
Vikram
On Tue, May 26, 2009 at 2:09 AM, Jochen Katz <katz at agentpp.com> wrote:
> Hi,
>
> > 1. How to set engine Id of trap receiver ? ( i tried Following
> >
> > usm->add_usm_user("vab",
> > SNMPv3_usmHMACMD5AuthProtocol, SNMPv3_usmDESPrivProtocol,
> > "passsword", "password","123456");
>
> if the engine id is "123456" this is ok. If you don't know the engine
> id, use the add_usm_user function without engine id to use discovery.
>
> > 2. how to generate trap instead of inform ?
>
> This is the problem with the add_v3_trap_destination() function. It
> currently adds entries to create an inform (I'm changing it for the next
> release, as the function has trap inside its name). Additionally the
> security level is set to noAuthNoPriv.
> If you change the function to call
> snmpNotifyEntry::instance->add_entry(name, tag, TRAP) you will get a trap
>
> Regards,
> Jochen
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
>
More information about the AGENTPP
mailing list