Ad Widget

Collapse

Zabbix proxy will connect but wont discover hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deadserver
    Junior Member
    • Feb 2020
    • 3

    #1

    Zabbix proxy will connect but wont discover hosts

    Hi folks!,

    I have a problem I'm unable to solve. Setup is very simple, a server and some encrypted/unencrypted proxys.
    Server 10.0.5.152
    Proxy 10.2.9.1
    (they are allowed to communicate with each other)

    If i add an discovery rule that executes on the server it finds hosts on the local network.
    if i add an discovery rule that executes on the any proxy the proxy receives data but doesn't do anything with it. Zabbix reports that is can "see" the proxy and its active. Works both for encrypted PSK and unecrypted.

    i have checked connection between proxy and server and its seams fine. I have tried to telnet from proxy to server with this as result
    Code:
    telnet 10.0.5.152 10051
    Trying 10.0.5.152...
    Connected to 10.0.5.152.
    Escape character is '^]'.
    Connection closed by foreign host.
    I have checked firewalls so ports are open and allowed to communicate. When i restart either server or proxy it states that data has been sent and received.

    Does anyone have some clue to why zabbix proxy wont return data to the server? If i run exacly the same discovery but from the server to same subnet it discovers hosts.
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    Does your proxy config have StartDiscoverers= (>0) ?

    Comment

    • deadserver
      Junior Member
      • Feb 2020
      • 3

      #3
      Originally posted by LenR
      Does your proxy config have StartDiscoverers= (>0) ?
      Hi again!
      Sry for late answere. Yes the config have that setting and its bigger then 0. Something else you think it can be?

      Comment

      • Ronald
        Junior Member
        • Jun 2012
        • 8

        #4
        I am running a proxy, and autodiscovery works fine.
        I am using a encrypted connection and Selinux.
        Remember to set
        ServerActive= proxy.server.example.com In zabbix_agentd.conf

        Comment

        • deadserver
          Junior Member
          • Feb 2020
          • 3

          #5
          Originally posted by LenR
          Does your proxy config have StartDiscoverers= (>0) ?
          Sry for late answer but i managed to get it to work. Instead of using the internal network for the proxy config on the server i used the IP address of the VPN network instead and it seems like it solved the problem.

          Thanx for taking time on this!

          Comment

          Working...