[icinga-users] Separate services or separate http_vhosts?

Stephane Bortzmeyer stephane at sources.org
Fri Jan 27 21:08:30 CET 2017


On Fri, Jan 27, 2017 at 08:26:24AM +0100,
 Gerald Vogt <vogt at spamcop.net> wrote 
 a message of 110 lines which said:

> Then you configure your host to check for vhosts like this:
> 
> object Host "www" {
>   import ...
> 
>   address = ...
>   address6 = ...
> 
>   vars.http_vhosts["main"] = {
>     http_uri = "/"
>   }
>   vars.http_vhosts["search"] = {
>     http_uri = "/search?pattern=foobar"
>   }
> }
> 
> Then the apply Service rule will create two services main and search and
> checks them individually...

OK, I get it, thanks, it now works.


More information about the icinga-users mailing list