|
||
---|---|---|
conf | ||
Dockerfile | ||
Makefile | ||
README.md | ||
run.sh | ||
sendmail.py |
README.md
Nagios
Contains:
- Nagios Core
- Nagios Plugins
- Nagios NPRE (Remote Plugin Execution)
- Nagios NSCA (passive checks)
- Apache
- PHP
Processes are managed by supervisor, including cronjobs
Exports
- Nginx on
80
- Nagios NRPE on
5666
- Nagios NSCA on
5667
/etc/nagios
: configuration/usr/local/nagios/var/
: nagios runtime
Variables
NAGIOS_USER=nagiosadmin
: Web UI usernameNAGIOS_PASS=nagiosadmin
: Web UI password
Constants in Dockerfile
NAGIOS_PHP_TIMEZONE=UTC
: Timezone to use with PHPNAGIOS_TARBALL
: Nagios tarball URLNAGIOS_PLUGINS_TARBALL
: Nagios Plugins tarball URLNAGIOS_NRPE_TARBALL
: Nagios NRPE tarball URLNAGIOS_NSCA_TARBALL
: Nagios NSCA tarball URL
Example
Launch Nagios container:
$ docker start nagios || docker run --rm -p 80:80 -p 5666:5666 -e NAGIOS_USER=nagios -e NAGIOS_PASS=nagios -ti kolypto/nagios
Enjoy! :)