Ad Widget

Collapse

Host missing items and triggers from linked template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • irbtech
    Junior Member
    • Oct 2017
    • 8

    #1

    Host missing items and triggers from linked template

    I am noticing a few hosts that suddenly don't have triggers that are supposed to be a part of the linked template. In the screenshots below, one shows the triggers it's supposed to have and the other missing some even though they are part of the same template.
    Attached Files
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    I saw in the past few years ago something like this and it was result of some manual fiddling in database triggers/items straight by doing some delete/insert/update queries.
    If you are using the same database content since zabbix 1.8 or earlier, and if you have been doing just regular major upgrades none of already present damages have been healed during upgrades.

    To fix case like yours you need to unlink template from the host without clear -> delete all triggers which before where part of the templates then add template to the host again.
    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

    • irbtech
      Junior Member
      • Oct 2017
      • 8

      #3
      Originally posted by kloczek
      I saw in the past few years ago something like this and it was result of some manual fiddling in database triggers/items straight by doing some delete/insert/update queries.
      If you are using the same database content since zabbix 1.8 or earlier, and if you have been doing just regular major upgrades none of already present damages have been healed during upgrades.

      To fix case like yours you need to unlink template from the host without clear -> delete all triggers which before where part of the templates then add template to the host again.
      That didn't seem to work. Now I'm just missing all the Mounted Discovery items and triggers that's needed and still some of the triggers for the template on the host.

      Comment

      Working...