Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DistributedMonitoringSystem/dashboard

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

161 Commits
161 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

dashboard是提供给用户,以图表的方式查看push上来的数据

Clone

$ export HOME=/home/work/

$ mkdir -p $HOME/open-falcon/
$ cd $HOME/open-falcon && git clone https://github.com/open-falcon/dashboard.git
$ cd dashboard;

Install dependency

# yum install -y python-virtualenv

$ cd $HOME/open-falcon/dashboard/
$ virtualenv ./env

$ ./env/bin/pip install -r pip_requirements.txt -i http://pypi.douban.com/simple

Init database

$ mysql -h localhost -u root -p < ../scripts/db_schema/dashboard-db-schema.sql
$ mysql -h localhost -u root -p < ../scripts/db_schema/graph-db-schema.sql

## default mysql user is root, default passwd is ""
## change mysql info in rrd/config.py if necessary

Start

$ ./env/bin/python wsgi.py

--> goto http://127.0.0.1:8081

Run with gunicorn

$ bash control start

--> goto http://127.0.0.1:8081

Stop gunicorn

$ bash control stop

Check log

$ bash control tail

About

绘图展示组件,自定义dashboard

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.1%
  • HTML 13.2%
  • Python 9.6%
  • CSS 8.8%
  • Shell 0.3%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.