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

Integration test for wazuh-agentd statistics #1034

Closed
3 tasks done
jnasselle opened this issue Feb 3, 2021 · 0 comments · Fixed by #1039
Closed
3 tasks done

Integration test for wazuh-agentd statistics #1034

jnasselle opened this issue Feb 3, 2021 · 0 comments · Fixed by #1039
Assignees

Comments

@jnasselle
Copy link
Member

jnasselle commented Feb 3, 2021

Related issue
wazuh/wazuh#7235

Description

Hello team!

The wazuh-agentd daemon already has statistics that are dumped to <installation_path>/var/run/wazuh-agentd.state(Linux and UNIX based OS) or <installation_path>\wazuh-agent.state (Windows) file every agent.state_interval (internal configuration) seconds.
This feature was extended by allowing remote requests by the manager to obtain that information in real time

Test List:

  • Configuration: check valid and invalid values and wazuh-agentd behavior
  • State file: check non existence if it's disabled. check refresh interval is accurate if it's enabled, check existence if it's enabled despite manager's status. check that content is valid
  • Remote: check that's is always accesible despite file is not enabled. check that content is valid

Regards,
Nico

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

Successfully merging a pull request may close this issue.

3 participants