dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Script to detect server response time & reboot if necessary...

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Location
    Manchester, UK
    Posts
    2

    Question Script to detect server response time & reboot if necessary...

    At my university we use a server for learning ASP by making dynamic web pages. When a page with some dodgy code is uploaded and run, the server confuses itself and needs to be rebooted before anyone can do anything with it. The only people with the ability to reboot the server are a few IT staff. The problem is that with so many people using it, it often goes down and it takes ages for someone to get round to checking their emails and rebooting it.

    What I want to do is create a script/program that checks the server response time every 2 minutes or so and if it is over a certain time (1 minute), to reboot the server automatically. I will have full access to the server etc.

    I would like some pointers on where to start.

    E.g. what language to use, how to run the script every 2 minutes etc...

    Hope you can help, thanks :)

  2. #2
    Join Date
    Feb 2010
    Location
    Manchester, UK
    Posts
    2
    Bit more information:

    The server is running Microsoft Windows Server 2003. I'm pretty sure I could find a reliable server to run the script. I have access to a couple of other servers. Currently to restart it, I simply login using VNC and do a manual restart...all very basic stuff.

    When it goes down it's only the http sites. FTP still works so the reboot script could be hosted and run locally but triggered from another machine.

    Any ideas?

  3. #3
    Join Date
    Apr 2010
    Posts
    1

    Response Time

    If your looking for a response time monitoring tool you can find one here http://www.real-user-monitoring.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles