On 01/14/2008 11:22 AM, [EMAIL PROTECTED] wrote: > I've just written a script that checks to see if the ndo2db daemon is > running and if it is not, deletes the sock file and restarts it. This is > how it runs in our current setup. It's just a simple shell script, but > it gets the job done.
Thanks for sharing and posting your script. You might also consider using check_procs + an eventhandler, which would give you the advantage of having some additional flexibility around how and when the process is restarted. Out of curiosity, are you actually seeing ndo2db _die_, or just stop working? -tt -- Tom Throckmorton OIT - CSI Duke University ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null