Giter VIP home page Giter VIP logo

dashing-icinga's Introduction

Docker Dashing Icinga

Dashing is a dashboard framework made in Ruby.
In this combo of Docker, Dashing and Icinga, you will get a monitoring-dashboard, that will look best on 1080p screens.

image

"Docker Dashing Icinga" is based on these two projects, but I couldn't fork them both and merge 'em into one:

Also, to make it work with an HTTPS-enabled Icinga-instance, this post provided some information.

Build

You need a local copy of the repository, because of the assets, jobs and configuration that are mounted into the container! Have a look at the code first, if you don't trust things.

git clone https://github.com/hbokh/dashing-icinga.git .

Next build the image:

docker build --rm=true -t hbokh/dashing-icinga .

Or fetch it from the hub:

docker pull hbokh/dashing-icinga

Run

Use docker-compose and docker-compose up -d
But first you need to change these values in file docker-compose.yml:

  • ICINGA_CGI: URL to icinga-host's status.cgi
  • ICINGA_USER: your icinga username
  • ICINGA_PASS: your icinga user's password
  • TWITTER_KEY: Twitter key
  • TWITTER_SECRET: Twitter password for that key
  • TWITTER_TOKEN: Twitter token
  • TWITTER_TOKEN_SECRET: Twitter password for that token

Get your Twitter key and tokens here: https://dev.twitter.com/docs/auth/tokens-devtwittercom

Also change the path to where you forked this repo in the volumes-section.

dashing:
  image: hbokh/dashing-icinga
  environment:
   - ICINGA_CGI=https://icinga-hostname/icinga/cgi-bin/status.cgi
   - ICINGA_USER=icingaadmin
   - ICINGA_PASS=p4ssw0rd
   - TWITTER_KEY=dYMXPkBLAHBLAHfhur2LhrF1a
   - TWITTER_SECRET=5DoD1SiwYZG2xBLAHBLAHBmwBi0szV4Dy3DBLAHBLAH54xGAkO
   - TWITTER_TOKEN=7162341-kAjNJ1BLAHBLAHhunfY7w1l7UWNXBLAHBLAH6hywI6
   - TWITTER_TOKEN_SECRET=4uPyGsWBLAHBLAHBDmMs5RzzgnKQDBLAHBLAHmevwZOSfW
  volumes:
    - /Users/hbokh/dev/Docker/dashing-icinga/dashboards:/dashboards
    - /Users/hbokh/dev/Docker/dashing-icinga/jobs:/jobs
    - /Users/hbokh/dev/Docker/dashing-icinga/assets:/assets
    - /Users/hbokh/dev/Docker/dashing-icinga/widgets:/widgets
    - /Users/hbokh/dev/Docker/dashing-icinga/config:/config
  ports:
    - "8080:3030"

Note: the above Twitter-keys have been obfuscated with BLAHBLAH's and will not work. CHANGE THEM!!

Connect

Once the container is up, you can connect to a dashboard over HTTP.
URL: http://< dockerhost >:8080/icinga

Todo

Rearrange the widgets or add some more. I don't like the large grayspace on the right.

Other

Tested on Ubuntu 14.04, CoreOS and OS X Yosemite 10.10.2

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.