Ad Widget

Collapse

Item Discovery on wrong server.

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kbencze95
    Junior Member
    • Feb 2021
    • 18

    #1

    Item Discovery on wrong server.

    Hello,

    I have an issue with item discovery. I set up a rule on a server called xy like this:
    Click image for larger version

Name:	image.png
Views:	66
Size:	32.4 KB
ID:	479148

    The problem is, when i hit the test button, the resulting json contains the directories of the server which zabbix is hosted on, NOT the xy server.
    I got a tip, that I should use the type Zabbix agent(active), but if I set it up that way, I cannot test it, and after waiting a few minutes I see the 'Cannot obtain directory listing' error here:
    Click image for larger version

Name:	image.png
Views:	65
Size:	29.0 KB
ID:	479149

    Any tips would be appreciated.
    ​​
    Attached Files
  • Answer selected by kbencze95 at 15-04-2024, 20:41.
    Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    Add or change the ip address of the host itself and it will appear in the selection list for the lld rule

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #2
      Change the ip address in the host interface field to the agent's address. 127.0.0.1 is the local address of the server!

      Comment

      • kbencze95
        Junior Member
        • Feb 2021
        • 18

        #3
        Thank you for the answer.

        Sadly, that is the only option under Host Interface field.

        Comment

        • Hamardaban
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • May 2019
          • 2713

          #4
          Add or change the ip address of the host itself and it will appear in the selection list for the lld rule

          Comment

          Working...