Hi Meganie, it's a pleasure to be able to discuss this case with you.
I have been analyzing the information you have shared. Regarding the
agentless configuration in the
ossec.conf file, from what I see it is correct. Although you don't include it here, I understand that before this step you have made the connection to the wazuh manager as described in the
documentation.
Looking at the screenshot, I understand that you are trying to connect an HP 540zl switch using the "
Generic Diff" option and that this doesn't work.
From what it says after logging in you have to enter a random key to be able to continue and right at this point you get the prompt where you can run a command. Have I understood correctly how this switch works?
If so, I ask you, have you tried to include an
"echo",
"echo '\n'" or similar before
"show interfaces status"? The line in the
ossec.conf file should be similar to the following:
<arguments> echo; show interface status</arguments>If you tried this and it didn't work, we could investigate how to send an extra character at login or if the ssh switch service has any parameters for non-interactive execution to help us with this setup.
Thanks,