{"id":26057945,"url":"https://github.com/onix-systems/zabbix-deployment","last_synced_at":"2025-08-19T01:08:50.266Z","repository":{"id":55350659,"uuid":"107718252","full_name":"Onix-Systems/zabbix-deployment","owner":"Onix-Systems","description":"Deployment of zabbix server by using one config","archived":false,"fork":false,"pushed_at":"2021-09-08T07:13:50.000Z","size":172,"stargazers_count":2,"open_issues_count":5,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-21T03:39:44.025Z","etag":null,"topics":["docker","docker-compose","installer","zabbix","zabbix-agent","zabbix-deployment","zabbix-server"],"latest_commit_sha":null,"homepage":"https://onix-systems.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Onix-Systems.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}},"created_at":"2017-10-20T19:28:58.000Z","updated_at":"2021-09-08T07:13:53.000Z","dependencies_parsed_at":"2022-08-14T22:00:56.766Z","dependency_job_id":null,"html_url":"https://github.com/Onix-Systems/zabbix-deployment","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Onix-Systems/zabbix-deployment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Onix-Systems%2Fzabbix-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Onix-Systems%2Fzabbix-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Onix-Systems%2Fzabbix-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Onix-Systems%2Fzabbix-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Onix-Systems","download_url":"https://codeload.github.com/Onix-Systems/zabbix-deployment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Onix-Systems%2Fzabbix-deployment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271083807,"owners_count":24696373,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","installer","zabbix","zabbix-agent","zabbix-deployment","zabbix-server"],"created_at":"2025-03-08T11:59:46.207Z","updated_at":"2025-08-19T01:08:50.247Z","avatar_url":"https://github.com/Onix-Systems.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Be aware of environment's state by using Zabbix solution \n[![Build Status](https://travis-ci.org/Onix-Systems/zabbix-deployment.svg?branch=master)](https://travis-ci.org/Onix-Systems/zabbix-deployment)\n\n### About\nRepository contain docker-compose project for running zabbix server on your own server.\n\n1. Zabbix server 3.4\n1. Zabbix frontend\n1. Zabbix agent (will be installed on host, not run inside the docker container)\n1. MariaDB 10.3\n1. Exim4 SMTP service\n\nPS: It is used the official docker image: https://hub.docker.com/u/zabbix/\n\n###\nRequirements\n\n1. Debian family OS (scripts limits)\n1. docker-ce (1.13.0+)\n1. docker-compose\n\n### Preparing configuration file for server\n\nIf default options are not enough, then please use `.env.example` to create own environment configuration file.\n\n### Run Zabbix server\n\n```shell\n$ ./x-setup-server.sh\n```\nAfter server will be launched, this script will call `./x-setup-agent.sh` to install\nZabbix agent on host machine, where Zabbix server works inside the docker environment.\n\n#### Run and configured only server components\n```shell\n$ docker-compose up -d\n```\nZabbix provisioned service is **configurator**, after succesfully configuring the server, configurator has to return exit code 0.\nTo be sure that it is precisely so, execute such command and look at state column:\n```shell\n$ docker-compose ps configurator\n        Name                    Command            State    Ports\n-----------------------------------------------------------------\ndefault_configurator_1   /configurator.py --debug   Exit 0\n```\n\nIf something wrong, it is possible to debug provision by attaching to configurator service while it is running or look at its logs.\n```shell\n$ docker-compose logs configurator\n...\n$ docker-compose up configurator\ndefault_db_1 is up-to-date\ndefault_smtp_1 is up-to-date\ndefault_server_1 is up-to-date\ndefault_frontend_1 is up-to-date\nStarting default_configurator_1 ...\nStarting default_configurator_1 ... done\nAttaching to default_configurator_1\nconfigurator_1  | DEBUG:Configurator:SMTP_HELO value is: zabbix.\nconfigurator_1  | INFO:Configurator:Waiting while Zabbix server will be reachable.\nconfigurator_1  | DEBUG:Configurator:Server is reachable.\nconfigurator_1  | INFO:Configurator:Connecting to Zabbix database.\n...\nconfigurator_1  | DEBUG:Configurator:Comparasing desired config with current.\nconfigurator_1  | DEBUG:Configurator:Logout from Zabbix server.\ndefault_configurator_1 exited with code 0\n```\n\nFor enable debug mode, use configurator option `--debug`. It is possible to set this option by using configurator variable `CONFIGURATOR_OPTIONS=--debug` in `.env` environment config file.\n\n### Install and configured external agent\n\nFor server it is not necessary to run below described command, `./setup-server.sh` will launch it by self.\n\n```shell\n$ ./x-setup-agent.sh --help\n...\n$ ./x-setup-agent.sh -m \"Linux ${DEFAULT_HOST_SECRET}\" -s zabbix.local --hostname $(hostname -f)\n```\n\nFrontend url is: http://localhost if you launch project on your local machine.\n\nDefault user for zabbix is: admin / zabbix\n\nTo run project with specific options, please see `.env.example` file.\nTo apply non default option, copy `.env.example` file to `.env` and\nedit necessary values there.\n\n#### Testing a deployment of environment\n\nProject contains Vagrantfile that can be used for testing running the project.\n\nIf VM does not exist yes, launch next command:\n```\n$ vagrant up\n```\n\nAfter succesfully completed provision scenario it is possible to get access to\nZabbix UI by url: http://localhost:8080.\n\nRepeat provision scenario\n```\n$ vagrant provision\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonix-systems%2Fzabbix-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonix-systems%2Fzabbix-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonix-systems%2Fzabbix-deployment/lists"}