homepage Welcome to WebmasterWorld Guest from 23.22.2.150
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Uptime server monitor for Apache
is there are php script i can load?
George

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 303 posted 10:46 am on Oct 25, 2002 (gmt 0)

Hi,
My Apache server seems to be failing rather too frequently at present, and while all I need to do is a reboot, by the time I have done that, I have lost a customer!
I know there are sites that will ping mine, to see if it is up, but they do not always seem to catch the fact that the mysql database only is down.
What I was thinking would be rather nice, would be a monitor that emails me when there is a problem, or even better, reboots the server (once only, I am told you can over do it :) ) to kick it in again.

As I understand little of what goes on in a server, I am rather simply thinking that perhaps it could be done with a cron job?

Is they a solution anyone would recommend?

Thanks

George

 

Josk

10+ Year Member



 
Msg#: 303 posted 12:43 pm on Oct 25, 2002 (gmt 0)

You do quite easily in perl...though would not be a better idea to see what the problem is and cure that?

For mysql you could check every few minutes via cron if you can get a connection to mysql.

George

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 303 posted 1:09 pm on Oct 25, 2002 (gmt 0)

Hi Josk,
You are right, it would be better to solve the problem. I rent server space, and know little to nothing about them, and am reliant on the people who look after them.

They seem sensible people, but the bottom line is it keeps happening, so i am looking for a second line of difence.

With cron, what would the command line be do you think?

George

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved