Ad Widget

Collapse

How To remove discoverd items after a discovery rule has been disabled on all hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bcl
    Junior Member
    • Jun 2023
    • 2

    #1

    How To remove discoverd items after a discovery rule has been disabled on all hosts

    Hi All

    How can i do the following without removen all hosts and re-adding them:
    I've forgot to disabled a normal discovery rule (windows services). Now all my hosts have items that are services. But i don't want that.
    I've disbald this discovery rule but the items are staying...
    I've read on some formus that i can set "keep lost resources days" but i don't use any LLD macro's.
    Is there a way to get all those items gone?

    Thanks in advance



  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Keep lost resources works only if that discovery works. If you disabled it, it will not run again... and it would only remove things, if you modified filters or other discovery options for that discovery...
    You can just delete related items from each host... (triggers should follow automatically). You don't need to do it host by host... There's plenty of options to narrow your item searches over hostgroups and item creation methods (discovered or not)...

    Comment


    • bishts
      bishts commented
      Editing a comment
      What other methods?
      I am in same situation where I have disabled a Discovery rule thinking that it will stop all the related items, but it seems I was wrong.
      How can I remove the items with doing it manually on each device?
Working...