[AGENT++] how to change default community? ( another question )
Jungsu Byun
jsbyun at samsung.com
Tue Jan 2 03:35:19 CET 2007
Thanks for your help. I did it.
I have another question.
In this approach, How can I add different community to read community and
write community differently?
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
More information about the AGENTPP
mailing list