Ad Widget

Collapse

discovery action duplicate entries

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • angelhc
    Senior Member
    Zabbix Certified Specialist
    • Nov 2009
    • 226

    #1

    discovery action duplicate entries

    Hello!
    I'm playing with discovery actions and have a simple question

    Is any way to avoid duplicate entries if the host exists on zabbix?

    Actually I use this action conditions:

    Discovery rule = "ServersProvlan999"
    Received value like "linux"
    Discovery status = "Discovered"
    Service type = "Zabbix agent"
    Host IP = "172.16.70.1-255"

    The operations for this is only:
    Add host
    Add to host groups: Discovered Hosts


    But if one of the discovered host is on another host_group the action includes the hosts on "Discovered Hosts".
    Thanks!
    Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

    http://zabbixes.wordpress.com/
  • filipp.sudanov
    Senior Member
    Zabbix Certified Specialist
    • May 2014
    • 137

    #2
    Do I understand you correctly, that some hosts from 172.16.70.1-255 range were previously manually added into zabbix to some host group? And a discovery, that is happening afterwards, adds these host to another group?

    I think this is pretty much by design - you either give an IP range for auto discovery, or work with it manually. And there is no condition for an action "if host belongs to group <group name>".
    The only workaround could be to play with "Host IP" condition in the action, but it will be unconvenient.

    Comment

    Working...