[ZBX-18648] item key docker.containers says Cannot fetch data Created: 2020 Nov 13 Updated: 2024 Apr 10 Resolved: 2021 Jan 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent2 plugin (G) |
Affects Version/s: | 5.2.1 |
Fix Version/s: | 5.4 (plan) |
Type: | Problem report | Priority: | Major |
Reporter: | Aigars Kadikis | Assignee: | Andrejs Kozlovs |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() |
Team: | |
Sprint: | Sprint 72 (Jan 2021) |
Story Points: | 1 |
Description |
OS: # cat /etc/*release CentOS Linux release 8.2.2004 (Core) NAME="CentOS Linux" VERSION="8 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="8" CentOS Linux release 8.2.2004 (Core) CentOS Linux release 8.2.2004 (Core) Running containers: # docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 50ac561e1ae2 tomcat9 0.11% 75MiB / 3.689GiB 1.99% 2.3kB / 0B 1.94MB / 0B 36 # zabbix_get -s 127.0.0.1 -p 10050 -k docker.containers ZBX_NOTSUPPORTED: Cannot fetch data. |
Comments |
Comment by Aigars Kadikis [ 2021 Jan 18 ] |
Adding user 'zabbix' to group 'docker' did help: sudo usermod -aG docker zabbix |
Comment by Alexander Vladishev [ 2021 Jan 19 ] |