Ad Widget

Collapse

Zabbix into a Unidirectional Network

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • setshocker
    Junior Member
    • Jan 2013
    • 10

    #1

    Zabbix into a Unidirectional Network

    Hi all! I would like to deploy something like this...



    I will have a FW between my Zproxy and my Zserver...and this FW only allow traffic in one direction (Proxy -> Server) and I think that this will be problematic.

    I know that "Active proxy" would be the best option in this case, but in zabbix documentation says that "Active Proxy - the proxy will connect to the Zabbix server and request configuration data".

    I think that I will have problems with "request configuration" right? Is there any solution?

    I really appreciate any help you can provide, bye!
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    As you wrote what you are looking for is normal active proxy setup.
    RTFM: https://www.zabbix.com/documentation...toring/proxies
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • setshocker
      Junior Member
      • Jan 2013
      • 10

      #3
      Thanks kloczek,

      I'm reading in your link that..."The proxy requires only one TCP connection to the Zabbix server. This way it is easier to get around a firewall as you only need to configure one firewall rule."

      So that's would be great for me...but in zabbix_proxy conf guide:



      There's a parameter (ConfigFrequency) that say "How often proxy retrieves configuration data from Zabbix server in seconds. Active proxy parameter. Ignored for passive proxies (see ProxyMode parameter)."

      Could I disable "ConfigFrequency"? How?

      Thanks for all

      Comment

      • steveboyson
        Senior Member
        • Jul 2013
        • 582

        #4
        There is no need to disable it since it is a param for the proxy.

        It is in fact very simple:
        Every $ConfigFrequency the proxy connects to the server and receives the needed parameters.

        Comment

        • setshocker
          Junior Member
          • Jan 2013
          • 10

          #5
          thanks for your reply steveboyson,

          Maybe I have a "network gap" but...if my FW dont allow traffic Zserver -> Zproxy, Zproxy never receive "needed parameters" right?

          Thanks seriously, this is something that I dont understand at all.

          Comment

          • steveboyson
            Senior Member
            • Jul 2013
            • 582

            #6
            No no no.
            Once the proxy connects to the server, the server sends the configuration params over this proxy-initiated connection back to the proxy.

            Proxy -> Server: Hello. Anything new?
            Server -> Proxy: Yes. Hold on.
            Server -> Proxy: <parameters>blablabla</parameters>
            Proxy -> Server: Got it. Thanks.
            Server -> Proxy: Ok. Bye.
            Proxy -> Server: Bye.

            Comment

            • setshocker
              Junior Member
              • Jan 2013
              • 10

              #7
              oh, great example. Understood!

              Thanks!!

              Comment

              • Elsanto
                Junior Member
                • Feb 2019
                • 3

                #8
                setshocker or anyone else with the same problem, have you ever been able to make this setup work?

                Comment

                Working...