You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mackerel-plugin-linux dose not outputs about disk stats.
custom.linux.disk.elapsed.*
custom.linux.disk.rwtime.*
command output is here:
$ mackerel-plugin-linux [~]
2020/07/22 22:22:11 OutputValues: Too long duration
linux.users.users 2.000000 1595424131
2020/07/22 22:22:11 OutputValues: Too long duration
2020/07/22 22:22:11 OutputValues: Too long duration
linux.ss.ESTAB 135.000000 1595424131
linux.ss.TIME-WAIT 3.000000 1595424131
linux.ss.UNCONN 42.000000 1595424131
linux.ss.LISTEN 27.000000 1595424131
2020/07/22 22:22:11 OutputValues: Too long duration
2020/07/22 22:22:11 OutputValues: Too long duration
mackerel-plungin-linux expects /sys/block/*/stat has just 11 fields.1
Otherwise some OSs /sys/block/*/stat has more than 11 fields, then function in mackerel-plungin-linux returns err.
According to iostat documentation in Linux git repo, the format is changed at kernel 4.18.
So I suspect (but not yet confirmed) that mackerel-plugin-linux does not output disk-stat-related metrics with those newer kernels.
I'll prepare fix for this.
@azusa Hi. This problem should be fixed by #658 and released at 0.62.0 today.
So I'd like to close this issue now. (Feel free to reopen if the problem still exists)
mackerel-plugin-linux dose not outputs about disk stats.
command output is here:
mackerel-plungin-linux expects
/sys/block/*/stat
has just 11 fields.1Otherwise some OSs
/sys/block/*/stat
has more than 11 fields, then function in mackerel-plungin-linux returns err.Footnotes
https://github.com/mackerelio/mackerel-agent-plugins/blob/3bb5f6abae5b1acc776d8cc0690af457b14f7d3e/mackerel-plugin-linux/lib/linux.go#L334 ↩
The text was updated successfully, but these errors were encountered: