Ad Widget

Collapse

Template cannot be linked to another template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • toypatrick
    Junior Member
    • Aug 2018
    • 8

    #1

    Template cannot be linked to another template

    I am trying to add the zabbix agents to the server and assigning the template.And its erroring out can you tell me the fix.
    I have to add multiple servers to zabbix server with OS monitoring.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please tell me exactly what kind of error is occurring.
    If it is an error that the item keys are duplicated, please create a template that does not duplicate item keys.

    Comment

    • dimir
      Zabbix developer
      • Apr 2011
      • 1080

      #3
      Originally reported as issue https://support.zabbix.com/browse/ZBX-15528

      Comment

      • toypatrick
        Junior Member
        • Aug 2018
        • 8

        #4
        Can you let me know how to create a duplicate item keys that can be mapped to all the new servers.
        Basically looking at monitoing the OS related and network related on the servers.. I am newbie to zabbix learning from scratch.

        Comment


        • Atsushi
          Atsushi commented
          Editing a comment
          Multiple templates with duplicate item keys can not be linked to the same host. Please divide the template for OS or application so that it does not duplicate.

          Specifically, what items are specifically duplicated items?
          What kind of template are you trying to link?
      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #5
        You should be having a "host" for each Zabbix agent. Then, link each host ONLY to "Template OS <NAME>" and you should be fine.

        Comment


        • toypatrick
          toypatrick commented
          Editing a comment
          Can you let me know how do we do that .. I am newbie to zabbix
      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #6
        Here you go: creating a host. It has instructions for both, creating a host and linking a template to it.

        Comment

        • kloczek
          Senior Member
          • Jun 2006
          • 1771

          #7
          Originally posted by dimir
          Originally reported as issue https://support.zabbix.com/browse/ZBX-15528
          In the screenshot are three templates.
          This message is abou that some of those three templates already has linked one of those two.
          If those templates are standard zabbix OOTB templates Template OS Linux already is linked to the Template App Zabbix Agent and this why you see this message
          This is not a zabbix bug.
          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

          Working...