Ad Widget

Collapse

Disabling item prototype in discovery rule has no effect?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kmizser
    Junior Member
    • Jan 2015
    • 5

    #1

    Disabling item prototype in discovery rule has no effect?

    I have a newly created device which I applied the netapp template to. It nicely discovers everything the template has support for. Right now I have 2274 items.
    I want to disable some of the items as I'm not interested in all those items, so I clicked on (on the host level) 'discovery', then 'item prototypes' for the Volumes and disabled 2 of the 4 item prototypes.
    Is this action supposed to instruct Zabbix to remove the already discovered items that belong to these disabled Item prototypes? (because they're not going away...discovery interval is 360 and I changed 'Keep lost resources period' to 0)
    I'm using 2.4.3

    Anything I'm missing here?
    Thank you.
    Last edited by kmizser; 04-02-2015, 21:45.
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    I have the same on couple of hosts with LLD.
    Enable LLD -> create over LLD items -> disable some LLD prototypes and as result disable prototype is not causing remove from list of items and they are still hanging around. It is not possible to remove these items as well (I can understand that as same as disabled normal items should not be removed the same should be with items created ov. LLD but LLD is kind of special case).
    So far I had more important things to do/investigate/fix but seems it is kind of bug. Even if it is not a bug but feature it should be possible to remove somehow such "disabled" items manually.

    Please try to open a jira ticket for this issue on http://support.zabbix.com/

    PS. I'm still using 2.2.x
    Last edited by kloczek; 04-02-2015, 22:22.
    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

    • kmizser
      Junior Member
      • Jan 2015
      • 5

      #3
      I'm pretty new to Zabbix, so I absolutely want to make sure this is a bug before I submit a JIRA ticket.

      Comment

      • dmalott
        Junior Member
        • Sep 2015
        • 1

        #4
        Found a workaround for you

        You can create a new regular expression for the LLD which includes the LLD key strings you want items removed for and apply it to the LLD with the "Keep Lost Resources Period value set to 0 to remove immediately.

        I.E. to remove all items created by a LLD, create a regular expression called Allfalse that matches ^.*$ result is FALSE and apply it to the LLD. The next time the LLD fires, it should clean up all of its created items.

        At least in 2.2

        Comment

        Working...