Docker nagios container additionaly volumes?

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
User avatar
henryhollow
Posts: 4
Joined: Mon Jul 25, 2016 1:25 pm
Location: Austria
Contact:

Docker nagios container additionaly volumes?

Post by henryhollow »

Hello!

I'm using nagios (3.5.1) currently within a docker container installed trough ubuntu 14.04 LTS via apt.

I've mapped the configuration directory from within the docker container to my host like this:

Code: Select all

 
/opt/docker_data/nagios/nagios3:/etc/nagios3
I'm now wondering which additional directories do need to be persistent for to not lose the cached/monitored data information, when restarting the container? Can someone may give me a hint which other directories need/should to be persistent too? Cause curretnly I'm losing all information when I restart the dpcker container of course.

thanks a lot!
Calculations and conversions on CalculatePlus
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Docker nagios container additionaly volumes?

Post by Box293 »

I've not used docker however...

This documentation explains the main files used by Nagios.
https://assets.nagios.com/downloads/nag ... gmain.html

retention.dat, the log files, all the configuration files, pre-cached object files, resource file.

Honestly everything under the nagios directory and it's subdirectories.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked