Open-Falcon的开源社区:
- 官网: http://open-falcon.org
- Github: https://github.com/open-falcon
- QQ讨论组: 373249123 / 516088946 / 469342415
- 微信公众号: OpenFalcon
falcon-plus 安装
按照官方文档操作报错:
Makefile:47: recipe for target 'graph' failed falcon
issue 地址:
https://github.com/open-falcon/falcon-plus/issues/169
解决方案:
git clone https://github.com/open-falcon/rrdlite $GOPATH/src/github.com/open-falcon/rrdlite
设置端口:
vim /usr/local/open-falcon/api/config/cfg.json
"web_port": "0.0.0.0:8060"
Dashboard 安装
报错:
Modules/errors.h:8:18: fatal error: lber.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
解决:
apt install ldap-auth-config
apt-get install libldap2-dev
apt-get install libsasl2-dev
测试环境设置端口:
vim wsgi.py
app.run(host="0.0.0.0", port=8061, debug=True)
正式环境:
vim gunicorn.conf
bind = ':8061'
找了半天没找到密码,后来发现右上角有个注册,注册后即可登录。
接入 openldap 报错:
SimpleLDAPObject has no attribute '_l'
明天接着折腾。。。。。。。。。。。
中文文档