Hi Dave, My other question is what appropriate oids I should use for the trap. I could see some pre-defined traps for link up/down, cold start, warm start, but not for a process to be restarted. Thanks, Phong
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Wednesday, August 10, 2011 8:20 AM To: Phong Nguyen (ndphong) Cc: [email protected] Subject: Re: Sending out trap when a process crashed On 9 August 2011 18:09, Phong Nguyen (ndphong) <[email protected]> wrote: > In my case, I'd spawn the killed process again How are you restarting the killed process? Because that would be the natural point at which to generate the trap. If you've got a script that will restart the killed process, then simply add a suitable 'snmptrap' command to this script. Dave ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
