Giter Club home page Giter Club logo

observium's Introduction

Observium

Observium is an autodiscovering network monitoring platform supporting a wide range of hardware platforms and operating systems.


Version

  • Observium CE: 0.16.1.7533

Plugin support (new)


Originally forked from

Zuhkov [email protected]


Usage example

Needed directories on host:

  • data
  • mysql

with sameersbn/mysql as database

NAME="observium"
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
docker run -d -m 1g \
	-v $DIR/mysql:/var/lib/mysql \
	-e DB_USER=$NAME \
	-e DB_PASS=observiumpwd \
	-e DB_NAME=$NAME \
	--name $NAME-db \
	sameersbn/mysql:latest
NAME="observium"
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
docker run -d \
	-v $DIR/data:/data \
	-p 80:80 \
	-e TZ="Europe/Vienna" \
	--link $NAME-db:mysql \
	-e POLLER=24 \
	--name $NAME \
	seti/observium

Browse to http://your-host-ip and login with user and password observium


Environment Vars

  • POLLER: Set poller count. Defaults to 16
  • TZ: Set timezone. Defaults to UTC

Convert from older version with integrated DB to new container

  • we use "ocontainer" as container name. replace it with your name.
mkdir mysql
docker exec -it ocontainer mysqldump observium > mysql/observiumdb.sql
mkdir data
mv config data/ && mv rrd data/ && mv logs data/
chown nobody:users data -R
  • now run your db container, we use the example from above, then run this command (observium-db is the container name)
echo "#!/bin/bash" > mysql/import.sh
echo "mysql -u observium -pobserviumpwd observium < /var/lib/mysql/observiumdb.sql" >> mysql/import.sh
chmod 0755 mysql/import.sh
docker exec -it observium-db bash /var/lib/mysql/import.sh
rm -f mysql/import.sh mysql/observiumdb.sql
rm data/config/databases -rf
  • now run your observium container, like the example from above

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

  • Observium Community is an open source project and is copyright Observium Limited
  • This docker image is built upon the baseimage made by phusion
  • Thx to https://github.com/laf/ for the weathermap plugin

observium's People

Contributors

pmosbach avatar setiseta avatar zuhkov avatar

Stargazers

 avatar  avatar

Watchers

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