Help monitoring multiple sites on 1 remote apache server


#1

Hi Guys,

I need some help please. I have set up a host in Nagios and put in it’s Static Public IP as host location and the host shows as up and I can ping and SSH it fine and these services show as OK.
However, I am getting a warning from check_http of a 404 Not Found error which is correct because the two sites are at
](http://)<>/site1
and
](http://)<>/site2
and there are no files in the document root of the apache server.
How can I get Nagios to use the check_http command to check both sites individually and display their status?

Thanks for any help you can give.
Stefan.


#2

/usr/local/nagios/check_http --help

check the -u switch. :wink: