Skip to content

brandonpierce/Docker-Nagios

 
 

Repository files navigation

Docker-Nagios

Docker image for Nagios

Build Status: Build Status

Nagios Core 4.1.1 running on Ubuntu 16.04 LTS with NagiosGraph & NRPE

For people wishing to stay with Ubuntu 14.04 I have created a docker tag ubntu1404. Where possible I will try and keep both images up to date.

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 -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.

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

Extra Plugins

About

Docker image for Nagios

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%