GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How to track when your sites go down? (https://gfy.com/showthread.php?t=1110530)

beks001 05-25-2013 08:39 AM

How to track when your sites go down?
 
I'm sick of seeing my sites go down constantly and not knowing until days later.

Is there anything that I can use to track this or setup an alert that lets me know when they are down?

Sly 05-25-2013 08:40 AM

https://www.pingdom.com/

beks001 05-25-2013 08:46 AM

Quote:

Originally Posted by Sly (Post 19640183)

Sweet! Thanks Sly! I'd need the 500 site option as I'm up to about 180 now but I can't justify the cost here based on my gross revenue. What I should do is scale down to what makes me money and cut costs on the sites that do not.

brassmonkey 05-25-2013 09:01 AM

http://www.internetseer.com

AllAboutCams 05-25-2013 09:06 AM

i use pingdom on one site to see if my hosting goes down

247mg 05-25-2013 09:07 AM

signup for the service called alertsite.com

Fat Panda 05-25-2013 09:10 AM

get BETTER hosting

but i like http://www.uptimerobot.com/

Sly 05-25-2013 09:16 AM

Quote:

Originally Posted by beks001 (Post 19640188)
Sweet! Thanks Sly! I'd need the 500 site option as I'm up to about 180 now but I can't justify the cost here based on my gross revenue. What I should do is scale down to what makes me money and cut costs on the sites that do not.

You could do the small package and put one instance on each of your servers. You likely would not need an instance on every single site, particularly if they are small. I'm sure there are also free packages out there. Look around, maybe you can get 10 free packages and cover everything.

Dankasaur 05-25-2013 09:36 AM

Code:

<?php
function is_site_down($site, $timeout = 10)
{
        if(!filter_var($site, FILTER_VALIDATE_URL))
        {
                return TRUE;
        }
        $curl = curl_init($site);
        curl_setopt($curl,CURLOPT_CONNECTTIMEOUT, $timeout);
        curl_setopt($curl,CURLOPT_HEADER, TRUE);
        curl_setopt($curl,CURLOPT_NOBODY, TRUE);
        curl_setopt($curl,CURLOPT_RETURNTRANSFER, TRUE);
        $response = curl_exec($curl);
        curl_close($curl);
        if ($response)
        {
                return FALSE;
        }
        return TRUE;
}

if (is_site_down('http://www.example.com'))
{
        echo 'Site is down, yo.';
}
else
{
        echo 'Site is up, bruh!';
}
?>


beks001 05-25-2013 09:58 AM

Quote:

Originally Posted by brassmonkey (Post 19640192)

Looks decent
Quote:

Originally Posted by AllAboutCams (Post 19640196)
i use pingdom on one site to see if my hosting goes down

I might try this. 1 per server. They likely all go down if one does. I just want to know if it goes down that's all.
Quote:

Originally Posted by dpapa (Post 19640197)
signup for the service called alertsite.com

This looks a bit complicated.
Quote:

Originally Posted by Sly (Post 19640206)
You could do the small package and put one instance on each of your servers. You likely would not need an instance on every single site, particularly if they are small. I'm sure there are also free packages out there. Look around, maybe you can get 10 free packages and cover everything.

Better off paying $9.95 probably right?

Roald 05-25-2013 11:40 AM

Check out Nagios.com

nickutis 05-25-2013 06:17 PM

www.host-tracker.com


All times are GMT -7. The time now is 04:03 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123