![]() |
Free website monitoring agent?
I used to use sitescope (way before HP got their hands on it) and they released a version which was free for non-commercial use, but it appears to be no more.
Can anyone suggest a free website monitoring agent? It just needs to check for a specific word and fire off an email if it doesn't find it. |
Re: Free website monitoring agent?
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: PHP Code:
Code:
php whatever.php '<URL>'You can set this via CRON, Google it or use whatever control panel you have on your webhost if applicable. If you need a version modified that you can use on a webpage, let me know. |
Re: Free website monitoring agent?
Something missing??
Code:
?> |
Re: Free website monitoring agent?
Quote:
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)); |
Re: Free website monitoring agent?
Quote:
Quote:
---------- Post added at 21:14 ---------- Previous post was at 21:13 ---------- Quote:
I haven't tested this code, but it should work with a correct URL. You're not using "webaddress" (literal) as the URL, right? |
Re: Free website monitoring agent?
|
Re: Free website monitoring agent?
Ok, going to test it.
EDIT: Actually I can't test atm because I need to use Windows - can you try using this line: PHP Code:
|
Re: Free website monitoring agent?
That's done the trick!
Thanks Richard you're a star! |
| All times are GMT +1. The time now is 01:21. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum