I
I
ixSci2013-01-30 09:24:41
Monitoring
ixSci, 2013-01-30 09:24:41

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

6 answer(s)
S
subvillion, 2013-01-30
@subvillion

Yandex.Metrica, in the settings, check the box "notify me when the site is unavailable"

N
Nikita Gusakov, 2013-01-30
@hell0w0rd

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);
  }
}

M
maeln0r, 2013-01-30
@maeln0r

Used for a very long time. I can't say anything bad. See if webopulsar.ru/

R
rakot, 2013-01-30
@rakot

look at pingdom.com, there are a lot of opportunities there

S
sankir, 2013-01-30
@sankir

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.

M
mihass, 2013-01-30
@mihass

ping-admin.ru/serverstate.ru/
and
a couple dozen other similar services.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question