{"id":15150410,"url":"https://github.com/ansibleguy/sw_zabbix_server","last_synced_at":"2025-04-07T07:50:09.257Z","repository":{"id":253580627,"uuid":"843924656","full_name":"ansibleguy/sw_zabbix_server","owner":"ansibleguy","description":"Ansible Role to provision dockerized Zabbix-Server","archived":false,"fork":false,"pushed_at":"2025-02-15T14:01:36.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"latest","last_synced_at":"2025-04-05T14:07:18.375Z","etag":null,"topics":["ansible","ansible-role","automation","dockerized","iac","infrastructure-as-code","monitoring","zabbix","zabbix-server"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansibleguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"ko_fi":"ansible0guy","github":"ansibleguy"}},"created_at":"2024-08-17T20:42:30.000Z","updated_at":"2025-02-15T14:01:40.000Z","dependencies_parsed_at":"2024-08-17T21:45:23.738Z","dependency_job_id":"7802d7b6-0b22-4414-af3e-0c4ae931265f","html_url":"https://github.com/ansibleguy/sw_zabbix_server","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"5bdcdf2b31104b9b4fa7104bd444a81cc493546d"},"previous_names":["ansibleguy/sw_zabbix_server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansibleguy%2Fsw_zabbix_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansibleguy%2Fsw_zabbix_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansibleguy%2Fsw_zabbix_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansibleguy%2Fsw_zabbix_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansibleguy","download_url":"https://codeload.github.com/ansibleguy/sw_zabbix_server/tar.gz/refs/heads/latest","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247615481,"owners_count":20967182,"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":["ansible","ansible-role","automation","dockerized","iac","infrastructure-as-code","monitoring","zabbix","zabbix-server"],"created_at":"2024-09-26T14:03:50.350Z","updated_at":"2025-04-07T07:50:09.249Z","avatar_url":"https://github.com/ansibleguy.png","language":"Jinja","readme":"\u003ca href=\"https://www.zabbix.com\"\u003e\n\u003cimg src=\"https://assets.zabbix.com/img/logo/zabbix_logo_313x82.png\" alt=\"Zabbix Logo\" width=\"300\"/\u003e\n\u003c/a\u003e\n\n# Ansible Role - Zabbix Server Dockerized\n\nRole to deploy dockerized Zabbix Server on a Linux Server.\n\n[![Lint](https://github.com/ansibleguy/sw_zabbix_server/actions/workflows/lint.yml/badge.svg)](https://github.com/ansibleguy/sw_zabbix_server/actions/workflows/lint.yml)\n[![Ansible Galaxy](https://badges.ansibleguy.net/galaxy.badge.svg)](https://galaxy.ansible.com/ui/standalone/roles/ansibleguy/sw_zabbix_server)\n\n**Molecule Integration-Tests**:\n\n* Status: [![Molecule Test Status](https://badges.ansibleguy.net/sw_zabbix_server.molecule.svg)](https://github.com/ansibleguy/_meta_cicd/blob/latest/templates/usr/local/bin/cicd/molecule.sh.j2) |\n[![Functional-Tests](https://github.com/ansibleguy/sw_zabbix_server/actions/workflows/integration_test_result.yml/badge.svg)](https://github.com/ansibleguy/sw_zabbix_server/actions/workflows/integration_test_result.yml)\n* Logs: [API](https://ci.ansibleguy.net/api/job/ansible-test-molecule-sw_zabbix_server/logs?token=2b7bba30-9a37-4b57-be8a-99e23016ce70\u0026lines=1000) | [Short](https://badges.ansibleguy.net/log/molecule_sw_zabbix_server_test_short.log) | [Full](https://badges.ansibleguy.net/log/molecule_sw_zabbix_server_test.log)\n\nInternal CI: [Tester Role](https://github.com/ansibleguy/_meta_cicd) | [Jobs API](https://github.com/O-X-L/github-self-hosted-jobs-systemd)\n\n**Tested:**\n* Debian 12\n\n----\n\n## Install\n\n```bash\n# latest\nansible-galaxy role install git+https://github.com/ansibleguy/sw_zabbix_server\n\n# from galaxy\nansible-galaxy install ansibleguy.sw_zabbix_server\n\n# or to custom role-path\nansible-galaxy install ansibleguy.sw_zabbix_server --roles-path ./roles\n\n# install dependencies\nansible-galaxy install -r requirements.yml\n```\n\n----\n\n## Advertisement\n\n* Need **professional support** using Ansible or Zabbix? Contact us:\n\n  E-Mail: [contact@oxl.at](mailto:contact@oxl.at)\n\n  Tel: [+43 3115 40 900 0](tel:+433115409000)\n\n  Web: [EN](https://www.o-x-l.com) | [DE](https://www.oxl.at)\n\n  Language: German or English\n\n* You want a simple **Ansible GUI**?\n\n  Check-out this [Ansible WebUI](https://github.com/ansibleguy/webui)\n\n----\n\n## Usage\n\n### Config\n\nMinimal example:\n\n```yaml\nzabbix_server:\n  domain: 'mon.template.ansibleguy.net'\n\n  db:\n    root_pwd: !vault |\n      ...\n    app_pwd: !vault |\n      ...\n```\n\n\nDefine the config as needed:\n\n```yaml\nzabbix_server:\n  version: '7.0'  # see docker image tags\n  \n  domain: 'mon.template.ansibleguy.net'\n  aliases:\n    - 'monitoring.template.ansibleguy.net'\n\n  # provide settings as environmental variables\n  settings:\n    # see: https://hub.docker.com/r/zabbix/zabbix-web-nginx-mysql\n    frontend:\n      ZBX_SERVER_NAME: 'AnsibleGuy Monitoring'\n      ZBX_SERVER_PORT: 10151\n\n    # see: https://hub.docker.com/r/zabbix/zabbix-server-mysql\n    backend:\n      ZBX_LISTENPORT: 10151\n\n  db:\n    root_pwd: !vault |\n      ...\n    app_pwd: !vault |\n      ...\n```\n\nYou might want to use 'ansible-vault' to encrypt your passwords:\n```bash\nansible-vault encrypt_string\n```\n\n### Execution\n\nRun the playbook:\n```bash\nansible-playbook -K -D -i inventory/hosts.yml playbook.yml\n```\n\nThere are also some useful **tags** available:\n* docker\n* config\n* backup\n* update\n\nTo debug errors - you can set the 'debug' variable at runtime:\n```bash\nansible-playbook -K -D -i inventory/hosts.yml playbook.yml -e debug=yes\n```\n\n----\n\n## Functionality\n\n* **Package installation**\n  * Ansible dependencies (_minimal_)\n  * Docker server + client\n  * Nginx Webserver\n  * MariaDB client\n\n\n* **Configuration**\n  * MariaDB database container\n  * **Default opt-ins**:\n    * Auto-Update\n    * Installing and Configuring Nginx Webserver\n\n----\n\n## Info\n\n* **Note:** this role currently only supports debian-based systems\n\n\n* **Note:** Most of the role's functionality can be opted in or out.\n\n  For all available options - see the default-config located in [the main defaults-file](https://github.com/ansibleguy/sw_zabbix_server/blob/latest/defaults/main/1_main.yml)!\n\n\n* **Warning:** Not every setting/variable you provide will be checked for validity. Bad config might break the role!\n\n\n* **Info:** The default Zabbix Server Login is:\n\n  User: **Admin**\n  Password: **zabbix**\n","funding_links":["https://ko-fi.com/ansible0guy","https://github.com/sponsors/ansibleguy"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansibleguy%2Fsw_zabbix_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansibleguy%2Fsw_zabbix_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansibleguy%2Fsw_zabbix_server/lists"}