Ad Widget

Collapse

Anyone has ideas on how to create a data diode for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eitland
    Junior Member
    • Nov 2010
    • 2

    #1

    Anyone has ideas on how to create a data diode for Zabbix

    At a previous job we used a data diode to make sure data only flowed one way between certain networks.

    For some reason I had an idea of using UDP to forward data from the proxies through a firewall but that doesn't seem to be possible based on a very quick look at the docs so I might have gotten that idea from another system I used once or something.

    Any ideas on how to implement something similar with Zabbix in less than two days of work? Other ideas?
  • andris
    Zabbix developer
    • Feb 2012
    • 228

    #2
    Zabbix uses TCP between server, proxy, agents. Proxies in active mode do TCP connections to Zabbix server and the server does not connect to active proxies. So, "one-way" TCP connections are supported, but UDP is not. TCP connections can be encrypted (TLS 1.2/1.3, certificates (verified on both ends) or PSK).

    Comment

    • Djelly
      Junior Member
      • Oct 2020
      • 7

      #3
      Originally posted by andris
      Zabbix uses TCP between server, proxy, agents. Proxies in active mode do TCP connections to Zabbix server and the server does not connect to active proxies. So, "one-way" TCP connections are supported, but UDP is not. TCP connections can be encrypted (TLS 1.2/1.3, certificates (verified on both ends) or PSK).
      I'm looking to get a proxy and server with a diode inbetween them to work but either I'm missing something or i don't understand the communication between the proxy and the server.
      According to you​ the communication is one way but how will the proxy then know what he needs to check if he can't get that information from the server?

      Comment

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

        #4
        Originally posted by Djelly

        ...but either I'm missing something or i don't understand the communication between the proxy and the server.
        According to you​ the communication is one way but how will the proxy then know what he needs to check if he can't get that information from the server?
        Proxy connects to server and asks for the list of things it has to check. Server gives it to proxy and then proxy checks those things (or forwards to agents to check) and sends collected data to server, time to time asks for updated list of things to check...
        "One way" means, that connection is initiated by proxy. This does not mean, that answers are not moving back to proxy..

        Comment

        • Djelly
          Junior Member
          • Oct 2020
          • 7

          #5
          Thanks for the reply,

          So Proxy -- datadaiode -- server won't work. Is there a way to sent all data collected from one server to another? for example a file (like an export of the current status) that I can deconstruct on another server or maybe something like using ODBC to get the ping satus of all host into a Json, sent it through and read it out by the other server.

          Comment

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

            #6
            If you are not able to deal with the way the configuration vs. results are being transmitted when using Zabbix agent or proxy, you may want to look at Zabbix trapper items. Using them your monitored hosts don't need any dynamic configuration data from the Zabbix server, meaning that you can configure your monitoring client as you wish. First you obviously need to configure the proper items in Zabbix server and then also implement your own monitoring agent, or a script using zabbix-sender command, on the monitored hosts.

            Zabbix server/proxy will respond to the trapper messages with a status message ("x successful, y failed"), but you can just drop that in your diode.

            Markku

            Comment

            Working...