Ad Widget

Collapse

Discovery Rule Not Discovering

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomthetommy
    Junior Member
    • Sep 2016
    • 4

    #1

    Discovery Rule Not Discovering

    Hi All,

    So I have a network 192.168.0.1-254, I have configured the Discovery rule as such:

    IP Range: 192.168.0.1-254
    Checks: system.uname
    Device Uniqueness: Hostname

    Action:

    Conditions:
    A Discovery check = Development 10.180: Zabbix agent "system.uname"
    B Received value like Linux

    Operations:


    Link to template.


    Now this never works. I never get hosts appear in the template. It will only work if I add a ping check in, and add that to the Actions conditions.
    What is stopping Zabbix from going out and discovering the hosts?

    The agent is all setup on the clients. I can use zabbix_get from Zabbix to the hosts to verify it can access the hosts data.

    I have used netstat on the Zabbix machine as follows:

    netstat -tnuap | grep "10050" to try and verify that it's going out and connecting to machines to pull the initial data for discovery. But there is nothing.

    Any help is much appreciated.
  • glebs.ivanovskis
    Senior Member
    • Jul 2015
    • 237

    #2
    What's your Zabbix version? Can it be this issue is hitting you?

    Comment

    • asteroidyorkton
      Member
      • Aug 2016
      • 53

      #3
      I'm betting somewhere your setting is wrong or not enabled

      Discovery rule name: Development 10.180
      IP Range: 192.168.0.1-254
      Delay (if 1 hour, check the result after 1 hour). or reduce it to 5 minutes see if it works really quick.
      Checks: Zabbix agent "system.uname" -type is zabbix agent right?
      Device Uniqueness: system.hostname

      Looks like you don't have a check for Device hostname when you're using uniqueness of hostname.
      Checks: Zabbix agent "system.hostname" <- this is needed too?


      Discovery Action Condition:

      Conditions:
      A Discovery check = Development 10.180: Zabbix agent "system.uname"
      B Received value like Linux (This seems right)

      Comment

      Working...