Wazuh Global Configuration - Persistance Issue [Docker]

803 views
Skip to first unread message

DG

unread,
Oct 28, 2022, 3:59:07 PM10/28/22
to Wazuh mailing list
Hello Team,

I was editing the global manager configuration via the GUI to add in the monitoring azure logs. Got things working, saved the config and restarted the manager.

However, when I restarted the docker instance, the global configuration file reverts back to the original state and removes my edits.

Is there a reason why this happens?

Thanks!

Wazuh version 4.3.6

Mauricio Ruben Santillan

unread,
Oct 28, 2022, 7:23:54 PM10/28/22
to Wazuh mailing list

Hello!

This is due to how Docker works and due to how you stop/start your Docker deployment.
Normally if you stop and start your Wazuh containers, you shouldn't present any issues. But in case you run docker-compose up again, Docker will insert the default Wazuh configuration file provided in our repository for Docker.

In case you wanted to make your configurations persistent, you would need to save your configurations in the wazuh_manager.conf file for Single node deployment or in wazuh_manager.conf and wazuh_worker.conf files for Multi node deployment. This will make docker insert your configured Wazuh config file/s.

I hope this helps! Let me know how it goes!

Red Team

unread,
Oct 31, 2022, 5:33:36 PM10/31/22
to Mauricio Ruben Santillan, Wazuh mailing list
cool. Thanks for the explanation. Appreciate it.

--
You received this message because you are subscribed to a topic in the Google Groups "Wazuh mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/yULmvyYW-Mg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/752772e2-765d-4298-9b7f-0195626b1cban%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages