Ad Widget

Collapse

Inconsitent dependencies with template linkage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andreas Bollhalder
    Senior Member
    Zabbix Certified Specialist
    • Apr 2007
    • 144

    #1

    Inconsitent dependencies with template linkage

    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)
    Code:
    icmpping-check		icmpping
    ftp-check		ftp
    telnet-check		tcp,23
    http-check		http
    4. Add the following triggers to the template "_TA":

    (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"
    5. Now, apply the template "_TB" to a Host ("HA") and check the triggers:

    (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"
    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
    Zabbix statistics
    Total hosts: 380 - Total items: 12190 - Total triggers: 4530 - Required server performance: 224.2
  • Andreas Bollhalder
    Senior Member
    Zabbix Certified Specialist
    • Apr 2007
    • 144

    #2
    To the developers:

    I can provide PDFs which shows the exact names used. But I can't put it to the public...

    Andreas
    Zabbix statistics
    Total hosts: 380 - Total items: 12190 - Total triggers: 4530 - Required server performance: 224.2

    Comment

    • seruas
      Junior Member
      Zabbix Certified Specialist
      • Jun 2008
      • 3

      #3
      Send PDF's

      Hi Andreas,

      Could you send me this information for my email we have some issue with templates as well and we would like to have this info, in additional if you some documentation for performance tuning please send me as well.

      My email is [email protected]

      Much appreciated.

      Regards,
      Sergio

      Comment

      Working...