Re: Generate warm start

2012-04-20 Thread Dave Shield
On 20 April 2012 07:47, Nguyen Dinh Phong wrote: > I'd like to know how to make the agent to generate the WarmStart trap. How to generate a warmStart trap is easy - just call send_easy_trap(1, 0); Deciding *when* to send a warmStart is much harder. Remember that this means that the agent i

Generate warm start

2012-04-19 Thread Nguyen Dinh Phong
Hi, I'm using netsnmp 5.3.3.2. I'd like to know how to make the agent to generate the WarmStart trap. If I kill the snmpd, I would get a coldStart trap and some notification node up/down. Looking at the code of snmpd.c, I saw the coldstart sent out via send_easy_trap(0,0) when the agent starts,