Skip to content

Instantly share code, notes, and snippets.

@TheFlyingCorpse
Last active January 23, 2016 17:04
Show Gist options
  • Save TheFlyingCorpse/d1c4def0906ce8d35430 to your computer and use it in GitHub Desktop.
Save TheFlyingCorpse/d1c4def0906ce8d35430 to your computer and use it in GitHub Desktop.
This file contains examples that can be used together with Telegraf's win_perfcounter plugin to obtain performance data from various performance counter objects. Feel free to comment with suggestions to update this list.
# AD DS (see also SMB and DFS)
[[inputs.win_perfcounters.object]]
Object = "Security System-Wide Statistics"
Counters = ["NTLM Authentications","Kerberos Authentications","Digest Authentications"]
Measurement = "win_ad"
[[inputs.win_perfcounters.object]]
Object = "DirectoryServices"
Counters = ["Base Searches/sec","Database adds/sec","Database deletes/sec","Database modifys/sec","Database recycles/sec","LDAP Client Sessions"]
Measurement = "win_ad" # Set an alternative measurement to win_perfcounters if wanted.
# DFS N
[[inputs.win_perfcounters.object]]
# Useful if the server hosts a DFS Namespace or is a Domain Controller
Object = "DFS Namespace Service Referrals"
Counters = ["Requests Processed","Requests Failed","Avg. Response Time"]
Measurement = "win_dfsn"
# DFS R
[[inputs.win_perfcounters.object]]
# Useful if the server hosts a DFS Replication folder or is a Domain Controller
Object = "DFS Replication Service Volumes"
Counters = ["Data Lookups","Database Commits"]
Measurement = "win_dfsr"
# dotNET
[[inputs.win_perfcounters.object]]
# .NET CLR Exceptions
Object = ".NET CLR Exceptions"
Counters = ["# of Exceps Thrown"]
Measurement = "win_dotnet"
# HTTP & IIS, see also dotNET .
[[inputs.win_perfcounters.object]]
# HTTP Service request queues in the Kernel before being handed over to User Mode.
Object = "HTTP Service Request Queues"
Counters = ["CurrentQueueSize","RejectedRequests"]
Measurement = "win_http_queues"
[[inputs.win_perfcounters.object]]
# HTTP Service request queues in the Kernel before being handed over to User Mode.
Object = "Web Service"
Counters = ["Current Connections", "Total Bytes Received", "Total Bytes Sent","Total Connection attempts (all instances)"]
Measurement = "win_websvc"
[[inputs.win_perfcounters.object]]
# ASP.NET Applications
Object = "ASP.NET Applications"
Counters = ["Requests Total","Request Wait Time","Request Execution Time"]
Measurement = "win_asp_net"
[[inputs.win_perfcounters.object]]
# ASP.NET
Object = "ASP.NET"
Counters = ["Requests Queued"]
Measurement = "win_asp_net"
# SMB / File Server
[[inputs.win_perfcounters.PerfObjects]]
ObjectName = "SMB Client Shares"
Counters = ["Write Bytes/sec","Read Bytes/sec","Current Data Queue Length"]
Measurement = "win_smb_client"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment