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
- Host: GitHub
- URL: https://github.com/guessi/docker-nagios4
- Owner: guessi
- Created: 2016-10-07T10:45:26.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2025-01-05T16:45:47.000Z (over 1 year ago)
- Last Synced: 2025-03-25T06:51:15.482Z (over 1 year ago)
- Topics: docker, github-actions, monitoring, nagios
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/guessi/docker-nagios4/
- Size: 39.1 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerized Nagios Service
[](https://hub.docker.com/r/guessi/docker-nagios4/)
[](https://hub.docker.com/r/guessi/docker-nagios4/)
[](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