Skip to content
New issue

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

Prometneus_client error in telegraf 0.2.3 #405

Closed
logicall opened this issue Dec 1, 2015 · 27 comments · Fixed by #413
Closed

Prometneus_client error in telegraf 0.2.3 #405

logicall opened this issue Dec 1, 2015 · 27 comments · Fixed by #413
Labels
bug unexpected problem or unintended behavior

Comments

@logicall
Copy link

logicall commented Dec 1, 2015

Hello!
I've updated to version 0.2.3 Telegraph, but the problem has remained.
Telegraph falls as before

2015/12/01 09:34:19 Attempting connection to output: influxdb
2015/12/01 09:34:19 Successfully connected to output: influxdb
2015/12/01 09:34:19 Attempting connection to output: prometheus_client
2015/12/01 09:34:19 Successfully connected to output: prometheus_client
2015/12/01 09:34:19 Starting Telegraf (version 0.2.3)
2015/12/01 09:34:19 Loaded outputs: influxdb prometheus_client
2015/12/01 09:34:19 Loaded plugins: disk io mem swap system cpu
2015/12/01 09:34:19 Tags enabled: host=influxdb.uiscom.ru
2015/12/01 09:34:19 Agent Config: Interval:10s, Debug:true, Hostname:"influxdb", Flush Interval:12.762447502s
2015/12/01 09:34:30 Gathered metrics, (10s interval), from 6 plugins in 12.037977ms
panic: inconsistent label cardinality

goroutine 58 [running]:
github.com/prometheus/client_golang/prometheus.(*MetricVec).With(0xc8201c2370, 0xc8206d8c60, 0x0, 0x0)
        /home/telebuild/go/src/github.com/influxdb/telegraf/Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/vec.go:137 +0x91
github.com/prometheus/client_golang/prometheus.(*UntypedVec).With(0xc8201c2370, 0xc8206d8c60, 0x0, 0x0)
        /home/telebuild/go/src/github.com/influxdb/telegraf/Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus/untyped.go:120 +0x42
github.com/influxdb/telegraf/outputs/prometheus_client.(*PrometheusClient).Write(0xc820232da0, 0xc820363000, 0x1ee, 0x200, 0x0, 0x0)
        /home/telebuild/go/src/github.com/influxdb/telegraf/outputs/prometheus_client/prometheus_client.go:96 +0x978
github.com/influxdb/telegraf.(*Agent).writeOutput(0xc8201081a0, 0xc820363000, 0x1ee, 0x200, 0xc820232dc0, 0xc82023c2a0, 0xc820010ee0)
        /home/telebuild/go/src/github.com/influxdb/telegraf/agent.go:229 +0x11d
created by github.com/influxdb/telegraf.(*Agent).flush
        /home/telebuild/go/src/github.com/influxdb/telegraf/agent.go:269 +0x11a

goroutine 1 [select]:
github.com/influxdb/telegraf.(*Agent).Run(0xc8201081a0, 0xc82023c2a0, 0x0, 0x0)
        /home/telebuild/go/src/github.com/influxdb/telegraf/agent.go:385 +0x9d2
main.main()
        /home/telebuild/go/src/github.com/influxdb/telegraf/cmd/telegraf/telegraf.go:151 +0x1832

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:1696 +0x1

goroutine 5 [syscall]:
os/signal.loop()
        /usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
        /usr/local/go/src/os/signal/signal_unix.go:28 +0x37

goroutine 38 [IO wait]:
net.runtime_pollWait(0x7f3af8346e88, 0x72, 0xc820010200)
        /usr/local/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc8201e7db0, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc8201e7db0, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).accept(0xc8201e7d50, 0x0, 0x7f3af8347130, 0xc82031f060)
        /usr/local/go/src/net/fd_unix.go:408 +0x27c
net.(*TCPListener).AcceptTCP(0xc8201081e0, 0x452c60, 0x0, 0x0)
        /usr/local/go/src/net/tcpsock_posix.go:254 +0x4d
net/http.tcpKeepAliveListener.Accept(0xc8201081e0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:2135 +0x41
net/http.(*Server).Serve(0xc82023c240, 0x7f3af83470f8, 0xc8201081e0, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:1887 +0xb3
net/http.(*Server).ListenAndServe(0xc82023c240, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:1877 +0x136
created by github.com/influxdb/telegraf/outputs/prometheus_client.(*PrometheusClient).Start
        /home/telebuild/go/src/github.com/influxdb/telegraf/outputs/prometheus_client/prometheus_client.go:33 +0x14a

goroutine 57 [select]:
net/http.(*persistConn).roundTrip(0xc8201a0630, 0xc8203101b0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/transport.go:1164 +0xb0d
net/http.(*Transport).RoundTrip(0xc8201753b0, 0xc8202f41c0, 0xa8, 0x0, 0x0)
        /usr/local/go/src/net/http/transport.go:235 +0x530
net/http.send(0xc8202f41c0, 0x7f3afa98c4d8, 0xc8201753b0, 0xc82017af00, 0x0, 0x0)
        /usr/local/go/src/net/http/client.go:220 +0x52c
net/http.(*Client).send(0xc8201a3ec0, 0xc8202f41c0, 0x44, 0x0, 0x0)
        /usr/local/go/src/net/http/client.go:143 +0x15a
net/http.(*Client).doFollowingRedirects(0xc8201a3ec0, 0xc8202f41c0, 0x1097a40, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/client.go:380 +0xbc0
net/http.(*Client).Do(0xc8201a3ec0, 0xc8202f41c0, 0x28, 0x0, 0x0)
        /usr/local/go/src/net/http/client.go:178 +0x188
github.com/influxdb/influxdb/client/v2.(*client).Write(0xc8201a7a40, 0x7f3af80f87b8, 0xc82031cf00, 0x0, 0x0)
        /home/telebuild/go/src/github.com/influxdb/telegraf/Godeps/_workspace/src/github.com/influxdb/influxdb/client/v2/client.go:382 +0x8e5
github.com/influxdb/telegraf/outputs/influxdb.(*InfluxDB).Write(0xc820129cc0, 0xc820363000, 0x1ee, 0x200, 0x0, 0x0)
        /home/telebuild/go/src/github.com/influxdb/telegraf/outputs/influxdb/influxdb.go:146 +0x3aa
github.com/influxdb/telegraf.(*Agent).writeOutput(0xc8201081a0, 0xc820363000, 0x1ee, 0x200, 0xc820232d80, 0xc82023c2a0, 0xc820010ee0)
        /home/telebuild/go/src/github.com/influxdb/telegraf/agent.go:229 +0x11d
created by github.com/influxdb/telegraf.(*Agent).flush
        /home/telebuild/go/src/github.com/influxdb/telegraf/agent.go:269 +0x11a

goroutine 24 [select]:
github.com/influxdb/telegraf.(*Agent).flusher(0xc8201081a0, 0xc82023c2a0, 0xc82023c480, 0x0, 0x0)
        /home/telebuild/go/src/github.com/influxdb/telegraf/agent.go:286 +0x44f
github.com/influxdb/telegraf.(*Agent).Run.func1(0xc8200e07d0, 0xc8201081a0, 0xc82023c2a0, 0xc82023c480)
        /home/telebuild/go/src/github.com/influxdb/telegraf/agent.go:346 +0x7f
created by github.com/influxdb/telegraf.(*Agent).Run
        /home/telebuild/go/src/github.com/influxdb/telegraf/agent.go:350 +0x469

goroutine 39 [select, locked to thread]:
runtime.gopark(0x1097e78, 0xc820296728, 0xeca0c8, 0x6, 0x18, 0x2)
        /usr/local/go/src/runtime/proc.go:185 +0x163
runtime.selectgoImpl(0xc820296728, 0x0, 0x18)
        /usr/local/go/src/runtime/select.go:392 +0xa64
runtime.selectgo(0xc820296728)
        /usr/local/go/src/runtime/select.go:212 +0x12
runtime.ensureSigM.func1()
        /usr/local/go/src/runtime/signal1_unix.go:227 +0x353
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:1696 +0x1

goroutine 40 [chan receive]:
main.main.func1(0xc82023c300, 0xc82023c2a0)
        /home/telebuild/go/src/github.com/influxdb/telegraf/cmd/telegraf/telegraf.go:131 +0x36
created by main.main
        /home/telebuild/go/src/github.com/influxdb/telegraf/cmd/telegraf/telegraf.go:133 +0x1117

goroutine 94 [select]:
net/http.(*persistConn).writeLoop(0xc8201a0630)
        /usr/local/go/src/net/http/transport.go:1009 +0x40c
created by net/http.(*Transport).dialConn
        /usr/local/go/src/net/http/transport.go:686 +0xc9d

goroutine 93 [IO wait]:
net.runtime_pollWait(0x7f3af8346dc8, 0x72, 0xc820010200)
        /usr/local/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc82017d250, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc82017d250, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc82017d1f0, 0xc82022d000, 0x1000, 0x1000, 0x0, 0x7f3afa988050, 0xc820010200)
        /usr/local/go/src/net/fd_unix.go:232 +0x23a
net.(*conn).Read(0xc82035a168, 0xc82022d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/net.go:172 +0xe4
net/http.noteEOFReader.Read(0x7f3af8346f48, 0xc82035a168, 0xc8201a0688, 0xc82022d000, 0x1000, 0x1000, 0xc82030ca20, 0x0, 0x0)
        /usr/local/go/src/net/http/transport.go:1370 +0x67
net/http.(*noteEOFReader).Read(0xc8201c1dc0, 0xc82022d000, 0x1000, 0x1000, 0xc82038e010, 0x0, 0x0)
        <autogenerated>:126 +0xd0
bufio.(*Reader).fill(0xc82030c900)
        /usr/local/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Peek(0xc82030c900, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:132 +0xcc
net/http.(*persistConn).readLoop(0xc8201a0630)
        /usr/local/go/src/net/http/transport.go:876 +0xf7
created by net/http.(*Transport).dialConn
        /usr/local/go/src/net/http/transport.go:685 +0xc78
@sparrc
Copy link
Contributor

sparrc commented Dec 1, 2015

This actually appears to be a different problem. The previous panic was because of a NaN value trying to get sent to InfluxDB. This panic is coming from the prometheus client code here: https://github.com/prometheus/client_golang/blob/master/prometheus/vec.go#L143

It is getting an error on this function call: https://godoc.org/github.com/prometheus/client_golang/prometheus#MetricVec.GetMetricWith, which states:

An error is returned if the number and names of the Labels are inconsistent with those 
of the VariableLabels in Desc.

This doesn't really mean anything to me as I'm not familiar with Prometheus, does it mean anything to you? Do you know why this function would be returning an error?

@sparrc
Copy link
Contributor

sparrc commented Dec 1, 2015

@oldmantaiter @brian-brazil Any ideas on the above panic and error?

@brian-brazil
Copy link
Contributor

This means that some metric has say two labels sometimes and three at other times, which is not allowed (it's an anti-pattern). I'd guess that there's a clash on some metric name.

@oldmantaiter
Copy link
Contributor

I ran into this while writing/testing with the aerospike plugin (which is why there was a "namespace" called "_service").

@logicall could you post a copy of your config (removing any sensitive information)?

@sparrc
Copy link
Contributor

sparrc commented Dec 1, 2015

@oldmantaiter Could you explain the "namespace": "_service" tag more? How does that prevent this panic from happening?

TBH, panic'ing seems like a very extreme thing for the prometheus client library to do in this situation. Most golang libraries try to avoid panic'ing at all costs and prefer to return an error.

@logicall
Copy link
Author

logicall commented Dec 1, 2015

@oldmantaiter
Here is my config

[agent]
  interval = "10s"
  round_interval = true
  flush_interval = "10s"
  flush_jitter = "5s"
  flush_retries = 2
  debug = false
  hostname = ""

[outputs]
[[outputs.influxdb]]
  urls = ["http://localhost:8086"]   
  database = "telegraf"   
  precision = "s"

[[outputs.prometheus_client]]
  # listen = ":9126"

[cpu]
  percpu = true
  totalcpu = true
  drop = ["cpu_time"]
[disk]

[io]

[mem]

[swap]

[system]

@sparrc
Copy link
Contributor

sparrc commented Dec 1, 2015

I think I at least have a solution for the panic, we can use GetMetricWith(l) instead of With(l) that will not panic when an error occurs.

There will still be an error and the metric will have to be dropped, but at least it won't crash the entire telegraf process.

sparrc added a commit that referenced this issue Dec 1, 2015
Deals with part of #405, although it doesn't deal with the underlying
label error that is occuring.
sparrc added a commit that referenced this issue Dec 1, 2015
Deals with part of #405, although it doesn't deal with the underlying
label error that is occuring.
@sparrc sparrc added the bug unexpected problem or unintended behavior label Dec 1, 2015
@sparrc
Copy link
Contributor

sparrc commented Dec 1, 2015

Any steps to reproduce? I haven't been able to on darwin or linux (ubuntu)

@oldmantaiter
Copy link
Contributor

@sparrc There are measurements that are for both the global service level and the namespace level statistics for an aerospike server.

For example, the data_used_bytes_memory measurement exists for both, and without the "namespace" : "_service" tag, when the prometheus client got the metric, it would panic because the namespace version of the measurement had the "namespace": <namespace> tag, but the global service level measurement did not. The _service entry also allows for easy global querying, but originally it was to avoid the issue stated above.

@logicall
Copy link
Author

logicall commented Dec 2, 2015

Hello!
Today I build last telegraf. Everything worked.
But what errors appear

2015/12/02 10:27:13 Prometheus output, unsupported type. key: system_uptime_format, type: string
2015/12/02 10:27:13 ERROR Getting metric in Prometheus output, key: io_reads, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 10:27:13 ERROR Getting metric in Prometheus output, key: io_writes, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 10:27:13 ERROR Getting metric in Prometheus output, key: io_read_bytes, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 10:27:13 ERROR Getting metric in Prometheus output, key: io_write_bytes, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 10:27:13 ERROR Getting metric in Prometheus output, key: io_read_time, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 10:27:13 ERROR Getting metric in Prometheus output, key: io_write_time, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 10:27:13 ERROR Getting metric in Prometheus output, key: io_io_time, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 10:27:13 Flushed 494 metrics to output prometheus_client in 9.44ms
2015/12/02 10:27:13 Flushed 494 metrics to output influxdb in 13.308689ms

@brian-brazil
Copy link
Contributor

For example, the data_used_bytes_memory measurement exists for both, and without the "namespace" : "_service" tag, when the prometheus client got the metric, it would panic because the namespace version of the measurement had the "namespace": tag, but the global service level measurement did not. The _service entry also allows for easy global querying, but originally it was to avoid the issue stated above.

That's exactly what the Prometheus client is trying to avoid. Dealing with multiple levels of aggregation mixed into a single metric is quite tricky (e.g. a naive sum will give twice the real answer) and thus we strongly discourage this in Prometheus.
I'd presume this is just as difficult to deal with for users in InfluxDB, and would recommend putting the global metrics under a different metric name from the per-namespace metrics.

@sparrc
Copy link
Contributor

sparrc commented Dec 2, 2015

@logicall can you run in debug mode with only the io plugin enabled and attach all of the output? I'm still not sure I understand how you are getting measurements with different labels.

@sparrc
Copy link
Contributor

sparrc commented Dec 2, 2015

@logicall nevermind I think I understand the problem now. InfluxDB doesn't care if two measurements have the same name, it can separate measurements based on different tags, ie, these measurements are OK in InfluxDB:

io_reads,name=dm-0 value=1 100000000
io_reads,name=dm-1 value=1 100000000

But from what I am understanding, this is not OK for prometheus? @brian-brazil @oldmantaiter is that correct?

@sparrc
Copy link
Contributor

sparrc commented Dec 2, 2015

@brian-brazil InfluxDB is designed to handle filtering on multiple tags and fields within the same metric. Currently it is limited to 255 fields within a single metric but with the new storage engine this limit will be removed.

In fact Telegraf is soon going to move to a model where we put most plugin metrics into a single measurement.

@brian-brazil
Copy link
Contributor

But from what I am understanding, this is not OK for prometheus?

These measurements are also fine with Prometheus, as it has a very similar data model.

What's technically okay but strongly discouraged (and the Prometheus client libraries will try and stop you from doing as you've discovered) is:

io_reads value=1 100000000
io_reads,name=dm-1 value=1 100000000

This is hard to deal with for users, as a sum(io_reads) rather than giving the sum across all reads would double-count and give you twice the correct answer. A better approach is something like:

io_reads_all value=1 100000000
io_reads,name=dm-1 value=1 100000000

In Prometheus we'd generally advise only adding a aggregation like this on the client side for performance reasons, and otherwise just exposing the more granular version of the data. I presume the same would apply to InfluxDB and suggest that ye should copy this best practice.

@sparrc
Copy link
Contributor

sparrc commented Dec 2, 2015

@brian-brazil I see what you mean, looks like the io plugin is not applying the name tag if there is none in the diskstats file, which looks like it might be a "total" counter

@sparrc
Copy link
Contributor

sparrc commented Dec 2, 2015

@logicall Can you run cat /proc/diskstats on your system where you are seeing this and show me your output? As far as I can tell, every device should have a name

@logicall
Copy link
Author

logicall commented Dec 2, 2015

@sparrc

cat /proc/diskstats
   8       0 sda 18361 671 833255 32657 10560252 1490311 160195783 306328428 0 5975989 306350619
   8       1 sda1 1274 560 19701 922 1094 2 40903 5333 0 3006 6253
   8       2 sda2 258 31 2312 267 0 0 0 0 0 245 267
   8       3 sda3 16675 80 810010 31379 10175269 1490309 160154880 306191567 0 5857408 306211151
  11       0 sr0 0 0 0 0 0 0 0 0 0 0 0
 253       0 dm-0 16802 0 809258 33130 11762137 0 160154880 313646918 0 5977122 313680782

@sparrc
Copy link
Contributor

sparrc commented Dec 2, 2015

@logicall Seems like that should be working, could you provide the full debug output leading up to the error messages?

@logicall
Copy link
Author

logicall commented Dec 2, 2015

@sparrc

./telegraf -config /etc/opt/telegraf/telegraf_prometheus.conf -debug
2015/12/02 22:20:20 Attempting connection to output: influxdb
2015/12/02 22:20:20 Successfully connected to output: influxdb
2015/12/02 22:20:20 Attempting connection to output: prometheus_client
2015/12/02 22:20:20 Successfully connected to output: prometheus_client
2015/12/02 22:20:20 Starting Telegraf (version v0.2.3-4-g4b3b41f)
2015/12/02 22:20:20 Loaded outputs: influxdb prometheus_client
2015/12/02 22:20:20 Loaded plugins: io mem swap system cpu disk procstat
2015/12/02 22:20:20 Tags enabled: host=influxdb.uiscom.ru
2015/12/02 22:20:20 Agent Config: Interval:10s, Debug:true, Hostname:"influxdb", Flush Interval:12.027012947s
.............
> io_reads,host=influxdb,name=dm-0 value=16876i 1449084040018030053
> io_writes,host=influxdb,name=dm-0 value=11862932i 1449084040018045260
> io_read_bytes,host=influxdb,name=dm-0 value=415331328i 1449084040018059889
> io_write_bytes,host=influxdb,name=dm-0 value=82765803520i 1449084040018079355
> io_read_time,host=influxdb,name=dm-0 value=33415i 1449084040018100867
> io_write_time,host=influxdb,name=dm-0 value=318566017i 1449084040018114467
> io_io_time,host=influxdb,name=dm-0 value=6039551i 1449084040018128764
2015/12/02 22:20:40 Gathered metrics, (10s interval), from 7 plugins in 17.070481ms
2015/12/02 22:20:42 Prometheus output, unsupported type. key: system_uptime_format, type: string
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_reads, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_writes, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_read_bytes, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_write_bytes, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_read_time, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_write_time, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_io_time, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 22:20:42 Prometheus output, unsupported type. key: system_uptime_format, type: string
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_reads, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_writes, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_read_bytes, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_write_bytes, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_read_time, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_write_time, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_io_time, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality

@sparrc
Copy link
Contributor

sparrc commented Dec 2, 2015

@logicall actually I need to see all of the output please! (the part you replaced with ...........)

@logicall
Copy link
Author

logicall commented Dec 2, 2015

@sparrc

./telegraf -config /etc/opt/telegraf/telegraf_prometheus.conf -debug
2015/12/02 22:20:20 Attempting connection to output: influxdb
2015/12/02 22:20:20 Successfully connected to output: influxdb
2015/12/02 22:20:20 Attempting connection to output: prometheus_client
2015/12/02 22:20:20 Successfully connected to output: prometheus_client
2015/12/02 22:20:20 Starting Telegraf (version v0.2.3-4-g4b3b41f)
2015/12/02 22:20:20 Loaded outputs: influxdb prometheus_client
2015/12/02 22:20:20 Loaded plugins: io mem swap system cpu disk procstat
2015/12/02 22:20:20 Tags enabled: host=influxdb
2015/12/02 22:20:20 Agent Config: Interval:10s, Debug:true, Hostname:"influxdb", Flush Interval:12.027012947s
> mem_total,host=influxdb value=3975593984i 1449084030001929963
> mem_available,host=influxdb value=2952007680i 1449084030002038361
> mem_used,host=influxdb value=2428805120i 1449084030002055396
> mem_free,host=influxdb value=1546788864i 1449084030002068621
> mem_cached,host=influxdb value=1371074560i 1449084030002082370
> mem_buffered,host=influxdb value=168509440i 1449084030002095050
> mem_used_percent,host=influxdb value=61.0928864912982 1449084030002107790
> mem_available_percent,host=influxdb value=74.25324849269114 1449084030002130813
> system_load1,host=influxdb value=0.03 1449084030003392362
> system_load5,host=influxdb value=0.1 1449084030003523676
> system_load15,host=influxdb value=0.08 1449084030003557053
> system_uptime,host=influxdb value=1448535591i 1449084030003572546
> system_uptime_format,host=influxdb value="16765 days, 10:59" 1449084030003656506
> disk_total,fstype=rootfs,host=influxdb,path=/ value=100905791488i 1449084030002969652
> disk_free,fstype=rootfs,host=influxdb,path=/ value=97624109056i 1449084030003799576
> disk_used,fstype=rootfs,host=influxdb,path=/ value=3281682432i 1449084030003835815
> disk_inodes_total,fstype=rootfs,host=influxdb,path=/ value=6266880i 1449084030003865474
> disk_inodes_free,fstype=rootfs,host=influxdb,path=/ value=6186357i 1449084030003885757
> disk_inodes_used,fstype=rootfs,host=influxdb,path=/ value=80523i 1449084030003914795
> disk_total,fstype=proc,host=influxdb,path=/proc value=0i 1449084030003952958
> disk_free,fstype=proc,host=influxdb,path=/proc value=0i 1449084030003971625
> disk_used,fstype=proc,host=influxdb,path=/proc value=0i 1449084030003988070
> disk_inodes_total,fstype=proc,host=influxdb,path=/proc value=0i 1449084030004033619
> swap_total,host=influxdb value=4194299904i 1449084030004048374
> disk_inodes_free,fstype=proc,host=influxdb,path=/proc value=0i 1449084030004074801
> swap_used,host=influxdb value=0i 1449084030004097880
> disk_inodes_used,fstype=proc,host=influxdb,path=/proc value=0i 1449084030004101493
> disk_total,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084030004119568
> swap_free,host=influxdb value=4194299904i 1449084030004127495
> disk_free,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084030004136376
> swap_used_percent,host=influxdb value=0 1449084030004141562
> disk_used,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084030004151293
> swap_in,host=influxdb value=0i 1449084030004154956
> disk_inodes_total,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084030004167717
> swap_out,host=influxdb value=0i 1449084030004174437
> disk_inodes_free,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084030004184669
> disk_inodes_used,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084030004201566
> disk_total,fstype=devtmpfs,host=influxdb,path=/dev value=1977839616i 1449084030004233312
> disk_free,fstype=devtmpfs,host=influxdb,path=/dev value=1977839616i 1449084030004249395
> disk_used,fstype=devtmpfs,host=influxdb,path=/dev value=0i 1449084030004264561
> disk_inodes_total,fstype=devtmpfs,host=influxdb,path=/dev value=482871i 1449084030004278942
> disk_inodes_free,fstype=devtmpfs,host=influxdb,path=/dev value=482514i 1449084030004303769
> disk_inodes_used,fstype=devtmpfs,host=influxdb,path=/dev value=357i 1449084030004318284
> disk_total,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084030004333280
> disk_free,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084030004359688
> disk_used,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084030004378336
> disk_inodes_total,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084030004394307
> disk_inodes_free,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084030004409045
> disk_inodes_used,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084030004434225
> disk_total,fstype=tmpfs,host=influxdb,path=/dev/shm value=1987796992i 1449084030004449960
> disk_free,fstype=tmpfs,host=influxdb,path=/dev/shm value=1987796992i 1449084030004465009
> disk_used,fstype=tmpfs,host=influxdb,path=/dev/shm value=0i 1449084030004479806
> disk_inodes_total,fstype=tmpfs,host=influxdb,path=/dev/shm value=485302i 1449084030004499213
> disk_inodes_free,fstype=tmpfs,host=influxdb,path=/dev/shm value=485301i 1449084030004514015
> disk_inodes_used,fstype=tmpfs,host=influxdb,path=/dev/shm value=1i 1449084030004528626
> disk_total,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084030004543403
> disk_free,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084030004557581
> disk_used,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084030004571652
> disk_inodes_total,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084030004585881
> disk_inodes_free,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084030004617082
> disk_inodes_used,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084030004631936
> disk_total,fstype=tmpfs,host=influxdb,path=/run value=1987796992i 1449084030004646979
> disk_free,fstype=tmpfs,host=influxdb,path=/run value=1970630656i 1449084030004661371
> disk_used,fstype=tmpfs,host=influxdb,path=/run value=17166336i 1449084030004676195
> disk_inodes_total,fstype=tmpfs,host=influxdb,path=/run value=485302i 1449084030004690803
> disk_inodes_free,fstype=tmpfs,host=influxdb,path=/run value=484904i 1449084030004705381
> disk_inodes_used,fstype=tmpfs,host=influxdb,path=/run value=398i 1449084030004733274
> disk_total,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=1987796992i 1449084030004757834
> disk_free,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=1987796992i 1449084030004778594
> disk_used,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=0i 1449084030004794003
> disk_inodes_total,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=485302i 1449084030004808746
> disk_inodes_free,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=485289i 1449084030004823392
> disk_inodes_used,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=13i 1449084030004839417
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084030004862825
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084030004878524
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084030004893474
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084030004912824
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084030004927746
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084030004942271
> disk_total,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084030004957296
> disk_free,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084030004971710
> disk_used,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084030004986406
> disk_inodes_total,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084030005005326
> disk_inodes_free,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084030005020516
> disk_inodes_used,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084030005034841
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084030005049858
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084030005064480
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084030005078898
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084030005094274
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084030005113451
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084030005127893
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084030005143029
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084030005158519
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084030005178030
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084030005192681
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084030005207328
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084030005221855
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084030005237455
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084030005252005
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084030005284903
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084030005306822
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084030005321517
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084030005335830
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084030005350585
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084030005370869
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084030005390572
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084030005405210
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084030005419321
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084030005433516
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084030005448358
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084030005462822
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084030005478753
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084030005493122
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084030006027174
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084030006054653
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084030006070596
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084030006085491
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084030006100002
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084030006114289
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084030006128865
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084030006148127
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084030006168009
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084030006182947
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084030006197313
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084030006216462
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084030006231272
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084030006246061
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084030006261354
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084030006275753
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084030006290290
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084030006311072
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084030006326168
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084030006340441
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084030006355610
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084030006371365
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084030006386027
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084030006405655
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084030006426392
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084030006440818
> disk_total,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084030006455677
> disk_free,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084030006470134
> disk_used,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084030006952473
> disk_inodes_total,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084030006970127
> disk_inodes_free,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084030007005210
> disk_inodes_used,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084030007020154
> disk_total,fstype=ext4,host=influxdb,path=/ value=100905791488i 1449084030007036815
> disk_free,fstype=ext4,host=influxdb,path=/ value=97624109056i 1449084030007051685
> disk_used,fstype=ext4,host=influxdb,path=/ value=3281682432i 1449084030007067050
> disk_inodes_total,fstype=ext4,host=influxdb,path=/ value=6266880i 1449084030007096401
> disk_inodes_free,fstype=ext4,host=influxdb,path=/ value=6186357i 1449084030007111030
> disk_inodes_used,fstype=ext4,host=influxdb,path=/ value=80523i 1449084030007125255
> disk_total,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007140368
> disk_free,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007161300
> disk_used,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007175689
> disk_inodes_total,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007189812
> disk_inodes_free,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007206178
> disk_inodes_used,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007220497
> disk_total,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084030007236091
> disk_free,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084030007250617
> disk_used,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084030007269524
> disk_inodes_total,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084030007297623
> disk_inodes_free,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084030007312902
> disk_inodes_used,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084030007327113
> disk_total,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084030007343965
> disk_free,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084030007358572
> disk_used,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084030007373040
> disk_inodes_total,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084030007394453
> disk_inodes_free,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084030007408992
> disk_inodes_used,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084030007430681
> disk_total,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084030007445732
> disk_free,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084030007460462
> disk_used,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084030007475099
> disk_inodes_total,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084030007496284
> disk_inodes_free,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084030007510865
> disk_inodes_used,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084030007525311
> disk_total,fstype=xfs,host=influxdb,path=/boot value=520794112i 1449084030007540248
> disk_free,fstype=xfs,host=influxdb,path=/boot value=367091712i 1449084030007556190
> disk_used,fstype=xfs,host=influxdb,path=/boot value=153702400i 1449084030007570546
> disk_inodes_total,fstype=xfs,host=influxdb,path=/boot value=512000i 1449084030007584703
> disk_inodes_free,fstype=xfs,host=influxdb,path=/boot value=511663i 1449084030007610469
> disk_inodes_used,fstype=xfs,host=influxdb,path=/boot value=337i 1449084030007625622
> disk_total,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007640447
> disk_free,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007665055
> disk_used,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007679800
> disk_inodes_total,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007694319
> procstat_num_fds,host=influxdb,name=influxd,pid=10341 value=34i 1449084030007667206
> disk_inodes_free,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007708825
> disk_inodes_used,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084030007746455
> procstat_voluntary_context_switches,host=influxdb,name=influxd,pid=10341 value=1659112i 1449084030007814546
> procstat_involuntary_context_switches,host=influxdb,name=influxd,pid=10341 value=5362i 1449084030007856437
> procstat_read_count,host=influxdb,name=influxd,pid=10341 value=4806291i 1449084030007907077
> procstat_write_count,host=influxdb,name=influxd,pid=10341 value=15020671i 1449084030007926974
> procstat_read_bytes,host=influxdb,name=influxd,pid=10341 value=4096i 1449084030007942928
> procstat_write_bytes,host=influxdb,name=influxd,pid=10341 value=15020671i 1449084030007958277
> procstat_cpu_user,host=influxdb,name=influxd,pid=10341 value=856.92 1449084030008219582
> procstat_cpu_system,host=influxdb,name=influxd,pid=10341 value=425.08 1449084030008242334
> procstat_cpu_idle,host=influxdb,name=influxd,pid=10341 value=0 1449084030008260052
> procstat_cpu_nice,host=influxdb,name=influxd,pid=10341 value=0 1449084030008275776
> procstat_cpu_iowait,host=influxdb,name=influxd,pid=10341 value=0 1449084030008291222
> procstat_cpu_irq,host=influxdb,name=influxd,pid=10341 value=0 1449084030008306385
> procstat_cpu_soft_irq,host=influxdb,name=influxd,pid=10341 value=0 1449084030008321425
> procstat_cpu_soft_steal,host=influxdb,name=influxd,pid=10341 value=0 1449084030008336558
> procstat_cpu_soft_stolen,host=influxdb,name=influxd,pid=10341 value=0 1449084030008351784
> procstat_cpu_soft_guest,host=influxdb,name=influxd,pid=10341 value=0 1449084030008374181
> procstat_cpu_soft_guest_nice,host=influxdb,name=influxd,pid=10341 value=0 1449084030008389232
> procstat_memory_rss,host=influxdb,name=influxd,pid=10341 value=620400640i 1449084030008423353
> procstat_memory_vms,host=influxdb,name=influxd,pid=10341 value=1653866496i 1449084030008440693
> procstat_memory_swap,host=influxdb,name=influxd,pid=10341 value=0i 1449084030008469493
> io_reads,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=16749i 1449084030013875005
> io_writes,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=10269359i 1449084030013918584
> io_read_bytes,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=415716352i 1449084030013939103
> io_write_bytes,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=82756308992i 1449084030013957688
> io_read_time,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=31664i 1449084030013974449
> io_write_time,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=310977410i 1449084030013990379
> io_io_time,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=5918753i 1449084030014007370
> io_reads,host=influxdb,name=dm-0 value=16876i 1449084030014023486
> io_writes,host=influxdb,name=dm-0 value=11861273i 1449084030014038290
> io_read_bytes,host=influxdb,name=dm-0 value=415331328i 1449084030014066050
> io_write_bytes,host=influxdb,name=dm-0 value=82756308992i 1449084030014089927
> io_read_time,host=influxdb,name=dm-0 value=33415i 1449084030014103421
> io_write_time,host=influxdb,name=dm-0 value=318497070i 1449084030014116847
> io_io_time,host=influxdb,name=dm-0 value=6038910i 1449084030014129954
> io_reads,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=18435i 1449084030014143837
> io_writes,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=10655737i 1449084030014159606
> io_read_bytes,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=427617792i 1449084030014180800
> io_write_bytes,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=82777251328i 1449084030014196532
> io_read_time,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=32942i 1449084030014211479
> io_write_time,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=311114736i 1449084030014226071
> io_io_time,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=6037756i 1449084030014249817
> io_reads,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=1274i 1449084030014265458
> io_writes,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=1094i 1449084030014285724
> io_read_bytes,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=10086912i 1449084030014305599
> io_write_bytes,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=20942336i 1449084030014321021
> io_read_time,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=922i 1449084030014335887
> io_write_time,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=5333i 1449084030014358165
> io_io_time,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=3006i 1449084030014373350
> io_reads,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=258i 1449084030014388764
> io_writes,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=0i 1449084030014403973
> io_read_bytes,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=1183744i 1449084030014418912
> io_write_bytes,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=0i 1449084030014433975
> io_read_time,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=267i 1449084030014448746
> io_write_time,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=0i 1449084030014463570
> io_io_time,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=245i 1449084030014484311
2015/12/02 22:20:30 Gathered metrics, (10s interval), from 7 plugins in 13.599793ms
> swap_total,host=influxdb value=4194299904i 1449084040002030210
> swap_used,host=influxdb value=0i 1449084040002105347
> swap_free,host=influxdb value=4194299904i 1449084040002122447
> swap_used_percent,host=influxdb value=0 1449084040002136297
> swap_in,host=influxdb value=0i 1449084040002154484
> swap_out,host=influxdb value=0i 1449084040002169079
> mem_total,host=influxdb value=3975593984i 1449084040002369210
> mem_available,host=influxdb value=2947448832i 1449084040002403382
> mem_used,host=influxdb value=2433363968i 1449084040002416886
> mem_free,host=influxdb value=1542230016i 1449084040002429136
> mem_cached,host=influxdb value=1371074560i 1449084040002441074
> mem_buffered,host=influxdb value=168509440i 1449084040002454874
> mem_used_percent,host=influxdb value=61.207557356038095 1449084040002469938
> mem_available_percent,host=influxdb value=74.13857762795125 1449084040002486653
> system_load1,host=influxdb value=0.03 1449084040002949283
> system_load5,host=influxdb value=0.1 1449084040003013630
> system_load15,host=influxdb value=0.08 1449084040003030735
> system_uptime,host=influxdb value=1448535591i 1449084040003044472
> system_uptime_format,host=influxdb value="16765 days, 10:59" 1449084040003071679
> cpu_usage_user,cpu=cpu0,host=influxdb value=0.30150753768719396 1449084040003234941
> cpu_usage_system,cpu=cpu0,host=influxdb value=0.5025125628100857 1449084040003293578
> cpu_usage_idle,cpu=cpu0,host=influxdb value=95.27638190869169 1449084040003425115
> cpu_usage_nice,cpu=cpu0,host=influxdb value=0 1449084040003478875
> cpu_usage_iowait,cpu=cpu0,host=influxdb value=3.919597989920953 1449084040003507766
> cpu_usage_irq,cpu=cpu0,host=influxdb value=0 1449084040003535719
> cpu_usage_softirq,cpu=cpu0,host=influxdb value=0 1449084040003561417
> cpu_usage_steal,cpu=cpu0,host=influxdb value=0 1449084040003588944
> cpu_usage_guest,cpu=cpu0,host=influxdb value=0 1449084040003652704
> cpu_usage_guest_nice,cpu=cpu0,host=influxdb value=0 1449084040003678408
> cpu_usage_user,cpu=cpu1,host=influxdb value=0.7007007007018546 1449084040003779949
> disk_total,fstype=rootfs,host=influxdb,path=/ value=100905791488i 1449084040003818809
> cpu_usage_system,cpu=cpu1,host=influxdb value=0.6006006006006143 1449084040003856834
> disk_free,fstype=rootfs,host=influxdb,path=/ value=97624113152i 1449084040003870458
> cpu_usage_idle,cpu=cpu1,host=influxdb value=98.2982982978772 1449084040003902273
> disk_used,fstype=rootfs,host=influxdb,path=/ value=3281678336i 1449084040003938796
> cpu_usage_nice,cpu=cpu1,host=influxdb value=0 1449084040003942124
> disk_inodes_total,fstype=rootfs,host=influxdb,path=/ value=6266880i 1449084040003970806
> cpu_usage_iowait,cpu=cpu1,host=influxdb value=0.4004004004015475 1449084040003987762
> disk_inodes_free,fstype=rootfs,host=influxdb,path=/ value=6186358i 1449084040004003189
> cpu_usage_irq,cpu=cpu1,host=influxdb value=0 1449084040004015466
> disk_inodes_used,fstype=rootfs,host=influxdb,path=/ value=80522i 1449084040004034751
> cpu_usage_softirq,cpu=cpu1,host=influxdb value=0 1449084040004050806
> disk_total,fstype=proc,host=influxdb,path=/proc value=0i 1449084040004079772
> cpu_usage_steal,cpu=cpu1,host=influxdb value=0 1449084040004080527
> disk_free,fstype=proc,host=influxdb,path=/proc value=0i 1449084040004110941
> cpu_usage_guest,cpu=cpu1,host=influxdb value=0 1449084040004126944
> disk_used,fstype=proc,host=influxdb,path=/proc value=0i 1449084040004140586
> cpu_usage_guest_nice,cpu=cpu1,host=influxdb value=0 1449084040004153960
> disk_inodes_total,fstype=proc,host=influxdb,path=/proc value=0i 1449084040004169280
> cpu_usage_user,cpu=cpu2,host=influxdb value=0.6012024048101945 1449084040004191801
> disk_inodes_free,fstype=proc,host=influxdb,path=/proc value=0i 1449084040004198059
> cpu_usage_system,cpu=cpu2,host=influxdb value=0.7014028056130327 1449084040004218300
> cpu_usage_idle,cpu=cpu2,host=influxdb value=98.49699398773986 1449084040004244502
> disk_inodes_used,fstype=proc,host=influxdb,path=/proc value=0i 1449084040004226907
> cpu_usage_nice,cpu=cpu2,host=influxdb value=0 1449084040004270193
> disk_total,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084040004273750
> cpu_usage_iowait,cpu=cpu2,host=influxdb value=0.20040080160339818 1449084040004294959
> disk_free,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084040004304425
> cpu_usage_irq,cpu=cpu2,host=influxdb value=0 1449084040004341707
> disk_used,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084040004344946
> cpu_usage_softirq,cpu=cpu2,host=influxdb value=0 1449084040004366949
> disk_inodes_total,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084040004373557
> cpu_usage_steal,cpu=cpu2,host=influxdb value=0 1449084040004392392
> disk_inodes_free,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084040004401751
> cpu_usage_guest,cpu=cpu2,host=influxdb value=0 1449084040004418560
> disk_inodes_used,fstype=sysfs,host=influxdb,path=/sys value=0i 1449084040004429986
> cpu_usage_guest_nice,cpu=cpu2,host=influxdb value=0 1449084040004443065
> disk_total,fstype=devtmpfs,host=influxdb,path=/dev value=1977839616i 1449084040004460485
> disk_free,fstype=devtmpfs,host=influxdb,path=/dev value=1977839616i 1449084040004490518
> cpu_usage_user,cpu=cpu3,host=influxdb value=0.4008016032079355 1449084040004494943
> cpu_usage_system,cpu=cpu3,host=influxdb value=0.501002004009065 1449084040004520852
> disk_used,fstype=devtmpfs,host=influxdb,path=/dev value=0i 1449084040004518845
> cpu_usage_idle,cpu=cpu3,host=influxdb value=97.69539078174546 1449084040004547738
> cpu_usage_nice,cpu=cpu3,host=influxdb value=0 1449084040004574487
> disk_inodes_total,fstype=devtmpfs,host=influxdb,path=/dev value=482871i 1449084040004549947
> cpu_usage_iowait,cpu=cpu3,host=influxdb value=1.4028056112249263 1449084040004600497
> disk_inodes_free,fstype=devtmpfs,host=influxdb,path=/dev value=482514i 1449084040004620859
> cpu_usage_irq,cpu=cpu3,host=influxdb value=0 1449084040004626099
> disk_inodes_used,fstype=devtmpfs,host=influxdb,path=/dev value=357i 1449084040004661486
> cpu_usage_softirq,cpu=cpu3,host=influxdb value=0 1449084040004682219
> disk_total,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084040004692333
> cpu_usage_steal,cpu=cpu3,host=influxdb value=0 1449084040004707553
> disk_free,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084040004743003
> cpu_usage_guest,cpu=cpu3,host=influxdb value=0 1449084040004757028
> disk_used,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084040004774223
> cpu_usage_guest_nice,cpu=cpu3,host=influxdb value=0 1449084040004782668
> disk_inodes_total,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084040004802890
> cpu_usage_user,cpu=cpu-total,host=influxdb value=0.4763098520918364 1449084040006684775
> cpu_usage_system,cpu=cpu-total,host=influxdb value=0.5765856104268399 1449084040006750591
> cpu_usage_idle,cpu=cpu-total,host=influxdb value=97.44296816240839 1449084040006793294
> cpu_usage_nice,cpu=cpu-total,host=influxdb value=0 1449084040006845177
> cpu_usage_iowait,cpu=cpu-total,host=influxdb value=1.5041363750273318 1449084040006875775
> cpu_usage_irq,cpu=cpu-total,host=influxdb value=0 1449084040006902740
> cpu_usage_softirq,cpu=cpu-total,host=influxdb value=0 1449084040006943672
> cpu_usage_steal,cpu=cpu-total,host=influxdb value=0 1449084040006970276
> cpu_usage_guest,cpu=cpu-total,host=influxdb value=0 1449084040006996441
> cpu_usage_guest_nice,cpu=cpu-total,host=influxdb value=0 1449084040007022653
> disk_inodes_free,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084040007292540
> disk_inodes_used,fstype=securityfs,host=influxdb,path=/sys/kernel/security value=0i 1449084040007337722
> disk_total,fstype=tmpfs,host=influxdb,path=/dev/shm value=1987796992i 1449084040007373157
> disk_free,fstype=tmpfs,host=influxdb,path=/dev/shm value=1987796992i 1449084040007404982
> disk_used,fstype=tmpfs,host=influxdb,path=/dev/shm value=0i 1449084040007451009
> disk_inodes_total,fstype=tmpfs,host=influxdb,path=/dev/shm value=485302i 1449084040007481483
> disk_inodes_free,fstype=tmpfs,host=influxdb,path=/dev/shm value=485301i 1449084040007512386
> disk_inodes_used,fstype=tmpfs,host=influxdb,path=/dev/shm value=1i 1449084040007542860
> disk_total,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084040007575441
> disk_free,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084040007605308
> disk_used,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084040007635032
> disk_inodes_total,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084040007666039
> disk_inodes_free,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084040007701987
> disk_inodes_used,fstype=devpts,host=influxdb,path=/dev/pts value=0i 1449084040007753992
> disk_total,fstype=tmpfs,host=influxdb,path=/run value=1987796992i 1449084040007790480
> disk_free,fstype=tmpfs,host=influxdb,path=/run value=1970630656i 1449084040007822700
> procstat_num_fds,host=influxdb,name=influxd,pid=10341 value=33i 1449084040009332626
> procstat_voluntary_context_switches,host=influxdb,name=influxd,pid=10341 value=1659450i 1449084040011058703
> procstat_involuntary_context_switches,host=influxdb,name=influxd,pid=10341 value=5362i 1449084040011151176
> procstat_read_count,host=influxdb,name=influxd,pid=10341 value=4806820i 1449084040011248737
> procstat_write_count,host=influxdb,name=influxd,pid=10341 value=15023190i 1449084040011280945
> procstat_read_bytes,host=influxdb,name=influxd,pid=10341 value=4096i 1449084040011298258
> procstat_write_bytes,host=influxdb,name=influxd,pid=10341 value=15023190i 1449084040011323768
> procstat_cpu_user,host=influxdb,name=influxd,pid=10341 value=857.04 1449084040012128751
> procstat_cpu_system,host=influxdb,name=influxd,pid=10341 value=425.14 1449084040012184948
> procstat_cpu_idle,host=influxdb,name=influxd,pid=10341 value=0 1449084040012239309
> procstat_cpu_nice,host=influxdb,name=influxd,pid=10341 value=0 1449084040012271574
> procstat_cpu_iowait,host=influxdb,name=influxd,pid=10341 value=0 1449084040012305410
> procstat_cpu_irq,host=influxdb,name=influxd,pid=10341 value=0 1449084040012337835
> procstat_cpu_soft_irq,host=influxdb,name=influxd,pid=10341 value=0 1449084040012378538
> procstat_cpu_soft_steal,host=influxdb,name=influxd,pid=10341 value=0 1449084040012411100
> procstat_cpu_soft_stolen,host=influxdb,name=influxd,pid=10341 value=0 1449084040012442290
> procstat_cpu_soft_guest,host=influxdb,name=influxd,pid=10341 value=0 1449084040012472305
> procstat_cpu_soft_guest_nice,host=influxdb,name=influxd,pid=10341 value=0 1449084040012503203
> procstat_memory_rss,host=influxdb,name=influxd,pid=10341 value=620400640i 1449084040012577235
> procstat_memory_vms,host=influxdb,name=influxd,pid=10341 value=1653866496i 1449084040012609492
> procstat_memory_swap,host=influxdb,name=influxd,pid=10341 value=0i 1449084040012636798
> disk_used,fstype=tmpfs,host=influxdb,path=/run value=17166336i 1449084040007853385
> disk_inodes_total,fstype=tmpfs,host=influxdb,path=/run value=485302i 1449084040012700424
> disk_inodes_free,fstype=tmpfs,host=influxdb,path=/run value=484904i 1449084040012760439
> disk_inodes_used,fstype=tmpfs,host=influxdb,path=/run value=398i 1449084040012794350
> disk_total,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=1987796992i 1449084040012822942
> disk_free,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=1987796992i 1449084040012852323
> disk_used,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=0i 1449084040012887310
> disk_inodes_total,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=485302i 1449084040012926138
> disk_inodes_free,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=485289i 1449084040012959219
> disk_inodes_used,fstype=tmpfs,host=influxdb,path=/sys/fs/cgroup value=13i 1449084040012984938
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084040013020012
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084040013047981
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084040013074846
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084040013099054
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084040013135997
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/systemd value=0i 1449084040013161041
> disk_total,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084040013187431
> disk_free,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084040013220378
> disk_used,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084040013250385
> disk_inodes_total,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084040013279788
> disk_inodes_free,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084040013306802
> disk_inodes_used,fstype=pstore,host=influxdb,path=/sys/fs/pstore value=0i 1449084040013335647
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084040013362982
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084040013390632
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084040013423747
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084040013465140
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084040013492260
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpuset value=0i 1449084040013518346
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084040013544301
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084040013571338
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084040013605028
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084040013647350
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084040013675190
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/cpu\,cpuacct value=0i 1449084040013702613
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084040013757931
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084040013785749
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084040013806314
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084040013834646
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084040013858685
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/memory value=0i 1449084040013887248
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084040014332200
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084040014364011
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084040014390087
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084040014427892
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084040014456079
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/devices value=0i 1449084040014493715
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084040014525739
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084040014562256
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084040014590727
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084040014619199
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084040014647299
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/freezer value=0i 1449084040014677921
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084040014707954
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084040014784444
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084040014826905
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084040014861275
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084040014890280
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/net_cls value=0i 1449084040014955289
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084040014990266
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084040015022646
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084040015053827
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084040015086570
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084040015116058
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/blkio value=0i 1449084040015143907
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084040015171566
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084040015198155
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084040015223067
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084040015248112
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084040015275427
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/perf_event value=0i 1449084040015304461
> disk_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084040015334653
> disk_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084040015377447
> disk_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084040015408906
> disk_inodes_total,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084040015437152
> disk_inodes_free,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084040015465063
> disk_inodes_used,fstype=cgroup,host=influxdb,path=/sys/fs/cgroup/hugetlb value=0i 1449084040015491261
> disk_total,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084040015518216
> disk_free,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084040015548020
> disk_used,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084040015573665
> disk_inodes_total,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084040015606192
> disk_inodes_free,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084040015637765
> disk_inodes_used,fstype=configfs,host=influxdb,path=/sys/kernel/config value=0i 1449084040015674229
> disk_total,fstype=ext4,host=influxdb,path=/ value=100905791488i 1449084040015703021
> disk_free,fstype=ext4,host=influxdb,path=/ value=97624113152i 1449084040015762622
> disk_used,fstype=ext4,host=influxdb,path=/ value=3281678336i 1449084040015793372
> disk_inodes_total,fstype=ext4,host=influxdb,path=/ value=6266880i 1449084040015819396
> disk_inodes_free,fstype=ext4,host=influxdb,path=/ value=6186358i 1449084040015849180
> disk_inodes_used,fstype=ext4,host=influxdb,path=/ value=80522i 1449084040015877343
> disk_total,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040015904623
> disk_free,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040015958134
> disk_used,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040015987231
> disk_inodes_total,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040016016862
> disk_inodes_free,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040016048749
> disk_inodes_used,fstype=autofs,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040016076886
> disk_total,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084040016105786
> disk_free,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084040016147871
> disk_used,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084040016177240
> disk_inodes_total,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084040016204651
> disk_inodes_free,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084040016232754
> disk_inodes_used,fstype=debugfs,host=influxdb,path=/sys/kernel/debug value=0i 1449084040016260387
> disk_total,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084040016286743
> disk_free,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084040016325825
> disk_used,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084040016355348
> disk_inodes_total,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084040016383579
> disk_inodes_free,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084040016403608
> disk_inodes_used,fstype=mqueue,host=influxdb,path=/dev/mqueue value=0i 1449084040016424651
> io_reads,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=18435i 1449084040016420876
> disk_total,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084040016440396
> io_writes,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=10657358i 1449084040016466012
> disk_free,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084040016472077
> io_read_bytes,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=427617792i 1449084040016487234
> disk_used,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084040016493531
> io_write_bytes,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=82786745856i 1449084040016507209
> disk_inodes_total,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084040016509216
> io_read_time,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=32942i 1449084040016524434
> io_write_time,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=311182947i 1449084040016544483
> disk_inodes_free,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084040016543617
> io_io_time,host=influxdb,name=sda,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=6038397i 1449084040016560928
> disk_inodes_used,fstype=hugetlbfs,host=influxdb,path=/dev/hugepages value=0i 1449084040016562868
> disk_total,fstype=xfs,host=influxdb,path=/boot value=520794112i 1449084040016580373
> io_reads,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=1274i 1449084040016578913
> disk_free,fstype=xfs,host=influxdb,path=/boot value=367091712i 1449084040016595387
> io_writes,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=1094i 1449084040016598935
> disk_used,fstype=xfs,host=influxdb,path=/boot value=153702400i 1449084040016611684
> io_read_bytes,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=10086912i 1449084040016621599
> disk_inodes_total,fstype=xfs,host=influxdb,path=/boot value=512000i 1449084040016626904
> io_write_bytes,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=20942336i 1449084040016637581
> disk_inodes_free,fstype=xfs,host=influxdb,path=/boot value=511663i 1449084040016641855
> io_read_time,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=922i 1449084040016653355
> disk_inodes_used,fstype=xfs,host=influxdb,path=/boot value=337i 1449084040016656396
> io_write_time,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=5333i 1449084040016671183
> disk_total,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040016673513
> io_io_time,host=influxdb,name=sda1,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=3006i 1449084040016686260
> disk_free,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040016690315
> io_reads,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=258i 1449084040016702890
> disk_used,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040016705307
> io_writes,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=0i 1449084040017652726
> disk_inodes_total,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040017673266
> io_read_bytes,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=1183744i 1449084040017689119
> disk_inodes_free,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040017697723
> io_write_bytes,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=0i 1449084040017737477
> disk_inodes_used,fstype=binfmt_misc,host=influxdb,path=/proc/sys/fs/binfmt_misc value=0i 1449084040017742933
> io_read_time,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=267i 1449084040017762809
> io_write_time,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=0i 1449084040017791408
> io_io_time,host=influxdb,name=sda2,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=245i 1449084040017809577
> io_reads,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=16749i 1449084040017825834
> io_writes,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=10270965i 1449084040017841716
> io_read_bytes,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=415716352i 1449084040017857844
> io_write_bytes,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=82765803520i 1449084040017885491
> io_read_time,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=31664i 1449084040017931303
> io_write_time,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=311045614i 1449084040017961063
> io_io_time,host=influxdb,name=sda3,serial=1NUTANIX_NFS_91295_82d751d0_60de_4aeb_8d23_5c72ee019cc1 value=5919387i 1449084040018006913
> io_reads,host=influxdb,name=dm-0 value=16876i 1449084040018030053
> io_writes,host=influxdb,name=dm-0 value=11862932i 1449084040018045260
> io_read_bytes,host=influxdb,name=dm-0 value=415331328i 1449084040018059889
> io_write_bytes,host=influxdb,name=dm-0 value=82765803520i 1449084040018079355
> io_read_time,host=influxdb,name=dm-0 value=33415i 1449084040018100867
> io_write_time,host=influxdb,name=dm-0 value=318566017i 1449084040018114467
> io_io_time,host=influxdb,name=dm-0 value=6039551i 1449084040018128764
2015/12/02 22:20:40 Gathered metrics, (10s interval), from 7 plugins in 17.070481ms
2015/12/02 22:20:42 Prometheus output, unsupported type. key: system_uptime_format, type: string
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_reads, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_writes, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_read_bytes, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_write_bytes, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_read_time, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_write_time, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_io_time, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 22:20:42 Prometheus output, unsupported type. key: system_uptime_format, type: string
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_reads, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_writes, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_read_bytes, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_write_bytes, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_read_time, labels: map[name:dm-0 host:influxdb],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_write_time, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 ERROR Getting metric in Prometheus output, key: io_io_time, labels: map[host:influxdb name:dm-0],
err: inconsistent label cardinality
2015/12/02 22:20:42 Flushed 536 metrics to output prometheus_client in 14.657539ms
2015/12/02 22:20:42 Flushed 536 metrics to output influxdb in 21.166341ms
^C2015/12/02 22:20:44 Hang on, flushing any cached points before shutdown

@sparrc
Copy link
Contributor

sparrc commented Dec 2, 2015

thank you @logicall! I believe you can workaround this temporarily by setting SkipSerialNumber = true in the io plugin (if you don't care about the serial number):

[io]
  SkipSerialNumber = true

I'll have a fix up for it soon

@logicall
Copy link
Author

logicall commented Dec 2, 2015

@sparrc
Thank you!
Now everything works fine!

@sparrc
Copy link
Contributor

sparrc commented Dec 2, 2015

No problem, thank you for following up and providing debug output, it helps a lot! 👍

@oldmantaiter
Copy link
Contributor

@sparrc My apologies for not checking all possibilities from plugins when adding prometheus_client. I should have done some more in depth testing to prevent extra work. Thanks for fixing it up!

@sparrc
Copy link
Contributor

sparrc commented Dec 2, 2015

@oldmantaiter no problem 😄, it's actually a bit of a corner case where there is some sort of "disk" showing up in /proc/diskstats that doesn't have a readable serial number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants