We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
telegraf::input { 'NetworkInterface': plugin_type => 'win_perf_counters.object', options => [{ 'ObjectName' => 'NetworkInterface', 'Instances' => ['*'], 'Counters' => [ 'Bytes Received/sec', 'Bytes Sent/sec', 'Packets Received/sec', 'Packets Sent/sec', ], 'Measurement' => 'win_net', 'IncludeTotal' => false, 'tags' => { 'app' => 'metrics', }, }] }
[[inputs."win_perf_counters.object"]] Counters = ["Bytes Received/sec", "Bytes Sent/sec", "Packets Received/sec", "Packets Sent/sec"] IncludeTotal = false Instances = ["*"] Measurement = "win_net" ObjectName = "NetworkInterface" [inputs."win_perf_counters.object".tags] app = "metrics"
[[inputs.win_perf_counters.object]] Counters = ["Bytes Received/sec", "Bytes Sent/sec", "Packets Received/sec", "Packets Sent/sec"] IncludeTotal = false Instances = ["*"] Measurement = "win_net" ObjectName = "NetworkInterface" [inputs.win_perf_counters.tags] app = "metrics"
Thanks for any help
The text was updated successfully, but these errors were encountered:
Hey czervenyvlk,
As a workaround, try this setup via hiera as an example. Working for me.
telegraf::inputs: cpu: - percpu: true totalcpu: true fielddrop: ["time_*"] mem: [{}] io: [{}] net: [{}] disk: [{}] swap: [{}] system: [{}] win_perf_counters: - object: - ObjectName: "Processor" Counters: ["% Idle Time", "% Interrupt Time", "% Privileged Time", "% User Time", "% Processor Time"] Instances: ["*"] Measurement: "win_cpu" - object: - ObjectName: "System" Counters: [ "System Up Time", "Processes" ] Instances: ["*"] Measurement: "win_system" - object: - ObjectName: "LogicalDisk" Counters: ["% Idle Time", "% Disk Time","% Disk Read Time", "% Disk Write Time", "% User Time", "Current Disk Queue Length"] Instances: ["*"] Measurement: "win_disk" - object: - ObjectName: "TCPv4" Counters: ["Connections Established", "Connections Reset"] Instances: ["*"] Measurement: "win_net"
Sorry, something went wrong.
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
Thanks for any help
The text was updated successfully, but these errors were encountered: