-
Notifications
You must be signed in to change notification settings - Fork 710
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
Unable to connect or collect SQL Server metertics through windows_exporter #1751
Comments
What about the sql instance SQLtest on the system? Does it exists, but it is offline? |
It is up and running fine and it is named an instance SANSRV101\SQLTest is the instnace name |
Could you please run
on cmd.exe and upload the counters.txt |
We couldn't upload files outside of our servers even Sandbox. Please let me know what info you're looking for. I want to know to establish connection to SQL Server through windows exporter and I want looking for .yaml file to connect SQL Server through .yaml I can see all the SQLserver counters information on the results, apart from if you ae looking for anything let me know \SQLAgent$sqltest:Jobs(Others)\Active jobs |
I'm looking for all Performance collector starting with
Shouldn't be an issue here. Use the clipboard to copy data from the server to you local environment. |
I found a server where I could reproduce the issue. A fix will be merged soon |
Sure, Let me try that |
Problem Statement
Please to connect Windows MS SQL server through windows_exporter
I am encountering the below error while trying to enable mssql collector to sql server for collecting sql server stats
c:\Program Files\windows_exporter>windows_exporter.exe --collectors.enabled="cs,os,cpu,mssql,memory,system,logical_disk,net,tcp,process,service" --web.listen-address=":8080"
time=2024-11-20T12:10:26.208-03:00 level=WARN source=cs.go:61 msg="The cs collector is deprecated and will be removed in a future release. Logical processors has been moved to cpu_info collector. Physical memory has been moved to memory collector. Hostname has been moved to os collector."
time=2024-11-20T12:10:26.208-03:00 level=WARN source=os.go:94 msg="The os collect holds a number of deprecated metrics and will be removed mid 2025. See #1596 for more information." collector=os
time=2024-11-20T12:10:26.731-03:00 level=ERROR source=exporter.go:190 msg="Couldn't load collectors" err="error build collector mssql: failed to build accessmethods collector: failed to create AccessMethods collector for instance SQLTest
: failed to add counter \SQLServer:MSSQL$SQLtest:Access Methods\AU cleanup batches/sec: The specified object was not found on the computer.\r\n"
Environment
The text was updated successfully, but these errors were encountered: