Hi Assaf,
Thanks for your answer. I tried it but it looks wrong too:
critical/config: Error: Error while evaluating expression: Tried to access
undefined script variable 'host'
Location: in
/etc/icinga2/zones.d/global-templates/templates/idealo_host-01.conf:
22:9-22:12
/etc/icinga2/zones.d/global
> On 2. Jun 2017, at 14:07, Christian Moreno Moreno
> wrote:
>
> Hi,
>
> we have the next template for the virtualhosts:
>
> template Host "virtual-generic-host" {
> max_check_attempts = 3
> check_interval = 1m
> retry_interval = 30s
> enable_perfdata = true
> check_command = "host