Nagios Not Running (Docker)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
MouadMimouni
Posts: 6
Joined: Wed Jun 07, 2017 8:38 am

Nagios Not Running (Docker)

Post by MouadMimouni »

Hello,
I installed Nagios with docker using this command :

docker run --name nagios -d
-v /home/noveladmin/docker-data/nagios/etc/:/opt/nagios/etc/
-v /home/noveladmin/docker-data/nagios/var:/opt/nagios/var/
-v /home/noveladmin/docker-data/nagios/custom-plugins:/opt/custom-nagios-plugins
-p 0.0.0.0:8080:80 jasonrivers/nagios:latest

When I connect to the Nagios interface I have "Nagios Not Running" and looking at the logs I have the following message (Screenshot), while the file "var" have all permission
Attachments
File "var" Permission
File "var" Permission
Permissionvar.PNG (6.22 KiB) Viewed 2986 times
Log Nagios
Log Nagios
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios Not Running (Docker)

Post by avandemore »

How did you install Nagios? Our standard installation process should create the correct permissions:
https://assets.nagios.com/downloads/nag ... Source.pdf
Previous Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Not Running (Docker)

Post by tmcdonald »

Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
Locked