Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: How To

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! ls354's Avatar
    Join Date
    May 2006
    Cloud 9

    How To

    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 a FC7.

    Thanks for your time

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    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

  3. #3
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    mon is a good tool
    Main Page - Mon Wiki

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts