Ad Widget

Collapse

Auto Discovery add host doesn't work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicolasg
    Member
    • Apr 2011
    • 50

    #1

    Auto Discovery add host doesn't work

    Hi Guy's

    I'm trying to implement Auto discovery to automatically add new discovered hosts to a group but unfortunately I haven't manage to make it work so far.

    The discovery rule I have created checks for Zabbix agent "system.hostname" every 60 seconds and the Device uniqueness criteria is also Zabbix agent "system.hostname" .

    The hosts are been discovered (usually much more than 60 seconds time period) but none have been added to Zabbix for monitoring.

    Action:
    Event source : Discovery
    Status: Enabled

    Action conditions:
    Service type = "Zabbix agent"
    Discovery status = "Up"
    Uptime/Downtime >= "60"


    Action operations:
    Operation type -> add to group
    Group : <GroupName>


    Is there something I'm missing here ? Where can I see discovery messages for debugging ?
  • nicolasg
    Member
    • Apr 2011
    • 50

    #2
    After couple of hours the host was finally added automatically !

    I can't think of changing anything expect that I had deleted another discovery rule that was running and now I have only one...

    Another issue I have now is that the host was added with the hostname as hist IP address instead of the system hostname, how can I change that ?

    Comment

    • hirschnf
      Member
      • Jan 2010
      • 56

      #3
      Make sure, that the discovery rules with same IP-Ranges didn't work on different proxies.
      During our tests we make this mistake and get curious results.

      Comment

      • nicolasg
        Member
        • Apr 2011
        • 50

        #4
        We are not using any proxy here but thanks for the info.

        Comment

        • zalex_ua
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Oct 2009
          • 1286

          #5
          Originally posted by nicolasg
          After couple of hours the host was finally added automatically !
          In most cases discovery works very-very slowly. It's known problem.

          Comment

          • nicolasg
            Member
            • Apr 2011
            • 50

            #6
            Originally posted by nicolasg
            Another issue I have now is that the host was added with the hostname as hist IP address instead of the system hostname, how can I change that ?
            Any ideas on this one ?

            Comment

            • zalex_ua
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Oct 2009
              • 1286

              #7
              Try to search on the issue tracker. I recall something similar.

              Comment

              Working...