Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent table does not get populated #2073

Open
ensimek opened this issue Jan 6, 2023 · 1 comment
Open

Agent table does not get populated #2073

ensimek opened this issue Jan 6, 2023 · 1 comment

Comments

@ensimek
Copy link

ensimek commented Jan 6, 2023

Hi there!
Got a setup of 3 Debian based servers.
A -> Server/Agent/Local with database logging
B -> Agent connecting to A
C -> Agent connecting to A

Connection is fine as you can see:

./agent_control -l
OSSEC HIDS agent_control. List of available agents:
   ID: 000, Name: A (server), IP: 127.0.0.1, Active/Local
   ID: 001, Name: B, IP: 1.1.1.1, Active
   ID: 002, Name: C, IP: 1.1.1.2, Active

However when i look at the database, agent table remains empty. server table has only one local server in it.
What can i do to start logging alerts from agents?

@wolle604
Copy link

wolle604 commented Jan 9, 2023

Hey,

Alerts stored in a different table. The insertion of the agents informations seems not to be implemented . I builded a solution, with a json output of an ossec program, my python script just decode the data of the json file and inserts them into my database.

Best wishes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants