Sign inSign up

dovetailworld/nagios

By dovetailworld

Updated about 1 month ago

Docker image for Nagios optimized for AWS Beanstalk and AWS EFS

Image
Monitoring & observability
0

3.4K

dovetailworld/nagios repository overview

Docker-Nagios

Nagios Core running on Ubuntu 24.04 LTS.

Docker image for Nagios forked by Dovetail BV.

This image runs in AWS Elasticbeanstalk with an EFS attached.

ProductVersion
Nagios Core4.5.8
Nagios Plugins2.4.12
NRPE4.1.1
NCPA3.1.1
NSCA2.10.3
Nagios TV0.9.2
Configurations

Nagios Configuration lives in /opt/nagios/etc NagiosGraph configuration lives in /opt/nagiosgraph/etc

Install
docker pull jasonrivers/nagios:latest
Running

Run with the example configuration with the following:

docker run --name nagios4 -p 0.0.0.0:8080:80 jasonrivers/nagios:latest

alternatively you can use external Nagios configuration & log data with the following:

docker run --name nagios4  \
  -v /path-to-nagios/etc/:/opt/nagios/etc/ \
  -v /path-to-nagios/var:/opt/nagios/var/ \
  -v /path-to-custom-plugins:/opt/Custom-Nagios-Plugins \
  -v /path-to-nagiosgraph-var:/opt/nagiosgraph/var \
  -v /path-to-nagiosgraph-etc:/opt/nagiosgraph/etc \
  -p 0.0.0.0:8080:80 jasonrivers/nagios:latest

Note: The path for the custom plugins will be /opt/Custom-Nagios-Plugins, you will need to reference this directory in your configuration scripts.

There are a number of environment variables that you can use to adjust the behaviour of the container:

Environamne VariableDescription
MAIL_RELAY_HOSTSet Postfix relayhost
MAIL_INET_PROTOCOLSset the inet_protocols in postfix
NAGIOS_FQDNset the server Fully Qualified Domain Name in postfix
NAGIOS_TIMEZONEset the timezone of the server

For best results your Nagios image should have access to both IPv4 & IPv6 networks

Credentials

The default credentials for the web interface is nagiosadmin / nagios

Extra Plugins

Tag summary

Content type

Image

Digest

sha256:30e6b9afd

Size

264.2 MB

Last updated

almost 2 years ago

docker pull dovetailworld/nagios