-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Disk plugin does not show all mount points #2009
Comments
does the diskio plugin report stats for it? might be the same issue as #1544 |
@sparrc I think no. diskio plugin report disk ops read/write, throughput, time read/write but not disk usage as disk plugin. |
I meant, does the diskio plugin detect the mount points properly and collect stats for them? |
Yes, with diskio plugin, vda, vdb, and vdc stats are collected but not with disk plugin.
|
OK, thank you for the additional info, in that case I'll close the issue as it's a dupe of #1544 |
Bug report
I use telegraf inside docker container to monitor disk usage of host. However, I cannot get disk usage for some mount points.
Relevant telegraf.conf:
System info:
[Include Telegraf version, operating system name, and other relevant details]
Telegraf image version:
OS
Docker version
Docker run command
docker run -d -v $(pwd)/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro -v /:/rootfs:ro -e HOST_MOUNT_PREFIX=/rootfs -e HOST_ETC=/rootfs/etc -e HOST_PROC=/rootfs/proc -e HOST_SYS=/rootfs/sys --name=infra-telegraf --hostname=infra-telegraf telegraf:1.0.0-alpine
Result from telegraf command inside the container
Result from df command inside container
Result from env command inside container
Steps to reproduce:
Expected behavior:
At least, there should be result for mount points:
Actual behavior:
There is no result for mount points:
The text was updated successfully, but these errors were encountered: