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

Enable winagent dump generation by default during installation process #12659

Closed
3 tasks done
Tracked by #9909
Dwordcito opened this issue Mar 9, 2022 · 0 comments · Fixed by #13125
Closed
3 tasks done
Tracked by #9909

Enable winagent dump generation by default during installation process #12659

Dwordcito opened this issue Mar 9, 2022 · 0 comments · Fixed by #13125
Assignees
Labels
module/agent Issues related to the agent daemon module/install Issue related to the installation process platform/windows

Comments

@Dwordcito
Copy link
Member

Dwordcito commented Mar 9, 2022

Epic
#9913

Description

This issue aims to configure the generation of crash dumps, to avoid losing post-mortem information, which can help us to solve bugs.

  • Given the fact that should be one key per .exe file, a manifest of those files should be created in order to be read by NSIS/MSI to create them

  • In case LocalDumps folder do not exist, it will be created but without dump generation (otherwise we will enable global dump generation). Otherwise, wazuh-related exe entries will be created

  • Default keys values
    DumpFolder: %INSTALLPATH%/dumps
    DumpCount: 20.
    DumpType: 2

DoD

  • Enable/register Wazuh executables HKLM\SOFTWARE\Microsoft\Windows Error Reporting\LocalDumps during install time. (MSI)
  • Enable/register Wazuh executables HKLM\SOFTWARE\Microsoft\Windows Error Reporting\LocalDumps during install time. (NSI)
  • Test dump generation.
@Dwordcito Dwordcito added the module/install Issue related to the installation process label Mar 9, 2022
@jnasselle jnasselle added module/agent Issues related to the agent daemon platform/windows labels Mar 14, 2022
@jnasselle jnasselle self-assigned this Apr 11, 2022
@jnasselle jnasselle linked a pull request Apr 20, 2022 that will close this issue
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/agent Issues related to the agent daemon module/install Issue related to the installation process platform/windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants