Ad Widget

Collapse

Not all templates are linked to "<server>" error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jmusbach
    Member
    • Sep 2013
    • 37

    #1

    Not all templates are linked to "<server>" error

    Hello, we have pretty much everything set up as we want in Zabbix except for dependencies which we are now getting to but have run into a snag. We have our hosts grouped and templated by function (as shown in first image) and so I am trying to setup the web health alert we have so that it doesn't go off when a backend we use, hazelcast, fails in some way as well as when various database events occur. However when saving the dependencies we get the error "Not all templates are linked to "webtest2"", as shown in the second image, yet if you look at the first image webtest2 is indeed in the same templates as the rest of the group. So what is the cause of this error and how can it be resolved? Thanks.

    <-- first image showing grouping of nodes
    <--second image showing error

    Created bug report for this as well at https://support.zabbix.com/browse/ZBX-7175 .
    Last edited by jmusbach; 18-10-2013, 22:43.
  • jmusbach
    Member
    • Sep 2013
    • 37

    #2
    UPDATE: Found the offending code in "api/classes/CTrigger.php" which starts with:

    Code:
     // check that if some host is linked to the template, that the trigger belongs to,
                                    // the host must also be linked to all of the templates, that trigger dependencies point to
    But there's a problem with that in our case. We want this webs trigger to depend on triggers that might go off in some templates assigned to other server groups because what happens in those other groups can affect our web servers. But we do not want to have to link webs to those other templates since they contain items and triggers not applicable to our web servers. So how do we proceed here?

    Comment

    Working...