Docker Community Forums

Share and learn in the Docker community.

Nagios-nconf doesn´t work

Hello, I am new to this forum and a beginner in Docker, I am trying to make talsonthomas / nagios-nconf work
but I can’t access. I am doing something wrong?

root@cliente ~]# docker ps
c5c0fcacf0b3 talsonthomas/nagios-nconf “/usr/bin/supervisord” 2 hours ago Up 2 hours 80/tcp,>8080/tcp nagios_nconf

root@cliente ~]# docker inspect c5c0fcacf0b3 | grep -i tcp
“8080/tcp”: [
“CpusetCpus”: “”,
“KernelMemoryTCP”: 0,
“80/tcp”: {},
“8080/tcp”: {}
“80/tcp”: null,
“8080/tcp”: [

[root@cliente ~]# netstat -putnoea | grep -i docker
tcp6 0 0 :::9000 :::* LISTEN 0 102582 6547/docker-proxy off (0.00/0/0)

Nagios Setup

  • Docker container for CORP IT Nagios
  • will install from source - apache2,mysql,nagios,nconf,mysqlsetup for nconf.
  • uses supervisord for process control.
  • Generate Nagios config on nconf ui will executed internally
  • All valid generated confs pushed directly to inmobi-noc s3 and directly downloaded on container starts.
  • To build container sudo docker build -t tagname location of Dockerfile .eg sudo docker build -t monsetup .
  • To run docker container in background run sudo docker run -d -h desired docker hostname -e “stack=desired stack” -p 80:80 -it docker image tag
  • Example : sudo docker run -d -h --restart=always -e “stack=corpit-nagios” -p 9000:80 --name corpit-nagios -it dev-dockerhub.corp.
  • latest - dev -dockerhub .corp.inmobi. com:7000/ noc/corpit-nagios: dc0a7272ea8c- master-2

Thank you very much in advance.