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?
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?
Comment