Hello
I have some troubles with template linkage (Zabbix 1.4.5). The following scenario:
1. Make 2 templates named "_TA" and "_TB".
2. Link the template "_TB" with "_TA".
3. Add the following items (simple checks) to the template "_TA":
(Description,Key)
4. Add the following triggers to the template "_TA":
(Name,Expression)
5. Now, apply the template "_TB" to a Host ("HA") and check the triggers:
(Name,Expression)
As you can see, the dependecies are 2 times made on the trigger of template "_TB" (wrong ?) and one on the trigger of the host "HA" (correct ?)
Is this a known issue (my rather fast search in the forum didn't show any) or a bug ?
It seems, that hirachical substitution of the template name doesn't work when using keys like "ftp" or "http". With "tcp,23" it seems to work.
As a sidenote, I have substitued the names of the templates, items and triggers to make it more readable. I'm using dots in the names. Maybe this is the problem ?
Sincerly
Andreas
I have some troubles with template linkage (Zabbix 1.4.5). The following scenario:
1. Make 2 templates named "_TA" and "_TB".
2. Link the template "_TB" with "_TA".
3. Add the following items (simple checks) to the template "_TA":
(Description,Key)
Code:
icmpping-check icmpping ftp-check ftp telnet-check tcp,23 http-check http
(Name,Expression)
Code:
_TA ICMP ping has not returned _TA:icmpping.max(#2)=0 _TA ICMP ping last has not returned _TA:icmpping.last(0)=0 _TA TCP port 21 (FTP) is not reachable _TA:ftp.max(#3)=0 Depends on "_TA ICMP ping last has not returned" _TA TCP port 23 (Telnet) is not reachable _TA:tcp,23.max(#3)=0 Depends on "_TA ICMP ping last has not returned" _TA TCP port 80 (HTTP) is not reachable _TA:http.max(#3)=0 Depends on "_TA ICMP ping last has not returned"
(Name,Expression)
Code:
_TA:HA ICMP ping has not returned _TA:icmpping.max(#2)=0 _TA:HA ICMP ping last has not returned _TA:icmpping.last(0)=0 _TA:HA TCP port 21 (FTP) is not reachable _TA:ftp.max(#3)=0 Depends on "[COLOR="Red"][B]_TB[/B][/COLOR] ICMP ping last has not returned" _TA:HA TCP port 23 (Telnet) is not reachable _TA:tcp,23.max(#3)=0 Depends on "[COLOR="Red"][B]HA[/B][/COLOR] ICMP ping last has not returned" _TA:HA TCP port 80 (HTTP) is not reachable _TA:http.max(#3)=0 Depends on "[COLOR="Red"][B]_TB[/B][/COLOR] ICMP ping last has not returned"
Is this a known issue (my rather fast search in the forum didn't show any) or a bug ?
It seems, that hirachical substitution of the template name doesn't work when using keys like "ftp" or "http". With "tcp,23" it seems to work.
As a sidenote, I have substitued the names of the templates, items and triggers to make it more readable. I'm using dots in the names. Maybe this is the problem ?
Sincerly
Andreas
Comment