Ad Widget

Collapse

Zabbix 5.0.2 - Docker Template only partially working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • superxor
    Junior Member
    • Sep 2020
    • 4

    #1

    Zabbix 5.0.2 - Docker Template only partially working

    Hi,
    I have Zabbix 5.0.2 running, on a host where I want to monitor the agent2(!) is running. The Zabbix user has been added to the docker group.
    Ubuntu 20.04 on both nodes and docker 19.03.12
    But only 2 things are working:
    a)
    Docker: Ping 2020-09-05 07:01:55 Up (1)
    b) the container discovery

    But nothing else:

    Click image for larger version

Name:	docker.png
Views:	736
Size:	97.2 KB
ID:	408527

    I need to mention that I switched every item and other thing to ACTIVE instead of passive template, but that shouldn't make a difference right?
    Any ideas? Those are 2 fresh VMs too, it's all default

    Thanks for any help
  • isaqueprofeta
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2020
    • 154

    #2
    Does zabbix agent user have access to docker sock file?

    Comment

    • superxor
      Junior Member
      • Sep 2020
      • 4

      #3
      Yes, I checked permissions and socket.
      I never got this working in active mode, the moment I reverted back to a passive template it worked at once.

      Comment

      • superxor
        Junior Member
        • Sep 2020
        • 4

        #4
        But I have to say that graphs dont work, cpu/memory for container graphs all have 'no data' despite data being there in latest data

        Comment

        • wti
          Junior Member
          • Dec 2018
          • 4

          #5
          For me what worked was to add the Zabbix user to the docker group. I had the same problem or very similar it looks like.
          Code:
          usermod -aG docker zabbix
          Last edited by wti; 07-09-2020, 08:05.

          Comment

          • bacteria666
            Junior Member
            • Oct 2019
            • 9

            #6
            Originally posted by wti
            For me what worked was to add the Zabbix user to the docker group. I had the same problem or very similar it looks like.
            Code:
            usermod -aG docker zabbix
            worked for me!

            Thanks for share you knowledge.

            Comment

            Working...