Skip to content

Instantly share code, notes, and snippets.

@splatch
Created June 29, 2016 09:00
Show Gist options
  • Select an option

  • Save splatch/d162f7916c662bc9145f8b8afd68064b to your computer and use it in GitHub Desktop.

Select an option

Save splatch/d162f7916c662bc9145f8b8afd68064b to your computer and use it in GitHub Desktop.
[[inputs.win_perf_counters]]
[[inputs.win_perf_counters.object]]
ObjectName = "Processor"
Instances = ["*"]
Counters = ["% Idle Time", "% Interrupt Time", "% Privileged Time", "% User Time", "% Processor Time"]
Measurement = "win_cpu"
[[inputs.win_perf_counters.object]]
ObjectName = "PhysicalDisk"
Instances = ["*"]
Counters = ["Disk Read Bytes/sec", "Disk Write Bytes/sec"]
Measurement = "win_disk"
[[inputs.win_perf_counters.object]]
ObjectName = "LogicalDisk"
Instances = ["*"]
Counters = ["Disk Read Bytes/sec", "Disk Write Bytes/sec"]
Measurement = "win_disk"
[[inputs.win_perf_counters.object]]
ObjectName = "System"
Counters = ["Context Switches/sec","System Calls/sec"]
Instances = ["------"]
Measurement = "win_system"
[[inputs.win_perf_counters.object]]
ObjectName = "Memory"
Counters = ["Available Bytes","Cache Faults/sec","Demand Zero Faults/sec","Page Faults/sec","Pages/sec","Transition Faults/sec","Pool Nonpaged Bytes","Pool Paged Bytes"]
Instances = ["------"]
Measurement = "win_mem"
[[inputs.win_perf_counters.object]]
ObjectName = "Network Interface"
Counters = ["Bytes Received/sec","Bytes Sent/sec","Packets Received/sec","Packets Sent/sec", "Current Bandwidth"]
Instances = ["*"]
Measurement = "win_net"
[[inputs.win_perf_counters.object]]
ObjectName = "Network Adapter"
Counters = ["Bytes Received/sec","Bytes Sent/sec","Packets Received/sec","Packets Sent/sec", "Current Bandwidth"]
Instances = ["*"]
Measurement = "win_net"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment