Hello,
I setup collecting data from my mssql. Everything was fine. But i change account for SQLSERVER service from NT Service\SQLSERVER to mydomain\acc and then i collect only few data from sql server.
It is possible to somehow fix?
I try to search so error, but it seems everything fine.
I don’t think that makes a difference, to get the data from SQL Server you just need a login with the following permissions (you can use either a domain or SQL user):
USE master;
GO
GRANT VIEW SERVER STATE TO [_login_];
GO
GRANT VIEW ANY DEFINITION TO [_login_];
GO
if something is wrong with the data gathering you will see appropriate errors on the telegraf side…
What do you mean with {...} collect only few data from sql server? what’s missing?
How would you connect to the old service using any generic client?
How do you connect to the new service using any generic client?
What was your inputs.sqlserver configuration for the old service?
What have you changed this to for the new service?
What error messages are you getting either on the client or the server end
when you now try to conect to the new service?
Have you confirmed that the expected data is actually going IN to the new
service?
Bear in mind that we know nothing about your setup; we can only offer
suggestions based on the information you give, so the better and more
comprehensive that is, the more likely someone here can help you.
A screenshot of your Grafana dashboard tells me nothing about what’s missing.
I understood that you changed only the service user of SQL Server, and since Telegraf is unchanged I doubt the issue is on its side.
I suggest you manually query the missing counters (I’m assuming some perf counters are missing), because that’s the only metrics that sometimes “disappear” or get"weird values", but that’s not SQL Server fault, as they come from the OS (usually Windows).
I suggest you do the following:
Identify the missing counters
Query the counters manually (to ensure they have values)
3a. If the counters are fine, the issue is Telegraf related (I doubt that’s the case) and you will find help here
3b.if the counters are missing go and search on the web on how to fix them, you’ll find several guides