一、找到表盘所显示的数据源
二、登录到数据源所在机器,查看数据库是否在运行
2.一、未运行,则运行数据库
2.二、运行中,则登录数据库
2.2.一、influxdb直接在系统中influx登录,
2.2.二、prometheus直接登录主机IP:9090
三、查看无数据显示的数据库中有无数据
3.一、库中有数据,检查数据源与grafana之间链接
3.二、库中无数据,检查数据源与采集软件(脚本)之间链接
四、查看采集组件(node_exporter或采集脚本)是否运行
4.一、未运行,则运行采集组件
4.二、运行中,检查采集组件是否存在问题node
一、influxdb库中数据到昨天下午截止
二、手动运行采集脚本(经过curl的-X POST方式上传)python
报错:influxdb-error:max-values-per-tag limit 100000
influxdb官网对于这条配置的解释:
https://docs.influxdata.com/enterprise_influxdb/v1.7/administration/config-data-nodes/#max-values-per-tag-100000linux
influx数据库
use DATABASES;
show measurements 查看表
drop measurement TABLES;运维
配置文件:influxdb.confpython2.7
ERROR! Unexpected Exception, this is probably a bug: (cryptography 0.8.2 (/usr/lib64/python2.7/site-packages), Requirement.parse('cryptography>=1.1'))curl
缘由:cryptography模块版本太低
处理方法:pip安装
一、下载pip
https://pypi.org/project/pip/#files
pip-19.1.tar.gz
wheel-0.33.1-py2.py3-none-any.whlide
二、安装
tar xzvf pip-19.1.tar.gz
cd pip-19.1/
python setup.py install
pip install wheel-0.33.1-py2.py3-none-any.whlui
三、安装cryptography
https://pypi.org/project/cryptography/#files
cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whlthis
pip install cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl
一、grafana数据源配置链接正常
二、数据源influxdb数据中断
三、怀疑是telegraf问题
systemctl restart telegraf
数据入库正常grafana界面显示正常