Code Monkey home page Code Monkey logo

cloud-monitoring-dashboard's Introduction

Cloud Monitoring Dashboard

A dashboard for Rackspace's Cloud Monitoring. See the statuses of the alerts on all of your cloud properties.

Deploy

API (v1)

The v1 API is accessible at <Your Dashboard URL>/api/v1/. The following calls can be made against the API:

Call Method Parameters Description
/accounts GET List the accounts currently on the dashboard.
/accounts POST username, apikey, alias (optional) Add a new account to the dashboard.
/accounts DELETE username or apikey Remove an account from the dashboard.
/auth GET Retrieve the authentication status of all users. Refreshes the auth information if it is out of date.
/auth/<username> GET Retrieve the authentication status of a particular user. Refreshes the auth information if it is out of date.
/monitors GET fast (pull the response from the Redis cache) Retrieve all of the configured Cloud Monitoring alerts.
/monitors/<username> GET fast (pull the response from the Redis cache) Retrieve all of the configured Cloud Monitoring alerts for a particular user.
/monitors/<username>/<server id> GET Retrieve detailed information about the Cloud Monitoring alerts for a particular server.
/filters GET List the filters currently on the dashboard.
/filters POST filter Add a new filter to the dashboard.
/filters DELETE filter Remove a filter from the dashboard.

Authentication

The Cloud Monitoring dashboard supports basic HTTP authentication. To enable this, generate an .htpasswd file and add it to your repo. After deploying to Heroku, run the command:

heroku config:set HTPASSWD="Your .htpasswd filename"

Authentication will then be enabled.

To disable authentication, run the command:

heroku config:unset HTPASSWD

Launching on Heroku

# Pull the Cloud Monitoring Dashboard repo.
git clone https://github.com/amussey/cloud-monitoring-dashboard
cd cloud-monitoring-dashboard

# Login to your Heroku account.
heroku login

# Create a new Heroku app.
heroku create

# Install the required Redis backend
heroku addons:add rediscloud

# Push the app to Heroku.
git push heroku master

# Make sure that the webapp is up and scaled correctly.
heroku ps:scale web=1

# Open your Dashboard!
heroku open

cloud-monitoring-dashboard's People

Contributors

amussey avatar

Stargazers

Evgeny avatar Brian J King avatar

Watchers

Evgeny avatar James Cloos avatar  avatar

Forkers

billthebest

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.