On 6 August 2012 12:33, zhufei <zhu...@macrosan.com> wrote:
> I just wanna to know how to configure this authority using net-snmp api.
> I mean how to add a source (like 192.168.1.21) with community (like
> private) to the agent by net-snmp api.
> In the configuration file, it writes 'com2sec local localhost public'.

And as I said on Thursday - the answer is that you can't.
This is not possible.

If you want this line added to your snmpd.conf file,
then you need to edit this file yourself.

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to