Ad Widget

Collapse

Updating template not removing old items/triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mcmyst
    Member
    • Feb 2012
    • 72

    #1

    Updating template not removing old items/triggers

    Hello,

    I made a template which is, for the moment, only checking ping on a remote host.
    I made a first version which was like this :
    Code:
    Trigger:
    {Template_A:icmpping[,2,25,68,100].count(900,0)}>2
    Items:
    icmppingloss[,2,25,68,200]
    icmppingsec[,2,25,68,200,avg]
    icmpping[,2,25,68,100]
    I wanted to change the timeout from 100ms to 200ms, so I changed it in the template, and I upload the new version. Now I have 2 triggers and 4 items like this:
    Code:
    Trigger:
    {Template_A:icmpping[,2,25,68,100].count(900,0)}>2
    {Template_A:icmpping[,2,25,68,200].count(900,0)}>2
    Items:
    icmppingloss[,2,25,68,200]
    icmppingsec[,2,25,68,200,avg]
    icmpping[,2,25,68,100]
    icmpping[,2,25,68,200]
    I there a kind of trick to do in order to tell zabbix that I want to remove unused item in the template ?

    Thank you
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    using xml import - no, you can not remove entities.
    you can do that manually or via the api
    Zabbix 3.0 Network Monitoring book

    Comment

    • mcmyst
      Member
      • Feb 2012
      • 72

      #3
      Ok thank you

      Comment

      Working...