Coder Social home page Coder Social logo

docker-librenms's Introduction

LibreNMS

  • LibreNMS is a fully featured network monitoring system.
  • PHP 7 FPM / nginx / rrdcached
  • Please send an issue an github if you see an error with this docker image.

Last Changes

  • 2018/09/20: Update to baseiamge 0.11 (bionic, ubuntu 18.04 base)
  • 2018/05/10: Update to PHP 7.2 & Fix Timezone Setup & baseimage 0.10.1
  • 2018/04/30: Added ceph service support
  • 2018/02/09: Update to Phusion Baseimage 0.10.0 & added composer
  • 2017/12/14: Support for distributed poller nodes
  • 2017/10/31: ldap auth bind support added
  • 2017/10/19: add new env UPDATE_CHANNEL with default value: master.
  • 2017/10/18: dynamic config.php based on environment variables (fixes #8)
  • 2017/10/18: ldap group type added
  • 2017/09/02: ldap authentication support; use mariadb as backend database server
  • 2017/08/29: update phusion baseiamge 0.9.22
  • 2016/09/29: added rrdcached
  • 2016/09/29: fix cronjobs
  • 2016/09/28: update to Ubuntu 16.04 (phusion baseiamge 0.9.19)
  • 2016/09/28: change to php 7 & nginx
  • 2016/09/28: fixes graphs on overview pages.

Version

  • on docker start it will pull the latest version.
  • the system is updating every day
  • [new/changed] weathermap support, activate with environment var.
  • [02.08.2015] Fixed auto update permission problem.

Usage example

Needed directories on host:

  • data
  • mysql

with docker-compose

docker-compose up -d

with docker-compose + LDAP

docker-compose -f docker-compose-ldap.yml up -d

with docker-compose + distributed poller

docker-compose -f docker-compose-distributed-poller.yml up -d

with docker-compose + ceph support

docker-compose -f docker-compose-ceph.yml up -d

with mariadb as database

docker run -d -m 1g \
	-v $PWD/mysql:/var/lib/mysql \
	-v $PWD/50-server.cnf:/etc/mysql/mariadb.conf.d/50-server.cnf:ro \
	-e MYSQL_ROOT_PASSWORD=pwd4librenms \
	-e TZ=Europe/Vienna \
	--name librenms-db \
	mariadb:latest

docker run -d \
	-v $PWD/data:/data \
	-p 80:80 \
	-e TZ=Europe/Vienna \
	--link librenms-db:mysql \
	-e POLLER=24 \
	-e DB_TYPE=mysql \
	-e DB_HOST=mysql \
	-e DB_NAME=librenms \
	-e DB_USER=root \
	-e DB_PASS=pwd4librenms \
	-e LDAP_ENABLED=0 \
	-e LDAP_VERSION=3 \
	-e LDAP_SERVER=ldap.example.com \
	-e LDAP_PORT=389 \
	-e LDAP_PREFIX=uid= \
	-e LDAP_SUFFIX=,ou=People,dc=example,dc=com \
	-e LDAP_GROUP=cn=groupname,ou=groups,dc=example,dc=com \
	-e LDAP_GROUP_BASE=ou=group,dc=example,dc=com \
	-e LDAP_GROUP_MEMBER_ATTR=uid \
	-e LDAP_GROUP_MEMBER_TYPE= \
	--name librenms \
	seti/librenms

Access

  • URL: http://localhost (or the ip from the host running this docker)
  • User: librenms
  • Pass: librenms

Environment Vars

  • POLLER: Set poller count. [a good value is 4 x CPU Count] Defaults to 16
  • TZ: Set timezone. Defaults to UTC
  • WEATHERMAP: if set [=1], it pulls the weathermap plugin. Needs to be enabled in frontend.
  • UPDATE_CHANNEL: Select update channel, can be releaseor master. Default: master

Plugins

  • to use the weathermap plugin do following:
[change to your data folder on host]
mkdir plugins (if it not exists. first run of this container will create it.)
cd plugins
git clone https://github.com/laf/Weathermap-for-Observium.git weathermap

Credits

docker-librenms's People

Contributors

setiseta avatar ralfherzog avatar jahkeup avatar f0rkz avatar

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.