Re: [OT] Server Monitoring
by Anonymous Monk on May 31, 2005 at 15:08 UTC
|
| [reply] |
|
Pretty nice. Except when the whole machine or the network goes down.
| [reply] |
|
You can run it from another machine. It's pretty mature, and widely used.
| [reply] |
|
| [reply] |
Re: [OT] Server Monitoring
by dragonchild (Archbishop) on May 31, 2005 at 15:10 UTC
|
| [reply] |
|
True. But i was kindof hoping there would be a ping service out there already.
| [reply] |
|
If it takes you more than 30 minutes to write these three scriptlets, I'd be shocked.
- In general, if you think something isn't in Perl, try it out, because it usually is. :-)
- "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"
| [reply] |
Re: [OT] Server Monitoring
by marto (Cardinal) on May 31, 2005 at 15:38 UTC
|
Hi,
You may want to take a look at the open source tool Server Monitor. I guess you could alter the code to get it to do exactly what you want, if it does not already. Hope this helps. Cheers,
Martin | [reply] |
Re: [OT] Server Monitoring
by terce (Friar) on May 31, 2005 at 15:24 UTC
|
If the machine is accessible from the public internet, there are many third party services (some free, some not) which will ping a given url and alert you if it's not accessible. Try googling for "website uptime". | [reply] |
|
| [reply] |
Re: [OT] Server Monitoring
by cbrandtbuffalo (Deacon) on May 31, 2005 at 16:21 UTC
|
No one has mentioned Big Brother. Although they have been bought by Quest, there is still a free version. And it's written in Perl with many Perl plug-ins. | [reply] |
|
And what about Big Sister? It's written in Perl, it's Open Source and it should work, according to some colleagues of mine. Which I don't trust much ;)
Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')
Don't fool yourself.
| [reply] [d/l] |
Re: [OT] Server Monitoring
by zentara (Archbishop) on May 31, 2005 at 16:34 UTC
|
You have 2 monitoring options, one is a daemon which tests the
existence of the server's process. Like intelli-monitor.pl.Here is something I did a while back in a similar vein, maybe it will give you some ideas. Maybe a 2 pronged approach, a daemon and an lwp script to test if the apache is locked up, or overloaded.
I'm not really a human, but I play one on earth.
flash japh
| [reply] [d/l] |
Re: [OT] Server Monitoring
by TedPride (Priest) on May 31, 2005 at 17:40 UTC
|
All you need is something that requests a file from the server every x number of minutes - even if the file is only one character - and does some sort of alert if the request times out x number of time, and the script is still able to load pages from other sites (you have to test the latter, or it could be your Internet connect having problems and not the server). A few minutes of coding using the proper modules should cover this, assuming you have a computer connected to the Internet that can run this in the background. See HTTP::Request and LWP::UserAgent.
| [reply] |