Hi,
I have 3 hosts:
- server1.domain.eu - from NLAM
- server1.domain.eu - from FRPA
- server1.domain.eu - from LIVI
Each host has the icmpping key.
I have created a calculated item on a virtual host (server1.domain.eu - multilocation) with this formula to see if the ping from 3 locations are up:
And that gives an expected result (3).
Now I'm trying to put this in a template. However, I'm trying to take use the DNS name (server1.domain.eu) in the formula like this
But this gives:
According to https://www.zabbix.com/documentation...ation#overview {HOST.DNS<1-9>} can be used in Item key parameters. I tried to use both {HOST.DNS} and {HOST.DNS1}. Which should be pointing to the first DNS interface on server1.domain.eu - multilocation, which is set to server1.domain.eu.
Any idea why {HOST.DNS} is not translating to server1.domain.eu, and the correct key (server1.domain.eu - from NLAM:icmpping) is not generated?
Thanks
I have 3 hosts:
- server1.domain.eu - from NLAM
- server1.domain.eu - from FRPA
- server1.domain.eu - from LIVI
Each host has the icmpping key.
I have created a calculated item on a virtual host (server1.domain.eu - multilocation) with this formula to see if the ping from 3 locations are up:
Code:
(last("server1.domain.eu - from NLAM:icmpping",0) + last(server1.domain.eu - from FRPA:icmpping",0) + last("server1.domain.eu - from LIVI:icmpping",0))
Now I'm trying to put this in a template. However, I'm trying to take use the DNS name (server1.domain.eu) in the formula like this
Code:
(last("{HOST.DNS} - from NLAM:icmpping",0) + last({HOST.DNS} - from FRPA:icmpping",0) + last("{HOST.DNS} - from LIVI:icmpping",0))
Cannot evaluate function "last(0)": item "server1.domain.eu - multilocation:{HOST.DNS1} - from NLAM:icmpping" does not exist.
Any idea why {HOST.DNS} is not translating to server1.domain.eu, and the correct key (server1.domain.eu - from NLAM:icmpping) is not generated?
Thanks