Results 1 to 4 of 4
  1. #1

    Is there an OnApp script that would reboot server

    When a vm is no longer responsive.

    The script must
    1. Monitor server
    2. Alert user when server is down
    3. If after the next 5 minutes, server is still down, reboot the server.

    Recently one of my very important server was down for 4 hours. Yes I have monitoring. However, it took 4 hours from the time I found out that the server is not responsive to I rebooting the server.

  2. #2
    I think the rebooting part is

    I just need a mechanism to access that when server is down.

  3. #3
    Join Date
    Jul 2001
    Melbourne, AU
    Have you tried asking OnApp support?
    Lowest prices on 2Gbps, 5Gbps & 10Gbps DEDICATED unmetered servers!!!
    █ Custom 10Gbps unmetered clustered server solutions! Email us for more info!
    Over 24 world wide locations to choose from!

  4. #4
    Join Date
    May 2013
    You can integrate the API call to reboot VM along with your monitoring, or by a simple script which use ping to check server status or another set of tools to analyze the state of "downtime" you mentioned. But please note when doing remote monitoring, there are chances for false positives due to network issues between your monitor server and OnaApp VM. So the script you make to monitor the VM must be written in way to avoid such unnecessary reboots.

Similar Threads

  1. APC reboot script
    By DionWales in forum Programming Discussion
    Replies: 2
    Last Post: 01-26-2011, 04:37 PM
  2. Web base reboot script?
    By hosteur in forum Dedicated Server
    Replies: 4
    Last Post: 01-14-2008, 03:56 PM
  3. Server Reboot Through Remote Reboot...
    By JohnGladen in forum Dedicated Server
    Replies: 16
    Last Post: 11-04-2006, 07:16 PM
  4. reboot script/program
    By kickmybutt in forum Programming Discussion
    Replies: 7
    Last Post: 04-29-2003, 01:26 PM
  5. Auto Server Reboot Script Wanted
    By raylin in forum Dedicated Server
    Replies: 14
    Last Post: 02-20-2001, 06:23 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