An open API service indexing awesome lists of open source software.

https://github.com/guessi/docker-nagios4

Dockerized Nagios Service
https://github.com/guessi/docker-nagios4

docker github-actions monitoring nagios

Last synced: 5 months ago
JSON representation

Dockerized Nagios Service

Awesome Lists containing this project

README

          

# Dockerized Nagios Service

[![Docker Stars](https://img.shields.io/docker/stars/guessi/docker-nagios4.svg)](https://hub.docker.com/r/guessi/docker-nagios4/)
[![Docker Pulls](https://img.shields.io/docker/pulls/guessi/docker-nagios4.svg)](https://hub.docker.com/r/guessi/docker-nagios4/)
[![Docker Automated](https://img.shields.io/docker/automated/guessi/docker-nagios4.svg)](https://hub.docker.com/r/guessi/docker-nagios4/)

## Integrated Items

* Nagios Core 4.5.11
* Nagios Plugins 2.4.12
* NRPE 4.1.3

## Usage

To run a nagios service with default config, use the command below:

```
docker run -d \
-p 80:80 \
-p 443:443 \
-p 5666:5666 \
guessi/docker-nagios4
```

To run with persistent data, use the command below:

```
docker run -d \
-p 80:80 \
-p 443:443 \
-p 5666:5666 \
-v $(pwd)/path/to/config:/opt/nagios/etc:ro \
guessi/docker-nagios4
```

To run with customized login username/password, use the command below:

```
docker run -d \
-p 80:80 \
-p 443:443 \
-p 5666:5666 \
-v $(pwd)/path/to/passwd:/opt/nagios/htpasswd.users:ro \
-v $(pwd)/path/to/config:/opt/nagios/etc:ro \
guessi/docker-nagios4
```

## Dashboard

* Login: http://127.0.0.1/nagios
* Username: nagiosadmin
* Password: adminpass