Ad Widget

Collapse

Docker by Zabbix agent 2 - Get data_usage problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • element
    Junior Member
    • Sep 2022
    • 3

    #1

    Docker by Zabbix agent 2 - Get data_usage problem

    Hi,

    I am monitoring few servers with docker agen2 template and Pi servers I monitor gives me this error. Cannot fetch data: Get "http://1.28/system/df": context deadline exceeded (Client.Timeout exceeded while awaiting headers).

    This only happens on Get data_usage other components are working and monitoring... I really struggle with this for a few days, I have set up all permission as documented, added zabbix to docker group, changed permission to /var/run/docker.sock ...

    I also have one VPS and Get data_usage and other components works fine with same configuration...

    Any ideas?
    Click image for larger version

Name:	emsoo6zmi4l91.png
Views:	1603
Size:	30.3 KB
ID:	450743
  • element
    Junior Member
    • Sep 2022
    • 3

    #2
    I would really appreciate the help, because I struggle with this for a few days now :/

    Comment

    • bfsaikali
      Junior Member
      • Sep 2022
      • 1

      #3
      Exactly the same error here. Just Get data_usage with this message.

      Comment

      • gugreeman
        Junior Member
        • Nov 2022
        • 1

        #4
        As the error indicates there is a timeout. The default timeout is 3 seconds so you may need to extend that in zabbix-agent2.conf. You can run 'time docker system df' to get an idea how long the timeout should be. It can also help to reduce docker's disk usage with 'docker system prune' so the 'df' can complete faster.

        Comment

        Working...