This repository contains a Docker Compose setup for deploying Zabbix, an open-source monitoring solution for network monitoring and application monitoring.
Please note that the username and password should be altered before running this compose file. Probably would be good practice to use a .env file.
Before you begin, ensure you have the following installed on your system:
- Docker
- Docker Compose version 3 or later
-
Clone the repository:
git clone https://github.com/yourusername/zabbix-docker-compose.git cd zabbix-docker-compose
-
Build and start the containers:
docker-compose up -d
-
Access the Zabbix web interface:
Open your web browser and navigate to
http://localhost:8080
. You should see the Zabbix login page.
The Zabbix agent configuration is managed using Ansible. The playbook push_zabbix_agent.yaml
installs and configures the Zabbix agent on target hosts.
To run the Ansible playbook:
ansible-playbook [push_zabbix_agent.yaml](http://_vscodecontentref_/1) -i inventory
The repository includes a custom script doNotRun.sh
for appending text to a file and displaying file size and free space information. This script is for demonstration purposes and should not be used in production.
.
├── docker-compose.yml
├── push_zabbix_agent.yaml
├── doNotRun.sh
└── README.md
docker-compose.yml
: Docker Compose file for setting up Zabbix.push_zabbix_agent.yaml
: Ansible playbook for configuring Zabbix agent.doNotRun.sh
: Custom script for appending text to a file.README.md
: This file.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
- Zabbix - Open-source monitoring solution.
- Docker - Containerization platform.
- Ansible - Automation tool.
Feel free to customize this README.md file according to your specific requirements and repository details.