On Sep 11, 2019, at 2:26 PM, Buddha Man <namobud...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/cd3f3ea7-9d03-43ef-96c2-a3281ec64544%40googlegroups.com.
HI Buddha,that happens if the IP or the agent name is the same, you have parameter in the auth block in the manager to specify that option.
https://documentation.wazuh.com/3.9/user-manual/reference/ossec-conf/auth.html?highlight=auth#force-insert@jlruizmlgOn Sep 11, 2019, at 2:26 PM, Buddha Man <namobud...@gmail.com> wrote:
I'm noting when I try to add another agent using agent-auth, the previous one gets deleted. Is this a config file setting somewhere?--
On Wednesday, September 11, 2019 at 2:47:02 PM UTC-4, Buddha Man wrote:I am seeing an issue where when I add an agent using agent-auth on the command line. It functions for a short period of time then the agent ID get's purged from client.keys.In the ossec.log on the server there are a number of:ossec-remoted: WARNING: (1408): Invalid ID 1087 for the source ip: '<IP redacted>(name 'unknown')entries. I'm thinking these are the end-points who initially could connect but then had their agent ID's purged.Any idea where to search for the cause of this weird behavior?Thanks!Buddha
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
We have just discovered a bug causing successive registrations with the "-I any" option overwrite each other.
As a workaround, to have your machines correctly registered, you should follow the further steps:
<use_source_ip>no</use_source_ip> is set to noany option: /var/ossec/bin/agent-auth -m <manager IP>.
If you are registering machines that have exactly the same hostname you
have to manually specify an agent name using the -A option: /var/ossec/bin/agent-auth -m <manager IP> -A <hostname>About the bug, as soon as our workflow allows us to do so, we're going to fix it. You can track the progress in this issue.