📜  nagiosPi docker-compose - Shell-Bash (1)

📅  最后修改于: 2023-12-03 15:03:08.655000             🧑  作者: Mango

NagiosPi Docker-Compose

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.

Features
  • Nagios core installation
  • Nagios plugins installation
  • NRPE (Nagios Remote Plugin Executor) installation
  • Configuration files for hosts and services monitoring
  • Configurable Web Interface with authentication
  • Ability to add custom plugins and configs
Getting Started

To start using NagiosPi Docker-Compose, you need to have Docker and Docker-Compose installed on your machine.

  1. Clone this repository to your machine:
git clone https://github.com/nagiospi/docker-compose.git
cd docker-compose
  1. 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.

  2. (Optional) Add custom plugins and configs by placing them in the nagios/plugins and nagios/etc/conf.d directories respectively.

  3. Start the NagiosPi Docker-Compose stack:

docker-compose up -d
  1. Access the Nagios web interface by navigating to http://localhost:8080/nagios/. Log in with the credentials you set in the nagios/htpasswd.users file.
Conclusion

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.