Hi Daniel

I'm pretty new too, but what I've found is the "generic-host" template uses a 
host alive check that includes the ping. If you don't want to use the ping 
check you need to use something other than "generic-host"

Yours
John

> On Apr 30, 2015, at 1:04 AM, Daniel Bossert <[email protected]> wrote:
> 
> Hi all
> 
> I'm new to icinga2 and I have problem to set up my own host (It's a very
> new concept).
> 
> I added such a file:
> 
> object Host "host1" {
> 
>    import "generic-host"
> 
>    display_name  = "Host 1"
> 
>    address = "a.b.c.d"
> 
>    check_command = "dummy"
> 
> }
> 
> object Host "host2" {
> 
>    import "generic-host"
> 
>    display_name  = "Host 2"
> 
>    address = "d.c.b.a"
> 
>    check_command = "dummy"
> 
> }
> 
> apply Service "httpverw" {
> 
>  import "generic-service"
> 
>  check_command = "http"
> 
>  assign where host.name == "Host 1"
> 
> }
> 
> 
> 
> Now.. I don't want the ping4 tests to these hosts, as they are not
> pingable; only the http-daemon is accessible.
> I use the host check_command "dummy" as this should be a replacement for
> the ping4-tests;
> 
> however, on icingaweb2 I still get errors for these pings.
> 
> How have I to change my configuration?
> I googled and also the icinga2-documentation wasn't clearly enough for me...
> 
> Any input?
> 
> Kind regards
> Daniel
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> PGP Key: 0x3C54FCDF
> 
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to