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

MSSQL Multiple Instances (windows.plugin) #19559

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

thiagoftsm
Copy link
Contributor

Summary

Move the variable inside the loop to reset its value before calling RegEnumValue again. Without this change, MSSQL data cannot be collected properly.

Fix

Test Plan
  1. Install MSSQL Server naming an instance.
  2. Reinstall MSSQL in a different directory with a different instance name.
  3. Compile this branch
  4. Make an installer.
  5. Install netdata.
Additional Information
For users: How does this change affect me?

@github-actions github-actions bot added area/collectors Everything related to data collection collectors/windows labels Feb 3, 2025
@thiagoftsm thiagoftsm requested review from ilyam8 and stelfrag February 3, 2025 04:58
@ilyam8 ilyam8 merged commit 86a9690 into netdata:master Feb 3, 2025
101 checks passed
@thiagoftsm thiagoftsm deleted the mssql_instances branch February 3, 2025 13:28
stelfrag pushed a commit to stelfrag/netdata that referenced this pull request Feb 4, 2025
@stelfrag stelfrag mentioned this pull request Feb 4, 2025
Ferroin pushed a commit that referenced this pull request Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/collectors Everything related to data collection collectors/windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants