Using check_http to check multiple folders


We have a webserver set up similar to the following:-

How can I check for a string on each of these sites.

I have tried using the

-u and -s arguments on check_http but it only seems to check the last site I specify.


make 3 different checks. or write a script which runs the three different checks and combines the result…

Thanks, when I tried creating different checks only the 1st one was showing in the Nagios web pages under the host name. The others dont get checked.

did you create them with different names (service_description)? If you use the same only one appears in the interface.