Giter Club home page Giter Club logo

nagios's Introduction

nagios

Added speedtest-cli (https://github.com/sivel/speedtest-cli) to jasonrivers/nagios, so I can use speedtest-cli plugin (https://exchange.nagios.org/directory/Plugins/Network-Connections%2C-Stats-and-Bandwidth/check_speedtest-2Dcli/details)

Added php-curl so I can use the Unifi plugin

I run with (obviously most of the options come from jasonrivers/nagios image

docker run \
   -d \
   --restart=unless-stopped \
   --name nagios \
   -p 9280:80 \
   -v ${PWD}/etc/:/opt/nagios/etc/ \
   -v ${PWD}/graph_etc/:/opt/nagiosgraph/etc/ \
   -v ${PWD}/extra.d.${HOSTNAME}/:/opt/nagios/etc/extra.d/ \
   -v ${PWD}/custom-plugins:/opt/Custom-Nagios-Plugins/ \
   -v /mnt/docker/data/nagios/${HOSTNAME}/var/:/opt/nagios/var/ \
   -v /mnt/docker/data/nagios/${HOSTNAME}/rrd/:/opt/nagiosgraph/var/rrd \
   -e NAGIOSADMIN_USER="nagiosadmin" \
   -e NAGIOSADMIN_PASS="nagiospassword" \
   -e MAIL_RELAY_HOST="email.home" \
   martinjohn/nagios:latest

nagios's People

Contributors

martingjohn avatar

Watchers

James Cloos avatar  avatar

nagios's Issues

Build fails

Build fails with

Processing triggers for libc-bin (2.23-0ubuntu9) ...
Collecting pip
Downloading https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl (1.3MB)
Installing collected packages: pip
Found existing installation: pip 8.1.1
Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
Successfully installed pip-10.0.1
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in
from pip import main
ImportError: cannot import name main
The command '/bin/sh -c apt-get update && apt-get install -y python-pip && rm -rf /var/lib/apt/lists/* && pip install --upgrade pip && pip install speedtest-cli' returned a non-zero code: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.