How do I check if a website is up?

rjustinwilliams at gmail.com rjustinwilliams at gmail.com
Thu Oct 23 15:15:38 CEST 2008


Use both. That way, you know which the problem is...
If just the name is down, and the IP is up, you know DNS is an issue.
If both are down, you know your site is more likely.
Could also be a network thing, but, you can at least distinguish DNS issue  
from other issues...


On Oct 23, 2008 8:55am, Joshua Wells <josh.wells at lionbank.com> wrote:
>
>
> Yes that was my thought. Plus it gives me the added benefit of not
>
> having to change the host definition if the IP address of the domain
>
> changes. If I am checking a website to be sure it is up and it becomes
>
> available only by IP address because of a DNS issue I would want to be
>
> made aware of that. That wouldn't happen if I defined the host by IP
>
> address instead of URL.
>
>
>
>
>
> -----Original Message-----
>
> From: Patrick Morris [mailto:patrick.morris at hp.com]
>
> Sent: Wednesday, October 22, 2008 3:43 PM
>
> To: Andy Shellam
>
> Cc: Josh Wells; nagios
>
> Subject: Re: [Nagios-users] How do I check if a website is up?
>
>
>
> On Tue, 21 Oct 2008, Andy Shellam wrote:
>
>
>
> > Hi Josh,
>
> >
>
> > You can, I believe, define a host using it's DNS name, however I and
>
> > I'm sure the rest of the community would discourage that for the
>
> > simple reason that if the DNS doesn't resolve, that host will be
>
> deemed down.
>
>
>
> FWIW, I almost always define hosts by DNS name rather than IP address
>
> wherever possible. It's easier to maintain and you get the added
>
> benefit of being alerted if DNS breaks.
>
>
>
> -------------------------------------------------------------------------
>
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
challenge
>
> Build the coolest Linux based applications with Moblin SDK & win great  
prizes
>
> Grand prize is a trip for two to an Open Source event anywhere in the  
world
>
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
> _______________________________________________
>
> Nagios-users mailing list
>
> Nagios-users at lists.sourceforge.net
>
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
> ::: Please include Nagios version, plugin version (-v) and OS when  
reporting any issue.
>
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081023/bfd6fc64/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list