Ad Widget

Collapse

Removing Linked Templates in v6.x

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • metal
    Member
    • Nov 2019
    • 42

    #1

    Removing Linked Templates in v6.x

    I have been using Zabbix since v4.x, and I noticed that in v6.x the readily available templates have "Linked Templates" changed into "Templates", this is not a problem, but for those templates hiding the actual dependency on other templates by simply creating those items on the template level is not a good idea. For example, in previous zabbix versions, it was clear that switch interfaces are discovered by using the template "interfaces SNMP":

    Click image for larger version  Name:	image.png Views:	0 Size:	32.4 KB ID:	459585

    Now in v6.2, this looks like this, linked templates is empty:

    Click image for larger version

Name:	image.png
Views:	203
Size:	43.0 KB
ID:	459587​​

    So that the user is agnostic concerning the actual origins of the items... This was a bad idea, indeed!! I don't really understand why this has been made this way..
    Attached Files
    Last edited by metal; 16-02-2023, 12:22.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    What version do you have installed? There was such error - but it was fixed a long time ago.
    But further - more: in version 6.4, they plan to remove template nesting altogether. https://www.zabbix.com/documentation...esting-removed

    Comment

    • metal
      Member
      • Nov 2019
      • 42

      #3
      I have both Zabbix 5.4.12 and 6.2.7, I am planning to migrate to 6.2.7, this thing appears in 6.2.7, then it appears to be by design, since I am looking at the template in 6.2.7 and it seems that all items are merged under the template, ignoring actual templates from which items have been inherited, that's is complete crap indeed, bad decision.
      Last edited by metal; 16-02-2023, 13:37.

      Comment

      • knightwolf8877
        Junior Member
        • Sep 2021
        • 20

        #4
        I get what you mean. The template system is so confusing and frustrating. It doesn't make sense to have the same templates for different types of computers.

        For example, I have 100 computers split into two groups: workstations and servers. They have different needs and requirements.

        Workstations are not so critical. I don't mind if they lose network connection or have some errors in the background. They can page to disk as much as they want.

        Servers are very important. I need to monitor their network performance and availability. I also need to check their memory usage and avoid paging. They should run smoothly and reliably.

        So why can't I have separate templates for them? Why do I have to link them to the same templates and then tweak them manually? That's a waste of time and energy. It defeats the whole purpose of having templates in the first place.

        when I want to disable network up/down for a whole template why can't I do that easily?

        now with 6.4 the linked ones can't be seen easily, I can't seem to copy then link this network discovery /tiggers template.

        if I have completely missed the concept of this please please enlighten me​

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          Originally posted by knightwolf8877
          So why can't I have separate templates for them? Why do I have to link them to the same templates and then tweak them manually? That's a waste of time and energy. It defeats the whole purpose of having templates in the first place.

          Before assigning that template to anything, you can clone it, make adjustments to a clone and then assign that one to those hosts that need it... So no need to assign same template to all hosts and try to disable some of triggers for some hosts and tweak others etc...

          Comment

          Working...