Re: Re: how to configure v2 access control entries

2012-08-06 Thread Dave Shield
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

Re: how to configure v2 access control entries

2012-08-02 Thread Dave Shield
On 30 July 2012 01:48, zhufei zhu...@macrosan.com wrote: I have a question on how to configure to add a v2 access control entry using 'snmpvasm' or even code. I don't believe this is possible. You can set up the group, view, and access entries using 'snmpvacm'. However the mapping between

how to configure v2 access control entries

2012-07-30 Thread zhufei
Mr./Mrs./Miss, I have a question on how to configure to add a v2 access control entry using 'snmpvasm' or even code. In code, I use 'snmp_pdu_add_variable' and 'snmp_synch_response' to add entry, but it always responses 'no response from localhost'. My machine is CentOS5.5 and net-snmp is