Ad Widget

Collapse

Zabbix agent is not available

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IAmNik
    Junior Member
    • Oct 2019
    • 2

    #1

    Zabbix agent is not available

    Dear all

    I've installed Zabbix server with PostgreSQL database on docker & Zabbix with Nginx on docker

    but I get warning message "Zabbix agent is not available (for 3m)" and I still do not understand where to install Zabbix agent.

    Please give me advice.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    I don't know what kind of environment and where you are using which version of the container. If the Zabbix agent is not running in a container that is already running, you will need to start the Zabbix agent container separately.

    Comment

    • storyteller
      Junior Member
      • Oct 2019
      • 23

      #3
      On your zabbix server machine you have also a zabbix agent for self monitoring. Check if this agent is started. In Centos/Redhat 7 the command is: systemctl status zabbix-agent

      Comment

      • 1berto
        Senior Member
        • Sep 2018
        • 182

        #4
        The zabbix agent can be installed on hosts that you want to monitor, even if this host is the same where the zabbix server is installed.

        Comment


        • Grzegorz Wiktorowski
          Grzegorz Wiktorowski commented
          Editing a comment
          There is no need to install the agent on the server host to monitor Zabbix server per se.
      • Tchup
        Junior Member
        • Aug 2024
        • 2

        #5
        Hi !
        I am in the same case after installing the 4 Docker containers (postgresql + Zabbix snmptraps + Zabbix-server + Zabbix-web-nginx) as in example n°2: https://www.zabbix.com/documentation...iners#examples
        As indicated in the comments, I suppose that the Zabbix agent is integrated into the server to self-monitor. Does the error "Zabbix agent is not available" target this agent??? I don't understand...
        If it must be installed, in this case should it be installed on the Debian host, in the Zabbix server container or in another container?

        Thank you

        Comment

        • Tchup
          Junior Member
          • Aug 2024
          • 2

          #6
          Hello,
          I have the same problem with the command "docker compose -f ./docker-compose_v3_alpine_pgsql_latest.yaml up -d" provided on the official github
          root@debian:/home/zabbix# docker compose -f ./docker-compose_v3_alpine_pgsql_latest.yaml up -d
          [+] Running 4/4
          ✔ Container zabbix-postgres-server-1 Started0.6s
          ✔ Container zabbix-db-data-pgsql-1 Started0.6s
          ✔ Container zabbix-zabbix-server-1 Started1.8s
          ✔ Container zabbix-zabbix-web-nginx-pgsql-1 Started1.7s


          "systemctl status zabbix-agent" is not possible in docker, so how to check the agent status?
          Last edited by Tchup; 01-09-2024, 19:05.

          Comment

          • jhboricua
            Senior Member
            • Dec 2021
            • 113

            #7
            Add a zabbix agent container and link it to your zabbix server container: https://hub.docker.com/r/zabbix/zabbix-agent2

            Comment

            Working...