Public Repository

Last pushed: 2 years ago
Short Description
Nagios 4.8 + 2.0 Plugins
Full Description

Docker-Nagios

https://github.com/glickbot/docker-nagios

Basic Docker image for running Nagios.<br />
This is running Nagios 4.0.8

You should either link a mail container in as "mail" or set MAIL_SERVER, otherwise
mail will not work.

Knobs

  • NAGIOSADMIN_USER=nagiosadmin
  • NAGIOSAMDIN_PASS=nagios

Web UI

The Nagios Web UI is available on port 80 of the container<br />

Example usage

ls ./
    configure.sh
    commands.cfg

cat configure.sh
    #!/bin/bash
    script_path=$( cd "$( dirname "$0" )" && pwd )
    cp ${script_path}/commands.cfg /opt/nagios/etc/objects/

docker run -d --name nagios
docker run --rm -v $(pwd):/tmp --volumes-from nagios --entrypoint /tmp/configure.sh cpuguy83/nagios

Credits

Docker Pull Command
Owner
glickbot

Comments (0)