Comments (2)
这个问题还存在啊
暂时无法访问,请联系管理员。
Error: 'NoneType' object has no attribute 'cursor'
Traceback:
Traceback (most recent call last):
File "/root/open-falcon/dashboard/env/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/root/open-falcon/dashboard/env/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/root/open-falcon/dashboard/rrd/view/portal/alarm.py", line 31, in alarm_dash_case_get
cases, total = EventCase.query(page, limit, endpoint_q, metric_q, status)
File "/root/open-falcon/dashboard/rrd/model/portal/alarm.py", line 90, in query
vs = cls.select_vs(where=where, params=params, page=page, limit=limit, order='update_at desc')
File "/root/open-falcon/dashboard/rrd/model/portal/bean.py", line 105, in select_vs
rows = cls.select(where=where, params=params, order=order, limit=limit, page=page, offset=offset)
File "/root/open-falcon/dashboard/rrd/model/portal/bean.py", line 101, in select
return cls._db.query_all(sql, params)
File "/root/open-falcon/dashboard/rrd/store.py", line 106, in query_all
cursor = self.execute(*a, **kw)
File "/root/open-falcon/dashboard/rrd/store.py", line 71, in execute
cursor = self.get_conn().cursor()
AttributeError: 'NoneType' object has no attribute 'cursor'
from falcon-plus.
这个需要手工改这个文件dashbard/rrd/config.py
将一下信息替换为你的账户与密码
PORTAL_DB_USER = os.environ.get("PORTAL_DB_USER","账户")
PORTAL_DB_PASS = os.environ.get("PORTAL_DB_PASS","你的密码")
ALARM_DB_USER = os.environ.get("ALARM_DB_USER","账户")
ALARM_DB_PASS = os.environ.get("ALARM_DB_PASS","你的密码")
from falcon-plus.
Related Issues (20)
- falcon做成linux服务以及对mysql,redis等的依赖问题 HOT 1
- command "make all" is not done HOT 1
- 是不是不维护了呀 HOT 1
- only 26 disk can be identified HOT 1
- alarm-Dashboard 刷新数据异常
- -bash: ./agent/bin/falcon-agent: No such file or directory HOT 3
- agent配置http.backdoor怎么用? HOT 1
- open-falcon 0.3版本 gpu.go:31: Initialize error: could not load NVML library HOT 1
- report sqlinjection vulnerability HOT 1
- 请教大佬Centos8部署falcon-agent启动后报错。无法启动采集agent。日志报错内容如下,网上看有人遇到同样问题,说不支持centos8 HOT 3
- 进程监控获取数据异常
- 删除gragh库里的三个表里的指定数据后, 在使用接口往openfalcon上推数据,相同名字的就插入不进去
- 修改系统时间后,如何处理时序数据库的历史数据
- agent的配置文件中连接hbs的地址为什么只能写一个,而不是像transfer可以指定多个?
- 求助:当我通过falcon的api接口获取最近半年历史数据的时候,怎么才能取最近半年每小时的数据呢
- Integrate pull request preview environments
- 安装windows-agent一直不成功,
- The vulnerability CVE-2022-26245 has been fixed, but no specific tag denotes the patched version.
- Vulnerability of dependency "github.com/gin-gonic/gin"
- nodata相关问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from falcon-plus.