Hi
So what I've found was that there are many ways to organize your objects. That 
is both very powerful and a little frustrating. For my network I have both 
pingable and non-pingable hosts. So I created a "non-standard" template with 
check command = "dummy". 

But that's my environment. I suggest you try different configurations. 

v/r
John

> On Apr 30, 2015, at 7:24 AM, Daniel Bossert <[email protected]> wrote:
> 
> Hi John
> 
>> Am 30.04.15 um 12:37 schrieb John Nguyen:
>> 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"
> Can I omit this line or do I always have to specify a check_command?
> Which ones are other import-templates?
> 
> Kind regards
> Daniel
> Yours John
> 
> 
>>> 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"
>>> 
>>> }
> 
> 
> -- 
> 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