{"id":20581215,"url":"https://github.com/jonathas/zabbix-docker","last_synced_at":"2025-04-14T19:51:30.697Z","repository":{"id":141969099,"uuid":"108400400","full_name":"jonathas/zabbix-docker","owner":"jonathas","description":"Zabbix Monitoring on Docker. Server and Agent.","archived":false,"fork":false,"pushed_at":"2017-10-26T11:34:03.000Z","size":54,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T08:11:33.939Z","etag":null,"topics":["docker","docker-compose","monitoring","monitoring-server","zabbix","zabbix-agent","zabbix-docker","zabbix-frontend"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-26T11:06:25.000Z","updated_at":"2021-02-06T14:16:36.000Z","dependencies_parsed_at":"2023-03-13T10:23:33.979Z","dependency_job_id":null,"html_url":"https://github.com/jonathas/zabbix-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fzabbix-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fzabbix-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fzabbix-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fzabbix-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathas","download_url":"https://codeload.github.com/jonathas/zabbix-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248951687,"owners_count":21188416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","monitoring","monitoring-server","zabbix","zabbix-agent","zabbix-docker","zabbix-frontend"],"created_at":"2024-11-16T06:27:30.768Z","updated_at":"2025-04-14T19:51:30.690Z","avatar_url":"https://github.com/jonathas.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zabbix Monitoring Server\n\nThese files are for running the Zabbix server and the Zabbix agent on Docker.\n\n## Zabbix Server\n\n1 - Change the password inside the docker-compose.yml file, as the one that is there is a random one.\n\n2 - Start the server as root or with sudo, as the agent needs to be privileged:\n\n```bash\n$ sudo docker-compose up -d\n```\n\nFor the first time you login, the credentials are:\n\nUsername: Admin\n\nPassword: zabbix\n\n## Zabbix Agent\n\nIn the servers you want to monitor, you need to install a Zabbix agent which communicates with the Zabbix server. This agent needs to run in privileged mode, so it is able to get deeper system statistics.\n\n1 - Send the content inside the zabbix-agent directory to the server you want to monitor\n\n2 - Change ZBX_SERVER_HOST inside the docker-compose.yml file so it points to your Zabbix server.\n\n3 - Start the agent:\n\n```bash\n$ sudo docker-compose up -d\n```\n\n4 - Change the path inside the zabbix-agent/host/etc/systemd/system/docker-zabbix-agent.service to the one where your docker-compose.yml file is in the server.\n\n5 - Copy this docker-zabbix-agent.service you just changed to the directory /etc/systemd/system\n\n6 - Reload the daemons and enable the one you just created, so it runs automatically in case the system is rebooted:\n\n```bash\n$ sudo systemctl daemon-reload\n$ sudo systemctl enable docker-zabbix-agent\n```\n\nIn the Zabbix web interface, go to Configuration =\u003e Hosts, then fill the name of your host in \"Host name\" field, add it to the \"Linux servers\" group, put your server's IP address in the \"Agent interfaces\" section and be sure to have the \"Enabled\" checkbox checked.\n\n![Zabbix add host](/zabbix_add_host.png \"Zabbix add host\")\n\nAfter this you can go to Monitoring =\u003e Screens and configure your server monitoring dashboard there.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Fzabbix-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathas%2Fzabbix-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Fzabbix-docker/lists"}