dashboard是提供给用户,以图表的方式查看push上来的数据
$ export HOME=/home/work/
$ mkdir -p $HOME/open-falcon/
$ cd $HOME/open-falcon && git clone https://github.com/my-open-falcon/dashboard.git
$ cd dashboard;
# pip install virtualenv
$ cd $HOME/open-falcon/dashboard/
$ virtualenv ./env
$ ./env/bin/pip install -r pip_requirements.txt
$ 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
$ ./env/bin/python wsgi.py
--> goto http://127.0.0.1:8081
$ bash control start
--> goto http://127.0.0.1:8081
$ bash control stop
$ bash control tail