How to change the wazuh agent name?

Started by m90mine, December 14, 2023, 04:31:23 PM

Previous topic - Next topic
I configured the wazuh agent plugin but I wanted to change the name that appears in wazuh manager. How can I do this?


System > Settings > General > Hostname
System > Settings > General > Domain
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

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

I don't know. I only know that I would not have my firewall run as "OPNsense.localdomain".
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)


It depends  ;)

Our Karlsruhe office has office-ka.punkt.de, our Frankfurt office has office-ffm.punkt.de. Etc.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

If this is needed, edit /var/ossec/etc/ossec.conf and add the <agent_name> Entry - then restart the Wazuh Service on the OPNsense.