All Projects → alex-leonhardt → Sensu Grid

alex-leonhardt / Sensu Grid

Licence: mit
A sensu dashboard built for the "big" screen...

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sensu Grid

Flask jsondash
🐍 📊 📈 Build complex dashboards without any front-end code. Use your own endpoints. JSON config only. Ready to go.
Stars: ✭ 3,215 (+5085.48%)
Mutual labels:  flask, dashboard
Ssis Dashboard
HTML5 SQL Server Integration Services Dashboard
Stars: ✭ 206 (+232.26%)
Mutual labels:  flask, dashboard
Saas Base
SaaS base application (Flask, Vue, Bootstrap, Webpack)
Stars: ✭ 208 (+235.48%)
Mutual labels:  flask, dashboard
Flask Monitoringdashboard
Automatically monitor the evolving performance of Flask/Python web services.
Stars: ✭ 483 (+679.03%)
Mutual labels:  flask, dashboard
Open Source Saas Boilerpate
Free SaaS boilerplate (Python/PostgreSQL/ReactJS/Webpack)
Stars: ✭ 582 (+838.71%)
Mutual labels:  flask, dashboard
Bowtie
Create a dashboard with python!
Stars: ✭ 724 (+1067.74%)
Mutual labels:  flask, dashboard
Flask Profiler
a flask profiler which watches endpoint calls and tries to make some analysis.
Stars: ✭ 622 (+903.23%)
Mutual labels:  flask, dashboard
System dashboard
Boilerplate project - Cross-Platform System Dashboard using Flask, React, Mobx and Web-Workers
Stars: ✭ 13 (-79.03%)
Mutual labels:  flask, dashboard
Pivot Kibana
Flexmonster Pivot plugin for Kibana
Stars: ✭ 58 (-6.45%)
Mutual labels:  dashboard
Binda
Headless CMS based on Ruby on Rails
Stars: ✭ 60 (-3.23%)
Mutual labels:  dashboard
Gpuview
A lightweight web dashboard for monitoring GPU usage
Stars: ✭ 57 (-8.06%)
Mutual labels:  dashboard
Flask Tutorial
A tutorial to build your first flask application
Stars: ✭ 58 (-6.45%)
Mutual labels:  flask
Flask Jwt Extended
An open source Flask extension that provides JWT support (with batteries included)!
Stars: ✭ 1,109 (+1688.71%)
Mutual labels:  flask
Candybar
Dashboard for Android Icon Packs. Supported by the community.
Stars: ✭ 58 (-6.45%)
Mutual labels:  dashboard
Tensorflow 101
learn code with tensorflow
Stars: ✭ 1,116 (+1700%)
Mutual labels:  flask
Awesome Python Primer
自学入门 Python 优质中文资源索引,包含 书籍 / 文档 / 视频,适用于 爬虫 / Web / 数据分析 / 机器学习 方向
Stars: ✭ 57 (-8.06%)
Mutual labels:  flask
Flask face detection
Face detection example in Python 3 based on OpenCV and Flask
Stars: ✭ 55 (-11.29%)
Mutual labels:  flask
Spring Boot Actuator Demo
Spring Boot Actuator: Health Check, Metrics Gathering, Auditing, and Monitoring
Stars: ✭ 61 (-1.61%)
Mutual labels:  dashboard
Todo List Using Flask And Mongodb
Simple implementation of ToDo List using Flask and MongoDB along with Dockerfile and Kubernetes yaml files #Flask #Example #Docker #Kubernetes #k8s
Stars: ✭ 61 (-1.61%)
Mutual labels:  flask
Gaanaapi
Unofficial Gaana API
Stars: ✭ 59 (-4.84%)
Mutual labels:  flask

sensu-grid

Flask application to connect to a list of sensu-api servers and displays a grid of OK, WARNING, CRITICAL, DOWN and ACK'd alerts.

features

  • overview by data centre ( Name, OK, WARN, CRIT, DOWN, ACK )
  • detail view by data centre ( Grid of hosts, color changes based on amount of alerting checks, 1 = yellow, > 1 = red, down = purple )
  • Events view by data centre (Grid of events which are currently alerting/warning/unknown)
  • filter by hosts' subscription/s ( Only shows matchin hosts' check results in overview and detail view)

screenshots

Overview (DCs)

sensu-grid overview screenshot

More screenshots

faq

how can I filter by more than 1 value?

Amend the URL and add all the filters together as a comma-separated list, e.g.: http://localhost:5000/filtered/aaa,bbb,ccc,ddd

what do the filters filter by ?

They filter based on the hosts' subscriptions, except in the Events view where they filter on all properties of the check and the host.

docker

requirements

  • docker (obviously)
  • boot2docker (if you're on mac/windows)

build / run docker image

docker build -t name/sensu-grid:latest .
docker run -d -p 80:5000 name/sensu-grid:latest

install / setup

if you dont want to use docker

virtualenv

  • Checkout this directory into /opt/sensu-grid

virtualenv .
. bin/activate

requirements

python requirements

Add via pip install or via your package management

  • requests
  • PyYAML
  • Flask
  • argparse
  • gunicorn

install requirements

  • Install all required python libs first:

    
    pip install -r requirements.txt
    
    

app user

  • Create the app user:

    
    useradd -r sensu-grid
    
    

run as a service

supervisord

  • Install supervisord (yum -y install supervisor)
  • Copy the provided config (start-scripts/supervisord.conf) file to /etc/supervisord.conf

upstart

  • Install upstart (yum -y install upstart)
  • Copy the provided upstart config (start-scripts/sensu-grid.conf) file to /etc/init/

configuration

You should copy the conf/config.yaml.sample file to conf/config.yaml and edit as appropriate.

If you use username/password, ensure you set the appropriate permissions - e.g. chmod 640 conf/config.yaml and set the owner to sensu-grid which you'll be using to run this app.

example config

---
dcs:
  -
    name: dev
    url: sensu-dev.domain.local
    port: 4567
    uchiwa: http://sensu-dev.domain.local:3000
  -
    name: stage
    url: sensu-stage.domain.local
    port: 4567
    user: apiuser
    password: apipassword

app:
  refresh: 60
  bg_color: #333333
  # This is a python requests layer timeout, as by default, it does not timeout
  requests_timeout: 10
  logging_level: info
  cache_expire_time: 10

run locally / manually

(this requires you to install all the dependencies)

local dev server

cd <checkout>
/usr/bin/python sensugrid.py

## healthcheck

a healthcheck is available at /healthcheck which returns json formatted text, which you can pipe into python -m json.tool

example:

curl http://localhost:5000/healthcheck | python -m json.tool
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].