Giter Site home page Giter Site logo

collectd3's Introduction

Showing stats with collectd + d3js

Collectd3 is a modern visualization of collectd system performance statistics. It does more than just visualizes the data. It generates a bird-eye view of multy-server system and enables to quickly spot the problems and dig down for details.

It integrates with other graphical tools,like Collectd Graph Panel

See the live demo.

Pre-requisites:

Install dependencies

  1. Install rrdtool. On Mac, homebrew works fine. On Linux - install rrdtool and librrd-dev. E.g., apt-get install rrdtool, apt-get install librrd-dev. On Windows, figure this out yourself (and add instructions here). Make sure rrdtool is on the path and working (try $ which rrdtool, $ rrdtool).

  2. Get node dependencies:

     $ npm install
    

Unit tests

Run node unit tests:

  • by npm (a script is configured in package.json)

      $ npm test
    
  • or manually

      env NODE_ENV=test node_modules/.bin/mocha -R spec
    

Browser unit tests - not implemented yet.

Configure

Open config/default.yml. Modify data-directory to point out to collectd files. Change the port of web app. Define and adjust host categoreis (use regular expressions). Adjust storage partitions, disks, etc. See comments in default.yml

Configs are read and extend each other sequentially in a specific order: default.yml, NODE_ENV.yml (like test.yml for NODE_ENV=test), HOSTNAME.yml (like collectd.yml for collectd.example.com).

If you want specific section to be handled as-is and prevent it from being overriden or extended by any other config file loaded later, you should add ~override: true to it.

For more info, see comments in default.yml and YAML documentation

Sample data

When developing, testing, or trying this out, work with sample data.

Run server

	$ npm start

This launches the server on the background; the output is redirected to server.out.log and server.err.log. To check server status, use forever - e.g., node_modules/forever/bin/forever list. To stop the server:

	$ npm stop

Developing

Always use grunt. It will watch for changes and recompile, lint and unit-test each file you change. If you use npm start, you need to do it manually (except for less files, they would be recompiled before each start).

Run grunt:

  • by first installing grunt-cli globally (npm install grunt-cli -g)

      $ grunt
    
  • by using grunt-cli which already installed locally

      $ node_modules/.bin/grunt
    

Copyright and license


Copyright 2013 StackStorm, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

collectd3's People

Contributors

enykeev avatar dzimine avatar

Stargazers

Nikolaus Schlemm avatar Pavel T  avatar Carl V. Lewis avatar John Jediny avatar Krast avatar Rémi Becheras avatar Liang Liu avatar Denis Izmaylov avatar Ray Lugo, Jr. avatar Yıldıray Meriç avatar Alex Jennings avatar Nick Willever avatar Victor Roemer avatar  avatar Reinhardt Quelle avatar Steven Fusco avatar Davide avatar  avatar Sufian avatar Albert Sun avatar  avatar Timur Batyrshin avatar Alaa Qutaish avatar Simon Benjámin avatar ishida avatar Ruoyan Wong avatar Ross Kusler avatar Vlada Petrović avatar wwc avatar ITRoof avatar  avatar wy avatar Buttonwood avatar Sven Sporer avatar Alex Sherwin avatar Richard Kraaijenhagen avatar Grégory Horion avatar  avatar Rex avatar Fonkie Chen avatar ownyang avatar Zhongwei Sun avatar David Desbouis avatar MDCollins avatar Raymund Ramos avatar Stephen Ash avatar Jonathan Barratt avatar Shirish Goyal avatar Joey Simhon avatar Gil Klein avatar Junichi TANAKA avatar Chris Bolt avatar Arend-Jan Tetteroo avatar Corentin Kerisit avatar Rishi Dhupar avatar Ben Haan avatar Roman Heinrich avatar Brian Cajes avatar Brian Flad avatar  avatar Arnout Kazemier avatar Armon Dadgar avatar Mark Szabo avatar Zach Evans avatar Nathan Howell avatar Keith Chambers avatar David Melamed avatar Alex Drahon avatar Jose Luis Salas avatar Chris Blumentritt avatar Geoffrey Bachelet avatar Brandon Ashworth avatar Jonathan Dizdarevic avatar Jacqui Lough avatar freecastle avatar Timothée Barray avatar Gábor Egyed avatar Libor Mořkovský avatar Pete Birkinshaw avatar Davide Schiera avatar Justin Honold avatar Matt avatar kyzh avatar Nathan Lee avatar  avatar Jeremy Cantrell avatar William Roe avatar Sean McAvoy avatar Paul Hammond avatar Hyunseok Hwang avatar Joe DeVries avatar Geoffrey Anderson avatar Brian Lalor avatar Jason Dixon avatar  avatar Libin Pan avatar Mike McGarr avatar Gus Becciu avatar Gerardo Lisboa avatar Siddharth avatar

Watchers

Marc Fournier avatar Henry Huang avatar Brian Lalor avatar Reinhardt Quelle avatar Michael Richmond avatar James Cloos avatar Brendan Murtagh avatar Patrick Hoolboom avatar  avatar Keith Chambers avatar 发条朋克 avatar Eugen avatar Manas Kelshikar avatar Sergei Podushkin avatar Sebastian Kopatz avatar  avatar  avatar  avatar David Gee avatar Nina Shulman avatar  avatar Yıldıray Meriç avatar  avatar  avatar Kiril Strax avatar A R avatar Estee Tew avatar  avatar Ram Golla avatar

collectd3's Issues

Must work with stock collectd insatll

Current config/default.yml is made for monitoring OpenStack.

Rename it to config/openstack.yml, and make default.yml work with 'out-of-box' stock collectd installation.

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.