Trigger has items from template that is not linked to host.

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 2.0.6rc1
    • Component/s: Templates (T)
    • Environment:
      AWS Linux (Redhat)

      We recently upgraded from Zabbix 1.8.16 to Zabbix 2.0.6-2.

      I wanted to perform a Clone/Full Clone on an existing host for a new host.

      When I clicked save, I received this error message:

      Trigger has items from template "Template_App_MySQL_Master_Sec" that is not linked to host.
      

      This host does not have Template_App_MySQL_Master_Sec attached as it is not a database. It does have a template called Template_Linux.

      I looked at Template_App_MySQL_Master_Sec's triggers and see the following:

      {Template_App_MySQL_Master_Sec:mysql.slave_lag.last(0)}>900&{Template_Linux:icmpping[].time(0)}<190000
      

      If I unlink Template_Linux from the new host, I can save it.

      This seems broken to me. Why does Template_App_MySQL_Master_Sec need to be associated with the host just because a trigger in Template_App_MySQL_Master_Sec links to Template_Linux??

            Assignee:
            Unassigned
            Reporter:
            Matthew Sims
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: