[ Sorry for the delay in responding to this ]

> > I'm trying to add an entry in "securityToGroup",
> > linking a security name to a group name.
> > I have to do it directly in the agent

I'm not quite sure what you mean by "directly in the agent",
but you should be able to add such an entry using the
'snmpvacm' command - in particular something like:

   snmpvacm ... myhost  createSec2Group  3 myName myGroup


> and, same question inverted, how to delete an entry,
> knowing securityname/group.

Pretty much the same command:

   snmpvacm ... myhost  deleteSec2Group  3 myName


But I've got a feeling that's not quite what you're looking for.

Dave




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to