Ad Widget

Collapse

Monitor Docker host and other container by Zabbix Agent container?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • darklord20k
    Member
    • Dec 2017
    • 32

    #1

    Monitor Docker host and other container by Zabbix Agent container?

    Hi everyone,

    I have a Docker host and some container projects on it (Nginx, MySQL...), so how can I monitor them by using zabbix-agent container? or I have to install agent on host and every containter?
  • darklord20k
    Member
    • Dec 2017
    • 32

    #2
    Hello, anyone there?

    Comment

    • MatteoM
      Junior Member
      • Dec 2020
      • 8

      #3
      Hi,
      To monitor docker container you just use the template app docker with the zabbix Agent and you don't need to install an agent for each container.

      Comment

      • darklord20k
        Member
        • Dec 2017
        • 32

        #4
        Originally posted by MatteoM
        Hi,
        To monitor docker container you just use the template app docker with the zabbix Agent and you don't need to install an agent for each container.
        I already using template, and add volumes as this but I't still show docker service down, no data from MySQL container...:

        - /etc/zabbix/zabbix_agentd.d:/etc/zabbix/zabbix_agentd.d
        - /:/hostfs:ro
        - /etc:/hostfs/etc:ro
        - /proc:/hostfs/proc:ro
        - /sys:/hostfs/sys:ro
        - /var/run:/var/run

        Comment

        Working...