Ad Widget

Collapse

LLD rules in a 2nd level template didn't work.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jun.Liu
    Member
    • Apr 2007
    • 91

    #1

    LLD rules in a 2nd level template didn't work.

    Hi Experts,
    I'm using the Zabbix 3.2 and setup a template named `TemplateB` with 1 discovery rule and some prototype items, it worked well and generate the expected items if I linked it to a host. but when I link it to another template `TemplateB` and then link the TemplateB to a host, the expected items never be generated! and there is no any error msg in Zabbix server's log as well.

    With below configuration, it work perfect, the expected items were generated:

    Code:
     HostA <---  TemplateB(LLD with 1 discovery rule and some prototype items),
    but with below configuration, no expected items was generated!

    Code:
    HostA <--- TemplateA  <--- TemplateB(LLD with 1 discovery rule and many prototype items)

    The questions are:
    1. Is this a normal situation (the discovery rule in second level template(or sub-template) doesn't work)?
    2. if the discovery rule in second level template(or sub-template) should work, how to do a troubleshooting? any hint or tip?

    Thanks in advance.

    Regard
    Liu Jun
    Last edited by Jun.Liu; 15-05-2018, 02:09.
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    What it means "discovery rule in second level"? what happens?
    Can you show exact example?
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • Jun.Liu
      Member
      • Apr 2007
      • 91

      #3
      kloczek, thank your response.

      " discovery rule in second level" means the discovery rules in the TemplateB that is not linked to a host but another TemplateA, and the TemplateA was linked to host. I modified my original post and hope it help to understanding.

      Comment

      Working...