View Single Post
Old 10-07-2010, 21:46   #4
Xaccers
Inactive
 
Join Date: Jun 2003
Location: Milling around Milton Keynes
Age: 48
Posts: 12,969
Xaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny stars
Xaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny starsXaccers has a pair of shiny stars
Re: Free website monitoring agent?

Quote:
Originally Posted by Richard M View Post
Nagios is pretty much the industry standard, but it's a behemoth and you can easily lose a day just configuring it.

But actually, if you can run PHP (on command line) then a script like this will work:
If you need a version modified that you can use on a webpage, let me know.

I'm getting:

PHP Warning: file_get_contents(webaddress): failed to open stream: No such file or directory in monitor.php on line 17

Running this on a W2K3 server.


Line 17 is:
$page = file_get_contents(urlencode($url));
Xaccers is offline   Reply With Quote