Ad Widget

Collapse

Zabbi API: Removing template to host doesnt remove trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chokies
    Junior Member
    • May 2012
    • 10

    #1

    Zabbi API: Removing template to host doesnt remove trigger

    Hi im trying to explore zabbix, im doing the removing of template to a host and im already done with it, is there any api or addtional param to remove automatically the trigger in which that template and host is associated too?any info would be a great help..


    thanks
  • mcmyst
    Member
    • Feb 2012
    • 72

    #2
    I am also interested by this feature !

    Comment

    • ghoz
      Senior Member
      • May 2011
      • 204

      #3
      if you just unlink templates, items, graphs and triggers will stay
      if you unlink and clear items, graphs and triggers will ble removed (templates_clear parameter in template.update according to the API doc)

      If you want to remove triggers but not items graphs/applications etc, youll have to do it by script... query triggers comming from the template, unlink the template, remove triggers...

      Comment

      • mcmyst
        Member
        • Feb 2012
        • 72

        #4
        Thank you, I haven't seen this argument before...

        Comment

        Working...