[ZBX-24012] Zabbix Agent2 missing Docker disk IO stats Created: 2024 Jan 29 Updated: 2025 Jul 03 |
|
Status: | Confirmed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent2 plugin (G) |
Affects Version/s: | 6.4.10, 7.0.15 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Minor |
Reporter: | Pavel | Assignee: | Zabbix Development Team |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
The Docker plugin for Zabbix Agent2 does not collect the I/O block, but even the docker stat command shows this important metric.{}
Steps to reproduce:
Result: Expected: Any type of IO metrics.
This has already been discussed on the forum : https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/457834-zabbix-agent2-docker-container-discovery-handles-cpu-mem-etc-but-not-block-io Some kind of raw disk IO information may be obtained by requesting docker socket: curl --silent --unix-socket /var/run/docker.sock http://v1.41/containers/zabbix-zabbix-server-1/stats?stream=false&one-shot=true |
Comments |
Comment by Aigars Kadikis [ 2025 Jul 03 ] |
I can confirm: # curl --silent --unix-socket /var/run/docker.sock "http://v1.40/containers/z70prx.riga/stats?stream=false&one-shot=true" | jq .blkio_stats.io_service_bytes_recursive [ { "major": 8, "minor": 0, "op": "read", "value": 0 }, { "major": 8, "minor": 0, "op": "write", "value": 21843968 } ] |