How do I check if a website is up?

James bjlockie at lockie.ca
Mon Oct 20 16:50:07 CEST 2008


On Mon, October 20, 2008 10:18 am, Josh Wells wrote:
> Do I have to define a remote host such as www.website.com in order to
> apply the check_http service against that host?

A service needs a host so I think so.
It doesn't need to be www though, as long as port 80 answers.

All it does it telnet to port 80 and do a 'GET /' to see if the main page
is up.
I modified my check_http to look somewhere else beside /.



-------------------------------------------------------------------------
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





More information about the Users mailing list