Re: Using a handler in net-snmp

2009-05-01 Thread Dave Shield
2009/5/1 : > I want to call a function after snmpd sends cold-start after startup. That's done in the file "snmpd.c" - in the routine main(). Look for the call to send_easy_trap(0. 0); (probably around line 950, or 1020 depending on version) > For this i dont want to put any code change in

Using a handler in net-snmp

2009-04-30 Thread raja.singh
Hi All, I am facing an issue with net-snmp. I want to call a function after snmpd sends cold-start after startup. For this i dont want to put any code change in netsnmp standard files. I want to use a handler that will be called just after the sending of cold-start trap. Please help me to impleme