We are moving into better mechanisms to monitor our environment and we started setting up Influx + Telegraf + Grafana.

We have Azure Monitor connected to Grafana and we can see a lot of details there, but we would like to go one level deeper and get a better understanding of how our SQL is used.

I've followed the steps described here - <https://github.com/influxdata/telegraf/blob/release-1.14/plugins/inputs/sqlserver/README.md>.

But script is failing with next result:

```
Securable class 'server' not supported in this version of SQL Server.

```

Tried to connect to SQL server with our admin account, that has all permissions and logstash is showing next results:

```
E! [inputs.sqlserver] Error in plugin: Script VolumeSpace failed: Login error: mssql: Login failed for user 'xxx_user'.
E! [inputs.sqlserver] Error in plugin: Script AzureDBPerformanceCounters failed: Login error: mssql: Login failed for user 'xxx_user'.
E! [inputs.sqlserver] Error in plugin: Script DatabaseIO failed: Login error: mssql: Login failed for user 'xxx_user'.
E! [inputs.sqlserver] Error in plugin: Script AzureDBPerformanceCounters failed: Login error: mssql: Login failed for user 'xxx_user'.
E! [inputs.sqlserver] Error in plugin: Script ServerProperties failed: Login error: mssql: Login failed for user 'xxx_user'.
E! [inputs.sqlserver] Error in plugin: Script WaitStatsCategorized failed: Login error: mssql: Login failed for user 'xxx_user'.
E! [inputs.sqlserver] Error in plugin: Script Cpu failed: Login error: mssql: Login failed for user 'xxx_user'.
E! [inputs.sqlserver] Error in plugin: Script PerformanceCounters failed: Login error: mssql: Login failed for user 'xxx_user'.
E! [inputs.sqlserver] Error in plugin: Script MemoryClerk failed: Login error: mssql: Login failed for user 'xxx_user'.

```

Could not find any issues in GitHub related to that. Is there something that I'm missing?

Did anyone succeed to connect these 2 services?