Ad Widget

Collapse

Importing events from ZabbixServerA in ZabbixServerB over an airgap

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ulx
    Junior Member
    • Apr 2024
    • 3

    #1

    Importing events from ZabbixServerA in ZabbixServerB over an airgap

    I'm currently looking into a way to get events/alerts from a zabbix 6.4 server to another zabbix server over an airgap. There's a datadiode between the two networks and only traffic in one direction is possible, I need to achieve that if a host in Network 1 sends an alert to ZabbixA that server forwards it over the diode to ZabbixB in a network where an operator can view it. Just to see if some action needs to be taken,

    I tried exporting alerts to a ndjson file in the zabbix_server.conf, on ZabbixA and that seems to work. I can see alert descriptions in that file. Timestamps, description, the host. etc. So that's good. The file arrives on a fileserver in Network2. On a SMB fileshare for now.

    But how I import the data in that file into ZabbixB? I can't get that to work. It reads one line and then that's it. If you can easily export that event I kinda expected an easy way to import them as well. Has anyone any idea?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Current versions of Zabbix just don't work that way, that you generate an alarm on one instance and can view it somehow in other... If you already configured a trigger and generated an alert and exported data about it, there is no options to import it to other Zabbix so it would function as "mirror". You can probably utilize some other tools instead of ZabbixB, to pick everything up from that file and display it somehow...

    There is a feature in roadmap for 7.2
    • One dashboard for multiple data sources
      Ability to display data from multiple Zabbix servers on a single dashboard to enable multi-DC monitoring scenario
    That might help you out at one point, but "Planned release date: Q4 2024" .... And no exact description yet, how it works and what it needs...

    Comment


    • Ulx
      Ulx commented
      Editing a comment
      Thanks. I was afraid of that. I knew about he 7.2 feature and it looks promising on paper, but without specifics it's a hard sell to mgmt.
Working...