Ad Widget

Collapse

Problem with discovery Rules

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Zhen
    Junior Member
    • Oct 2022
    • 11

    #1

    Problem with discovery Rules

    Hello,
    I have some problem using the zabbix module discovery rules.
    I am doing discovery rules by snmpv3.
    When my machines show up i have a bug, they all have a similar name and a host is created with multiple interfaces.
    Do anyone have any idea how to fix this issue ?
    My version is 6.0.22

    Here is all the different thing i tried to fix this bug (and who didn't worked) :

    - I added multiple checks on the discovery rules
    - I splitted my discovery from /21 to /23 (to divide the number of machines found)

    Here is some screen to explain a bit my situations :
    Click image for larger version  Name:	image.png Views:	0 Size:	36.8 KB ID:	478777

    Click image for larger version  Name:	image.png Views:	0 Size:	49.6 KB ID:	478775
    Click image for larger version  Name:	image.png Views:	0 Size:	69.5 KB ID:	478776​​
    Last edited by Zhen; 12-02-2024, 13:03.
  • Answer selected by Zhen at 05-03-2024, 11:43.
    Zhen
    Junior Member
    • Oct 2022
    • 11

    By the way i also have another incident with the discovery rule.
    For some machine with no reason (in the same DR) they do not have a name on the monitored host column
    Click image for larger version

Name:	image.png
Views:	267
Size:	109.0 KB
ID:	479059

    Comment

    • ISiroshtan
      Senior Member
      • Nov 2019
      • 324

      #2
      I wonder if you actually checked what is the value of oid 1.3.6.1.2.1.1.5.0 returned by all those machines? Is it indeed same, or are they actually different?

      But based on screenshot alone, I think you should be able to fix it by switching "Device uniqueness criteria" to IP address + "Hostname" and "Visible name" to "DNS name". Tho I must note that i've not touched network discovery in a few years..

      Comment

      • Zhen
        Junior Member
        • Oct 2022
        • 11

        #3
        Hello ISiroshtan
        The OID 1.3.6.1.2.1.1.5.0​ should return the name of the machine. So they are mandatory different.
        I am monitoring DELL IDRAC serveur ( version are the same ).
        I can't use the IP adress name because i have a script behind who is doing the link between my zabbix database and my CMDB to add somme hostgroup on the machine concerned.
        I tried to switch the device uniqueness criteria as you said, i'm waiting the refresh.


        To add some more information, if i go on the machine and i delete every interfaces the good name of the machine is coming back :
        Click image for larger version

Name:	image.png
Views:	389
Size:	51.4 KB
ID:	478885
        But, when the discovery will turn back again i will return to my main situation :/ ​

        Comment

        • Zhen
          Junior Member
          • Oct 2022
          • 11

          #4
          By the way i also have another incident with the discovery rule.
          For some machine with no reason (in the same DR) they do not have a name on the monitored host column
          Click image for larger version

Name:	image.png
Views:	267
Size:	109.0 KB
ID:	479059

          Comment

          • Zhen
            Junior Member
            • Oct 2022
            • 11

            #5
            Originally posted by Zhen
            By the way i also have another incident with the discovery rule.
            For some machine with no reason (in the same DR) they do not have a name on the monitored host column
            Click image for larger version  Name:	image.png Views:	23 Size:	109.0 KB ID:	479059
            Hello,
            I have fixed this issue it was a problem on my side.


            But i still have these kind of problem :
            Click image for larger version

Name:	image.png
Views:	266
Size:	49.4 KB
ID:	480120
            Click image for larger version

Name:	image.png
Views:	274
Size:	29.6 KB
ID:	480121
            Click image for larger version

Name:	image.png
Views:	260
Size:	60.8 KB
ID:	480122

            If someone have any idea...​​

            Comment

            • Zhen
              Junior Member
              • Oct 2022
              • 11

              #6
              Bumping, still have the same problem

              Comment

              • Zhen
                Junior Member
                • Oct 2022
                • 11

                #7
                Hello,
                Still unresolved here if someone have any idea (:

                Comment

                Working...