Ad Widget

Collapse

Docker Monitoring Cannot Fetch Data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Korshakov
    Junior Member
    • Apr 2020
    • 4

    #1

    Docker Monitoring Cannot Fetch Data

    Hi Guys,

    i've tried to install beta version of zabbix and everything runs smoothly as it should apart of docker monitoring. After a while i just get trigger for docker not available.

    Server log:
    154:20200502:214742.109 item "LS server:docker.containers" became not supported: Cannot fetch data.
    153:20200502:214743.110 item "LS server:docker.data_usage" became not supported: Cannot fetch data.
    155:20200502:214744.111 item "LS server:docker.images" became not supported: Cannot fetch data.
    154:20200502:214745.111 item "LS server:docker.info" became not supported: Cannot fetch data.

    Setup:
    Centos 8 Server (bare metal - minimal install) with installed samba server and docker, nothing else.
    Selinux disabled for testing purposes
    Firewall ports open are 10050 tcp
    Zabbix server is in docker container
    Zabbix agent2 is running directly in centos

    Whats known:
    Zabbix server communicates without any issues with agent as I am getting all other info without problem.
    I've tried to un-hashtag this line to see if it makes diffrence:
    Plugins.Docker.Endpoint=unix:///var/run/docker.sock - no diffrence
    I have portainer docker targeting same docker.sock path and it works just fine.
    I have selected default docker template in docker host setup in web interface.
    I have tried to run zabbix agent2 in docker as well to see if it would make a diffrence but no joy.

    Am I missing out something?

    Thank you

    Last edited by Korshakov; 02-05-2020, 23:14.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Does user zabbix on OS have permission to access /var/run/docker.sock?

    see.

    Comment

    • Korshakov
      Junior Member
      • Apr 2020
      • 4

      #3
      Hi Atsushi,
      that worked thank you very much!

      Comment

      Working...