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

Reply via email to