Results 1 to 3 of 3
Is there any way for a Linux box to send and email when a service like vsftp has fail/stop to the administrator, how can this be done. I am using ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-02-2007 #1
Thanks for your time
- 09-02-2007 #2
There is software that is written for this, but you can do it in a primitive fashion with a while loop like that relies on pgrep or service command, and sleeps. Once the while loop is broken, send a mail out, maybe try to restart the service. Really basic scripting.
Probably better to get something that is a little more sophisticated, probably hundreds of tools designed for this. Check freshmeat.net.
- 09-03-2007 #3