Hi, all

In my subagent, I want to add some rocommunity or rouser for access control.


Below is what I do.
1. add line "rocommunity myCommunity" in snmp.local.conf;
2. send a SIGHUP signal to process snmpd to let the master agent read the
configuration file.
*result*: when I try "snmpwalk -c myCommunity -v 2c ifTable ", no expected
data returned.

Then I try another config file:
1. add line "rocommunity myCommunity" in snmpd.conf;
2. send a SIGHUP signal to process snmpd to let the master agent read the
configuration file.
*result*: when I try "snmpwalk -c myCommunity -v 2c ifTable ", expected data
returned.

*Question:*
*Is this snmpd.conf static configuration when compiling the agent? *
*What is the difference between snmpd.conf and snmp.local.conf?*

Thanks a lot.
BR/weiwei
------------------------------------------------------------------------------

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to