Ad Widget

Collapse

Auto registration of agents by IP range

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jialvarez
    Junior Member
    • Apr 2011
    • 2

    #1

    Auto registration of agents by IP range

    Hi all!

    I've installed Zabbix 1.8.2 but I can't set an auto registration action that takes a IP range and add this hosts into a defined group.

    For example, I have many hosts in two IP ranges: from 192.168.1.65 to 192.168.3.128 and from 192.168.16.129 to 192.168.17.129.

    How can I auto register these hosts and add into two different groups?

    Thank you in advance!
  • jialvarez
    Junior Member
    • Apr 2011
    • 2

    #2
    Auto registration of agents by IP range

    Any idea? It cannot be done?

    Comment

    • theflo
      Junior Member
      • May 2011
      • 3

      #3
      Auto registration of agents by IP range

      hi jialvarez !!

      Of course u can do that.

      You have to create two different discovery.

      One with the ip range set as 192.168.1.65-255,192.168.2.1-255,192.168.3.1-128
      and the other with
      192.168.16.129-255,192.168.17.1-129

      You can use it with an icmp check.

      Then you will have te set 2 actions for each discovery.

      One which will add the host to one of the group you created :
      You set event source = discovery
      You add a condition with Discovery status = "Up"
      And you add two different actions operations :
      -operation type : add host
      -operation add to group you want


      You can do the same to remove a host when the Discovery status = "Lost" or Discovery status = "Down" to get a list which is always changing.

      And you have to do the same with the second discovery rule.

      I have it on zabbix 1.8.4 and it's working fine !

      Hope i have help you.
      Last edited by theflo; 20-05-2011, 09:54.

      Comment

      Working...