Ad Widget

Collapse

Remote Proxy connectivity issue with Zabbix Server.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vivetech
    Junior Member
    • Jul 2024
    • 7

    #1

    Remote Proxy connectivity issue with Zabbix Server.

    Hi, I have implemented Zabbix Server, Frontend, Agent 6.4 on Ubuntu 22.04 (Jammy), Database is MySQL.
    I am monitoring various devices by using SNMP & Zabbix Agents connected to my local network. I have also installed a zabbix proxy on a remote network and added that proxy to my server. Issue is that the remote proxy is not connecting to my zabbix server, checked the port 10051 is open.
    What could be the reason for this issue, kindly suggest checks i can perform for solution for this problem.
    Zabbix is new for me, any kind of help is appreciated. Thanks in advance.
    Last edited by vivetech; 03-07-2024, 13:38.
  • jdoggy31
    Member
    • Feb 2019
    • 39

    #2
    is the proxy running?

    what does the log say

    /var/log/zabbix/zabbix_proxy.log

    Comment

    • vivetech
      Junior Member
      • Jul 2024
      • 7

      #3
      Hi, Thanks for the response...
      /var/log/zabbix/zabbix_proxy.log

      1310:20240704:134303.432 Starting Zabbix Proxy (passive) [Zabbix proxy]. Zabbix 6.4.15 (revision 09711f1760b).
      1310:20240704:134303.437 **** Enabled features ****
      1310:20240704:134303.437 SNMP monitoring: YES
      1310:20240704:134303.437 IPMI monitoring: YES
      1310:20240704:134303.437 Web monitoring: YES
      1310:20240704:134303.437 VMware monitoring: YES
      1310:20240704:134303.437 ODBC: YES
      1310:20240704:134303.437 SSH support: YES
      1310:20240704:134303.437 IPv6 support: YES
      1310:20240704:134303.437 TLS support: YES
      1310:20240704:134303.437 **************************
      1310:20240704:134303.437 using configuration file: /etc/zabbix/zabbix_proxy.conf
      1310:20240704:134304.399 current database version (mandatory/optional): 06040000/06040026
      1310:20240704:134304.399 required mandatory version: 06040000
      1310:20240704:134304.477 proxy #0 started [main process]
      1346:20240704:134304.480 proxy #1 started [configuration syncer #1]
      1372:20240704:134305.343 proxy #2 started [trapper #1]
      1373:20240704:134305.348 proxy #3 started [trapper #2]

      Is public IP required on both server and remote proxy ??
      Last edited by vivetech; 04-07-2024, 13:59.

      Comment

      • jdoggy31
        Member
        • Feb 2019
        • 39

        #4
        Something looks off in your log. The server needs public ip and open port 10050 and 10051

        you see line in the log that says something like

        1193514:20240709:134420.914 received configuration data from server at "xx.xx.xx.xx", datalen 151269

        or

        1194081:20240709:134934.659 Unable to connect to [xx.xx.xx.x]:10051 [cannot connect to [[xx.xx.xx.x]:10051]: connection timed out]

        did you set the line in the /etc/zabbix/zabbix_proxy.conf

        Server=xx.xx.xx.xx

        Comment

        • vivetech
          Junior Member
          • Jul 2024
          • 7

          #5
          Hi all,
          I worked it out and now, my remote proxies are connecting to my server in active mode.
          however when i switch them to passive mode by changing proxy mode value from 0 to 1 and add them to my frontend in passive mode using proxy's IP and port, connectivity breaks up.
          All required ports are allowed.
          Any ideas why it is working in active mode and not in passive mode..

          TIA..

          Comment

          Working...