|Uptime server monitor for Apache|
is there are php script i can load?
| 10:46 am on Oct 25, 2002 (gmt 0)|
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?
| 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.
| 1:09 pm on Oct 25, 2002 (gmt 0)|
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?