Image to run nagios core on a synology nas.
565
Docker container to run a nagios core based on ubuntu. Tested plattform is a synology nas (RS815+). Should run in a regular docker. But not tested.
/usr/local/nagios/etc/var/lib/log/supervisorThe start script checks volume /usr/local/nagios/etc if a file nagios.cfg exists.
If not found then the folder /usr/local/nagios/etc-ori (a copy of /usr/local/nagios/etc created during docker build) is copied back to /usr/local/nagios/etc and the default webuser is created. Remeber to change the password.
From this point you can adjust the default config to your needs.
** Attention: ** Deleting nagios.cfg reruns the copy process and recreates the default web user, changing the password to the default.
Open webbrowser and browse tohttp://<localhost>:<port>/nagios
htpasswd -bc /usr/local/nagios/etc/htpasswd.users ${NAGIOS_WEBADMIN_USER} <password>docker pull razzle/docker-nagios-core:latest