Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2009
    Posts
    2,735

    detect failed server and restart ?

    Hi,

    for centso/cpanel server,

    can i install any script/software to monitor the service on the server (ex:http or mysql) per sec or shorter,

    if it check the service failing,

    it will restart it automatically,

    is any way to do it ?


    thanx

  2. #2
    Join Date
    Nov 2010
    Location
    Arizona
    Posts
    297
    Nagios does this:

    http://nagios.org/

  3. #3
    Join Date
    Mar 2009
    Posts
    2,735
    i know Nagios can do monitor,but it can also help restart service ? thanx

  4. #4
    Join Date
    Nov 2010
    Location
    Arizona
    Posts
    297
    Yes it can.

  5. #5
    PLESK control panel has watchdog module feature for it will monitor the apache, mysql, qmail and any other program.
    The script will check those processes running on your server.
    When it is down, it will automatically restart it for you.

  6. #6
    This functionality is built in to cpanel, go into 'service manager' and you can setup auto restart of services if they fail
    Accelerated Hosting - From Constant Internet
    Automatically serving your website from the nearest server
    Get hosted on our global network! America / Europe / Asia

  7. #7
    Join Date
    Mar 2009
    Posts
    2,735
    Quote Originally Posted by CI-Andrew View Post
    This functionality is built in to cpanel, go into 'service manager' and you can setup auto restart of services if they fail
    i hope it can be shorter.thanx

Similar Threads

  1. httpd FAILED restart ... help
    By boxer in forum Hosting Security and Technology
    Replies: 10
    Last Post: 04-30-2009, 08:34 AM
  2. Apache Restart Failed
    By mellow-h in forum Hosting Security and Technology
    Replies: 7
    Last Post: 01-19-2006, 07:27 AM
  3. http failed to restart
    By saj in forum Hosting Security and Technology
    Replies: 1
    Last Post: 01-10-2006, 12:40 PM
  4. mysql Failed to restart
    By WWWhost in forum Hosting Security and Technology
    Replies: 0
    Last Post: 09-06-2005, 08:11 PM
  5. spamd failed and does not restart
    By Not Applicable in forum Hosting Security and Technology
    Replies: 4
    Last Post: 01-23-2005, 11:30 AM

Posting Permissions

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