On 26 May 2010 16:55, Weiwei Zhang <[email protected]> wrote: > What happens in my test is that, when re-config is set, the agent snmpd read > the snmpd.conf, not the snmp.local.conf.
No - the agent will read *both* snmpd.conf (& snmpd.local.conf) for agent-specific configuration *and* snmp.conf (& snmp.local.conf) for library configuration. But these contain different sets of directives. If the agent comes across agent-specific entries in snmp.conf (or snmp.local.conf) then it will ignore them - probably generating a warning. If the agent comes across library-specifci entries in snmpd.conf (or snmpd.local.conf) then it will also ignore them - again, generating a warning. > So I think it is the snmpd.conf that controls the agent's behavior. snmpd.conf controls the behaviour of the agent. snmp.conf controls the behaviour of the library (which may also affect the agent) > But I don't know what is the snmp.local.conf used for in net-snmp package. > Could you give me some hints, Dave? Please read the snmp.conf(5) man page. Dave ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
