Skip to content

phranc88/Zabbix-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zabbix Docker Compose

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.

Prerequisites

Before you begin, ensure you have the following installed on your system:

  • Docker
  • Docker Compose version 3 or later

Getting Started

  1. Clone the repository:

    git clone https://github.com/yourusername/zabbix-docker-compose.git
    cd zabbix-docker-compose
  2. Build and start the containers:

    docker-compose up -d
  3. Access the Zabbix web interface:

    Open your web browser and navigate to http://localhost:8080. You should see the Zabbix login page.

Configuration

Zabbix Agent Configuration

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

Custom Scripts

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.

Directory Structure

.
├── 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.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

Acknowledgements

  • 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.

About

Simple docker compose file for bare minimum zabbix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages