# Unable to collect MSSQL$instance\_name performance counters

**URL:** <https://community.influxdata.com/t/unable-to-collect-mssql-instance-name-performance-counters/4041>\
**Category:** Telegraf\
**Tags:** telegraf\
**Created:** [February 16, 2018, 10:35pm UTC](https://community.influxdata.com/t/unable-to-collect-mssql-instance-name-performance-counters/4041 "2018-02-16T22:35:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snk](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/snk/32/1935_2.png) [@snk](https://community.influxdata.com/u/snk)\
**Post date:** [February 16, 2018, 10:35pm UTC](https://community.influxdata.com/t/unable-to-collect-mssql-instance-name-performance-counters/4041/1 "2018-02-16T22:35:04Z")

</div>

Hello,

I am trying to collect some metrics of MS SQL Server… I do see some values in perfmon of type: MSSQL$\<instance\_name\>:

So I coded following (as an example of many) in default\_perf\_counters.conf:  
[[inputs.win\_perf\_counters.object]]  
Counters = [“Forwarded Records/sec”, “Full Scans/sec”, “Index Searches/sec”, “Page Splits/sec”]  
Instances = ["------"]  
Measurement = "mssql\_access\_methods"  
ObjectName = “MSSQL$InstanceName:Access Methods”

After restarting telegraf service, nothing is sent to backend database wrt MSSQL. But if I run telegraf.exe --test I do see the values dumped on screen.

Anyone has any idea about what is wrong? Did anyone experience similar behaviour?

Thanks in advance and kind regards  
-Suleyman Kutlu
