OPNsense Forum

English Forums => General Discussion => Topic started by: m90mine on December 14, 2023, 04:31:23 pm

Title: How to change the wazuh agent name?
Post by: m90mine on December 14, 2023, 04:31:23 pm
I configured the wazuh agent plugin but I wanted to change the name that appears in wazuh manager. How can I do this?

Title: Re: How to change the wazuh agent name?
Post by: Patrick M. Hausen on December 14, 2023, 04:32:56 pm
System > Settings > General > Hostname
System > Settings > General > Domain
Title: Re: How to change the wazuh agent name?
Post by: m90mine on December 14, 2023, 04:37:55 pm
Isn't it possible to have a different name just for wazuh like it happens in other systems?

By changing the ossec.conf file I can have this facility on other systems
Title: Re: How to change the wazuh agent name?
Post by: Patrick M. Hausen on December 14, 2023, 04:40:00 pm
I don't know. I only know that I would not have my firewall run as "OPNsense.localdomain".
Title: Re: How to change the wazuh agent name?
Post by: m90mine on December 14, 2023, 04:42:40 pm
what is your suggestion?
Title: Re: How to change the wazuh agent name?
Post by: Patrick M. Hausen on December 14, 2023, 04:51:48 pm
It depends  ;)

Our Karlsruhe office has office-ka.punkt.de, our Frankfurt office has office-ffm.punkt.de. Etc.
Title: Re: How to change the wazuh agent name?
Post by: pleibling on December 27, 2023, 08:43:58 am
If this is needed, edit /var/ossec/etc/ossec.conf and add the <agent_name> Entry - then restart the Wazuh Service on the OPNsense.