Ad Widget

Collapse

Export triggers based on discovered items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • novakm
    Member
    • Apr 2009
    • 38

    #1

    Export triggers based on discovered items

    Hi everyone.
    I tried to search in forum but did not find anything. My setup is following:
    - Zabbix 2.0.4 is used for monitoring network switches and routers
    - I created template which finds all interfaces and monitors its statistics (status, errors, throughput)

    I want to know this information for all these interfaces. More to that, for uplink interfaces I want to be informed if the status changed. So I created the triggers just for these interfaces. So far so good.

    Now there is the problem. I exported all hosts to backup the zabbix configuration. I was quite surprised the triggers were not there. I did some testing and my conclusion is that triggers based on items found by discovery rules are not exported.

    Is there a way how to workaround this? I tried to create another template with "hardwired" items and made triggers on those hosts. Those triggers are exported.

    I tried to unlink the template from host and hoped those items will change to regular items (which would obviously solve the issue). Unfortunately this did not happen

    I am looking for either
    - way how to convert discovered items to "static" items behaving just like I manually added them
    - export all triggers including those based on discovered items

    Any advices please?
  • novakm
    Member
    • Apr 2009
    • 38

    #2
    Can no one advice, please?

    Still trying to figure this out, no clues any1, please?

    Comment

    • heaje
      Senior Member
      Zabbix Certified Specialist
      • Sep 2009
      • 325

      #3
      You'll have to do direct db queries to change the items to "normal" ones. You'll havr to chagne the flags column in the items table to 0 and delete the items from the it discovery table.

      Comment

      Working...