Ad Widget

Collapse

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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattsims
    Junior Member
    • Jul 2013
    • 8

    #1

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

    Hello, posting the same thing I did with the bug ticket I opened a couple weeks ago. Wondering if anyone else came across this same issue.

    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.las t(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?
  • mattsims
    Junior Member
    • Jul 2013
    • 8

    #2
    We ended up redoing this trigger.

    I guess the new way in Zabbix 2.0 is that a trigger can not reference two different templates

    Comment

    • Jason
      Senior Member
      • Nov 2007
      • 430

      #3
      It can if the templates are linked...

      Comment

      Working...