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

Collectors enablement issue #1609

Closed
SumonT2 opened this issue Sep 5, 2024 · 1 comment · Fixed by #1611
Closed

Collectors enablement issue #1609

SumonT2 opened this issue Sep 5, 2024 · 1 comment · Fixed by #1611
Labels

Comments

@SumonT2
Copy link

SumonT2 commented Sep 5, 2024

Current Behavior

Can't change or update Collector using msiexec /i <path-to-msi-file> ENABLED_COLLECTORS=<collector list>
Using the exe file also stuck when I run any command like .\windows_exporter.exe --collectors.enabled "service"

When I install Windows Exporter with the command msiexec /i <path-to-msi-file> ENABLED_COLLECTORS=os,iis LISTEN_PORT=5000, then os and is collectors works fine. But if I re-run the command including additional collectors e.g. smb msiexec /i <path-to-msi-file> ENABLED_COLLECTORS=os,is,smb LISTEN_PORT=5000, then smb is not included as a collector.

Always get metrics from the collector which is enabled in the first time installation. To update or change the collectors, I have to uninstall and reinstall with new collectors.

Expected Behavior

running command with msiexec should update the collector list.

Steps To Reproduce

No response

Environment

  • windows_exporter Version: 0.28.1 also got same for earlier version
  • Windows 11 Version: 23H2 also same in 22H2

windows_exporter logs

I couldn't find any log files.

Anything else?

No response

@jkroepke
Copy link
Member

jkroepke commented Sep 5, 2024

I will looked into this by writing the whole exporter installer.

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