ossec / ossec-hids

OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.
http://www.ossec.net
Other
4.51k stars 1.04k forks source link

Installing ossec as agent behave like server #1985

Open psychomad opened 3 years ago

psychomad commented 3 years ago

Hello I install ossec agent (fresh install) and i choose agent, i put IP address of server and answer correctly to everything.

When i use /var/ossec/bin/manage_agents

to Import the server key i have:


I check all conf's file and everything is correct. For example init.d:

DIRECTORY="/var/ossec" VERSION="v3.6.0" DATE="Sat Jun 19 16:00:23 CEST 2021" TYPE="agent"

And ossec.conf is correct

Any clue what happened? Thanks

Archerkong commented 3 years ago

may be you could show your command,so we can trouble shooting easily

psychomad commented 3 years ago

Commands are the usual one:

./install.sh and then i launch the agent_manager, im talking about a new fresh installation of ossec as agent. no customization or else.

Archerkong commented 3 years ago

maybe show we the full installation process and the installation file better

bntuser commented 6 months ago

Did you solve it?