testing URLs hosted locally

Marc Powell marc at ena.com
Thu Aug 11 00:09:05 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of David Millet
> Sent: Wednesday, August 10, 2005 5:02 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] testing URLs hosted locally
> 
> Hi everybody,
> 
> I have a nagios server running on the same local network as some
> webservers.  I'd like to set nagios up to check the websites as if
> checking from outside the network, but im not sure how to do that...
I do
> have access to other hosts outside the network, so perhaps there's a
way
> to set those outside hosts up to check the websites and report to
nagios?
> has anybody found a way to check locally hosted websites from a nagios
> server that is on the same network?

If you don't feel that testing them directly from your nagios box is
sufficient (maybe you have a firewall you don't trust) then you have a
few options available to you but they'll make you dependent on some
external machine. First, if you had a proxy available you (squid or
other) could use check_http from your nagios box to request the page
through the proxy. You could also install NRPE on one of your remote
boxes and run the check_http plugin from there. You could also use
check_by_ssh to do the same. You could also use cron and send_nsca to
run the plugin on the remote host and send the results to NSCA on your
nagios host. Finally, you could install an instance of nagios on your
remote host and do a minimal version of Distributed Monitoring.

There are other ways but the above would be the easy options.

--
Marc


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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