Hi Garry, I'd recommend upgrading to 1.0 beta3. There are fixes for some characters in windows perfmon that were causing dropped or missing measurements, especially with Graphite.
https://github.com/influxdata/telegraf#windows-binaries-experimental Cam On Friday, August 12, 2016 at 2:16:26 PM UTC+1, [email protected] wrote: > I've just started playing around with Telegraf have run into an issue with > adding perfmon metrics to graphite. > > The perfmon counters have spaces in in their names and are being dropped. > > telegraf.conf > > [global_tags] > > [agent] > interval = "30s" > round_interval = true > metric_buffer_limit = 1000 > flush_buffer_when_full = true > collection_jitter = "0s" > flush_interval = "10s" > flush_jitter = "0s" > debug = false > quiet = false > hostname = "test" > > > ############################################################################### > # OUTPUTS > # > ############################################################################### > [[outputs.graphite]] > servers = ["172.24.25.210:2003"] > prefix = "" > #template = "host.measurement.tags.field" > timeout = 2 > > [[outputs.file]] > files = [ "stdout", "C:/telegraf/stats.txt" ] > data_format = "graphite" > #template = "host.measurement.tags.field" > > ############################################################################### > # INPUTS > # > ############################################################################### > [[inputs.win_perf_counters]] > [[inputs.win_perf_counters.object]] > ObjectName = "Processor" > Instances = ["_Total"] > Counters = ["% Idle Time", "% Interrupt Time", "% Privileged Time", "% > User Time", "% Processor Time"] > Measurement = "win_cpu" > > [[inputs.win_perf_counters.object]] > ObjectName = "LogicalDisk" > Instances = ["*"] > Counters = ["% Idle Time", "% Disk Time","% Disk Read Time", "% Disk > Write Time", "% User Time", "Current Disk Queue Length", "Disk Bytes/Sec", > "Disk Read Bytes/sec", "Disk Reads/Sec", "Disk Transfers/Sec", "Disk Write > Bytes/sec", "Disk Writes/sec" ] > Measurement = "win_disk" > IncludeTotal=true #Set to true to include _Total instance when querying > for all (*). > > [[inputs.win_perf_counters.object]] > ObjectName = "System" > Counters = ["Context Switches/sec", "System Calls/sec", "Threads", > "System Up Time", "Processes", "Processor Queue Length"] > Instances = ["------"] > Measurement = "win_system" > > [[inputs.win_perf_counters.object]] > ObjectName = "Memory" > Counters = ["Available Bytes","Committed Bytes", "Cache > Faults/sec","Demand Zero Faults/sec","Page > Faults/sec","Pages/sec","Transition Faults/sec","Pool Nonpaged Bytes","Pool > Paged Bytes"] > Instances = ["------"] # Use 6 x - to remove the Instance bit from the > query. > Measurement = "win_mem" > > > output > > test.C:.LogicalDisk.win_disk.Disk Bytes/Sec 15188.787 1471006439 > test.HarddiskVolume1.LogicalDisk.win_disk.Disk Bytes/Sec 0 1471006439 > test._Total.LogicalDisk.win_disk.% Disk Read Time 0 1471006439 > test.C:.LogicalDisk.win_disk.% Disk Read Time 0 1471006439 > test.HarddiskVolume1.LogicalDisk.win_disk.% Disk Read Time 0 1471006439 > test._Total.LogicalDisk.win_disk.Disk Writes/sec 1.8000488 1471006439 > test.C:.LogicalDisk.win_disk.Disk Writes/sec 1.8000488 1471006439 > test.HarddiskVolume1.LogicalDisk.win_disk.Disk Writes/sec 0 1471006439 > > > Any counter with a space in the name is being dropped. I've seen examples > where the space is being replaced by an underscore, where does that get set? > > thanks > Garry -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/2ef91573-fcc0-4c78-8a41-2ae741e800cd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
