Ad Widget

Collapse

Discovery by Proxy not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #16
    Originally posted by ElementZero

    Well, I mean once I have the servers registered (whether I do it manually or use auto-registration) then the checks succeed using active checks. I haven't really tried passive
    That's your problem then: the discovery job tries to connect to the agent, so if you haven't allowed passive checks in the agent, the discovery cannot find anything.

    Markku

    Comment

    • ElementZero
      Junior Member
      • Jan 2021
      • 16

      #17
      FYI - I just tried to telnet from the proxy to a server on port 10050 and it worked fine

      Comment

      • Markku
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Sep 2018
        • 1781

        #18
        Originally posted by ElementZero
        FYI - I just tried to telnet from the proxy to a server on port 10050 and it worked fine
        Well then, do you have an item agent.host configured and working on the agent?

        Markku

        Comment

        • ElementZero
          Junior Member
          • Jan 2021
          • 16

          #19
          That was it! I had to change it to agent.hostname and then it started working. Learning from that I set up a bunch of other things and everything is working great now with discovery. Thanks so much!

          Comment


          • Test Subject
            Test Subject commented
            Editing a comment
            Hi I am having this same issue and nothing seems to work, I have followed this post but I seem to be having a little bit of misunderstanding, where and what did you change to agent.hostname to get the discovery to work?
        Working...