Answer the question
In order to leave comments, you need to log in
Service for checking the availability of the site and content?
Hello,
I need a service in which you can set the site address and a set of pages, the availability of which needs to be checked periodically and raised an alarm in case of problems. Let me explain: it happens that my blog is no longer available, and I only find out about it when I want to write an article. Or it was recently discovered that after a blog update, some of the pages became unavailable, i.е. 404 returned. I would like some kind of automatic machine so as not to check everything with my hands periodically.
Answer the question
In order to leave comments, you need to log in
Yandex.Metrica, in the settings, check the box "notify me when the site is unavailable"
I don’t really understand and know much, but is it possible to hang a script in cron that will check just errors
something like:
$pages = array();// откуда-то берем список для проверки
$domain = 'example.com';
$to = '[email protected]';
foreach($pages as $page){
$url = 'http://'.$domain.'/'.$page;
$ans = get_headers($url);
$is_error = is_int( strpos($ans[0], array(40, 30, 50)) );
if( !is_error ){
$error = 'Недоступна страница '.$url."\n".'Ошибка: '.$ans[0];
mail($to, 'Ошибка на сайте!', $error);
}
}
Used for a very long time. I can't say anything bad. See if webopulsar.ru/
Is there something like this for desktop?
You need the ability to log in to the site, and giving passwords to a third-party service is somehow not a hunt.
I understand that they can also be pulled from the desktop, but here it seems to be more reliable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question