Public | Automated Build

Last pushed: 3 months ago
Short Description
Docker container for Nagios
Full Description


Docker container for Nagios 4.3.2

"Nagios Is The Industry Standard In IT Infrastructure Monitoring. Achieve instant awareness of IT infrastructure problems, so downtime doesn't adversely affect your business.Nagios offers complete monitoring and alerting for servers, switches, applications, and services."

Install dependencies

To install docker in Ubuntu 16.04 use the commands:

$ sudo apt-get update
$ wget -qO- | sh

To install docker in other operating systems check docker online documentation


To run container use the command below:

$ docker run -d -p 25 -p 80 quantumobject/docker-nagios

login : nagiosadmin password: admin please replace it after install.

to access the container please use :

$ docker exec -it container_id  /bin/bash

to replace password :

$ htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

note: to access site is http://server_ip:external_container_port/nagios/

update to nrpe-3.1.1

update to nagios-plugins-2.2.1

More Info

About Nagios

To help improve this container quantumobject/docker-nagios

For additional info about us and our projects check our site

Docker Pull Command
Source Repository

Comments (9)
6 days ago

How might I set up the notifications to work? I modified the contacts.cfg
email nagios@localhost ; <<* CHANGE THIS TO YOUR EMAIL ADDRESS **

with my email but I am not getting any emails from any services that have a crittical event.

8 months ago

Thanks for the info!

10 months ago

@bluehorseshoe1 Its because the ports were not explicitly mapped. Should really look something like this: docker run -d -p 25:25 -p 80:80 quantumobject/docker-nagios

The port mapping works like this:
-p <host-port>:<container-port>

a year ago

I did run into one slowdown. I am still learning so must people probably already know this however I thought I would offer feedback for anyone starting out like me.

I had thought the port was just going to be port 80. I ended up figuring out the correct port to access the web UI by using the command "docker port <containerID>.

docker port 9dfbbfba3583
25/tcp ->
80/tcp ->

using port 32768 to connect to the nagios web ui worked.

a year ago

Might be a good idea to mention the location of the config files: /usr/local/nagios/etc

a year ago

Many thanks ... It works !

a year ago

Thanks. 4.2 works fine.

a year ago

Update to 4.2.0
Ready to be use … let me know of any problem with it at

2 years ago

Update to 4.1.1
Ready to be use … let me know of any problem with it at