📅  最后修改于: 2023-12-03 15:03:08.655000             🧑  作者: Mango
Nagios is a popular monitoring tool used to monitor network devices, servers, and applications. This project aims to provide a simple way to set up a Nagios server using Docker and Docker-Compose.
To start using NagiosPi Docker-Compose, you need to have Docker and Docker-Compose installed on your machine.
git clone https://github.com/nagiospi/docker-compose.git
cd docker-compose
Configure the Nagios server by editing the nagios/etc/nagios.cfg
file. You can add hosts and services to monitor as well as customize the web interface.
(Optional) Add custom plugins and configs by placing them in the nagios/plugins
and nagios/etc/conf.d
directories respectively.
Start the NagiosPi Docker-Compose stack:
docker-compose up -d
http://localhost:8080/nagios/
. Log in with the credentials you set in the nagios/htpasswd.users
file.NagiosPi Docker-Compose provides a simple and configurable way to set up a Nagios monitoring server using Docker and Docker-Compose. With this project, you can easily monitor your network devices, servers, and applications without the need for complex configurations.