[AGENT++] changed default community, but trap not invoke

Frank Fock fock at agentpp.com
Tue Apr 10 23:47:34 CEST 2007


Hi JS,

You need to provide 'notify' access for the
new community in the VACM (MIB) in order to
be able to send traps with that community.

Best regards,
Frank

변정수 wrote:
> Hi, Jochen,
> 
> I asked 'how to change default community' of agent++ agent.
> Thank you for the below answer.
> 
> But, after I applied below solution I got a trap problem.
> 
> I changed default community ( not 'public') At that time, GET and SET was OK with changed community string.
> but, I failed to receive trap from manager.
> 
> ( I could't see the TRAP packet on the ethernet packet capture program)
> 
> 
> After , I changed community to 'public' I got a trap from agent.
> 
> 
> Is ther any missing point below solution, especially for TRAP ?
> 
> 
> 
> Thanks in advance.
> 
> Best Regards
> JS
> 
> --------------------------------
> 
> -----Original Message-----
> From: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org] On
> Behalf Of Jochen Katz
> Sent: Friday, December 29, 2006 6:40 AM
> To: agentpp at agentpp.org
> Subject: Re: [AGENT++] how to change default community?
> 
> Hi,
> 
>>> So if your agent accepts "public" community, then watch out for a
> "public"
>>> security name with SNMPv1/v2c view and then change that security 
>>> name. Hope this helps.
>> => Because of my poor understanding of AGENT++ , I can't understand 
>> what you mean "watch out for a "public" security name with SNMPv1/v2c 
>> view and then change that security name".
>>
>> Which code in agent++/snmp++ , should I change?
> 
> you should change the VACM configuration, there are most likely some lines
> like
>         vacm->addNewGroup(SecurityModel_v2, "public",
>                          "v1v2group", storageType_volatile);
>         vacm->addNewGroup(SecurityModel_v1, "public",
>                          "v1v2group", storageType_volatile); These
> translate/add the v1 and v2c community public to the group v1v2group. Later
> this group is given access to the different VACM views.
> 
> Regards,
>   Jochen
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list