Adagios Nagios3 CentOS 7 image with lighttpd, uwsgi, postfix, nagios mobile, and auto backup restore
10K+
This is adapted from pschmitt/adagios and included the following features:
There are sample nagios plugins checks via ssh scripts located in opt/ directory, as well as the shell script that install these plugins. Copy them to /opt volume, then add the necessary commands/services for the plugins via Adagios interface.
custom-init-sample.sh is kept as example alternative.
It is strongly advisable to pre-generate passphraseless SSH public key to be stored in the nagios user home directory when using these nagios plugins.
Make sure to customise /etc/postfix/main.cf to send out nagios alerts email.
Please review and edit docker-adagios.service systemd service file before use.
docker build -t uqwhsu/adagios --rm=true --force-rm=true .
docker run -d -h nagios -p 80:80 -p 443:443 \
-e ADAGIOS_USER=nagiosadmin \
-e ADAGIOS_PASS=nagiosP@ssw0rd \
-e GIT_REPO=true \
-e LOCALTIMEZONE=Australia/Brisbane \
-v ~/dev/docker/adagios/data/adagios:/etc/adagios \
-v ~/dev/docker/adagios/data/nagios:/etc/nagios \
-v ~/dev/docker/adagios/data/pnp4nagios:/var/lib/pnp4nagios \
-v ~/dev/docker/adagios/data/log:/var/log/nagios \
-v ~/dev/docker/adagios/data/opt:/opt \
-v ~/dev/docker/adagios/data/.ssh:/var/spool/nagios/.ssh \
-v ~/dev/docker/adagios/data/main.cf:/etc/postfix/main.cf \
uqwhsu/adagios
After starting the container you can visit http://localhost/ or http://192.168.59.103 if you use boot2docker.
use git revert or reset to roll back from failed nagios configuration.
Please see: pschmitt/adagios README
Content type
Image
Digest
Size
177.5 MB
Last updated
over 8 years ago
docker pull uqwhsu/adagios