Ad Widget

Collapse

Connecting On Premise Zabbix Proxy to Zabbix Cloud

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mrkccs
    Junior Member
    • Jan 2025
    • 4

    #1

    Connecting On Premise Zabbix Proxy to Zabbix Cloud

    Greetings,
    I am new to the Zabbix world and I signed up for Zabbix Cloud. I have created a couple of hosts to start getting accustomed to the tool. I am now trying to set up a Zabbix Proxy so that I can monitor my on premise equipment from Zabbix Cloud. I am struggling getting the Zabbix Proxy connected to the Zabbix Cloud tenant. I have edited the /etc/zabbix/zabbix_proxy.conf file with the URL of my Zabbix cloud instance, but it does not want to connect. In in the /etc/zabbix/zabbix_proxy.conf file, I set the ProxyMode to 0, specified my Zabbix Cloud tenant URL for the Server, and set TLSConnect to unencrypted (just as a proof of concept to connect the proxy). In the /var/log/zabbix_proxy log, I am seeing messages such as:

    Code:
    Unable to connect to [<redacted>]:10051 [cannot connect to [[<redacted>]:10051]: connection timed out]
    Are there any specific instructions on configuring a Zabbix on premise proxy to connect to Zabbix Cloud tenants? I am not seeing quite that instruction set in the Zabbix user guide.

    Thanks!
  • Answer selected by mrkccs at 17-01-2025, 21:28.
    itimanuf
    Junior Member
    • Dec 2024
    • 11

    Originally posted by mrkccs
    Ah gotcha, sorry for not wording correctly. I used the FQDN of my Zabbix Cloud instance, so it would look like "example.zabbix.cloud" - it did not contain the other URL information. Is that the appropriate address to use, or is there a different configuration needed when configuring an on premise Zabbix proxy to connect to the Zabbix Cloud?
    You can use the FQDN. Just make sure to allow outgoing traffic from the proxy to the frontend server over port 10051.
    In your zabbix proxy, just edit the conf file and fill in the frontent FQDN next to server=

    server=yournodename.zabbix.cloud:10051

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2
      Proxy connection does not use "URL"... you need hostname (or IP) and port there...

      Comment

      • mrkccs
        Junior Member
        • Jan 2025
        • 4

        #3
        Ah gotcha, sorry for not wording correctly. I used the FQDN of my Zabbix Cloud instance, so it would look like "example.zabbix.cloud" - it did not contain the other URL information. Is that the appropriate address to use, or is there a different configuration needed when configuring an on premise Zabbix proxy to connect to the Zabbix Cloud?

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #4
          By definition it shoudl work ... But I have not used cloud instance, so there can be something.. definitely FW issues ... But your cloud support should be able to answer this?

          Comment

          • itimanuf
            Junior Member
            • Dec 2024
            • 11

            #5
            Originally posted by mrkccs
            Ah gotcha, sorry for not wording correctly. I used the FQDN of my Zabbix Cloud instance, so it would look like "example.zabbix.cloud" - it did not contain the other URL information. Is that the appropriate address to use, or is there a different configuration needed when configuring an on premise Zabbix proxy to connect to the Zabbix Cloud?
            You can use the FQDN. Just make sure to allow outgoing traffic from the proxy to the frontend server over port 10051.
            In your zabbix proxy, just edit the conf file and fill in the frontent FQDN next to server=

            server=yournodename.zabbix.cloud:10051

            Comment

            • mrkccs
              Junior Member
              • Jan 2025
              • 4

              #6
              I ended up getting it working! I started over with the proxy configuration and now I have it connected to my Zabbix cloud tenant. Thanks!

              Comment

              Working...