Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Tony Thomas
Hi Dave and Wes, Thank you for your suggestions! Please see my comments below: << a) configure the new element to send an INFORM notification rather than a trap. [Tony] It is a system requirement to support both Trap and Inform as defined by operator. << b) configure the new element to use an

Re: difference between snmpd.conf and snmp.local.conf

2010-05-26 Thread Weiwei Zhang
I don't know why this is happening. This time I change the snmpd.local.conf and reconfig the agent snmpd and it works. But I failed yesterday. Dave, U r right. The agent snmpd will read snmpd.conf and snmpd.local.conf for updating its configurations. Thank you very much. BR/vivid273 2010/5/27 W

Re: difference between snmpd.conf and snmp.local.conf

2010-05-26 Thread Weiwei Zhang
2010/5/27 Dave Shield > On 26 May 2010 16:55, Weiwei Zhang 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 configuratio

Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Wes Hardaker
> On Wed, 26 May 2010 16:14:19 +0530, Tony Thomas > said: TT> As per system requirements, the new element must be added to system TT> without user intervention (not possible to manually configure the TT> engineID in master element). Dave's answer is already perfect. But I'll add one mo

Re: difference between snmpd.conf and snmp.local.conf

2010-05-26 Thread Dave Shield
On 26 May 2010 16:55, Weiwei Zhang 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.c

Re: difference between snmpd.conf and snmp.local.conf

2010-05-26 Thread Weiwei Zhang
Thanks, Dave. This is very helpful to understand these two files. What happens in my test is that, when re-config is set, the agent snmpd read the snmpd.conf, not the snmp.local.conf. So I think it is the snmpd.conf that controls the agent's behavior. This is what I mean re-config the agent. Abou

Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Dave Shield
On 26 May 2010 11:44, Tony Thomas wrote: > In my system, when a new element is added to the network, the subagent in it > sends a notification (V3 trap) to the master agent in the network using its > unique engineID. As per the tutorial, I understand that the snmptrapd.conf > should have the engin

Re: difference between snmpd.conf and snmp.local.conf

2010-05-26 Thread Dave Shield
On 26 May 2010 13:06, Weiwei Zhang wrote: > What is the difference between snmpd.conf and snmp.local.conf? There are actually two different questions here: 1) what is the difference between {xxx}.conf and {xxx}.local.conf ? The answer is "nothing". The config parsing cod

difference between snmpd.conf and snmp.local.conf

2010-05-26 Thread Weiwei Zhang
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 myCom

Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Tony Thomas
Hi, As per Net-SNMP tutorial (refer section describing how to configure snmptrapd to receive v3 notification - http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd_to_receive_SNMPv3_notifications), - With SNMPv3 TRAPs, the *authoritative* engine is the engine that sends the trap - u