已解决
Grafana安装配置
来自网友在路上 145845提问 提问时间:2023-11-09 16:18:22阅读次数: 45
最佳答案 问答题库458位专家为你答疑解惑
配置文件路径
/etc/grafana/grafana.ini
一、Grafana
安装
https://grafana.com/grafana/download?edition=oss&pg=get&plcmt=selfmanaged-box1-cta1
以centos为例
#安装
sudo yum install -y https://dl.grafana.com/oss/release/grafana-10.2.0-1.x86_64.rpm#修改端口号
#/etc/grafana/grafana.ini 中找到http_port 默认端口为3000#启动
sudo systemctl start grafana-server#开机自启
sudo systemctl enable grafana-server#访问
#http://localhost:3000
#默认用户密码admin/admin 可在配置文件 Security 节点下修改
仪表盘模板
https://grafana.com/grafana/dashboards/13919-microsoft-sql-server/
二、数据存储 influxdata
https://docs.influxdata.com/influxdb/v2/install/?t=Linux
安装完成后 访问localhost:8086 ,生成telegraf配置
三、数据采集器 telegraf
https://www.influxdata.com/time-series-platform/telegraf/#
插件
https://githubfast.com/influxdata/telegraf/tree/master/plugins
配置输出
配置输出为 influxdb
###############################################################################
# OUTPUT PLUGINS #
################################################################################ # Configuration for sending metrics to InfluxDB 2.0[[outputs.influxdb_v2]]
# ## The URLs of the InfluxDB cluster nodes.
# ##
# ## Multiple URLs can be specified for a single cluster, only ONE of the
# ## urls will be written to each interval.
# ## ex: urls = ["https://us-west-2-1.aws.cloud2.influxdata.com"]urls = ["http://127.0.0.1:8086"]
#
# ## Token for authentication.token = ""
#
# ## Organization is the name of the organization you wish to write to.organization = ""
#
# ## Destination bucket to write into.bucket = ""
#
# ## The value of this tag will be used to determine the bucket. If this
# ## tag is not set the 'bucket' option is used as the default.
# # bucket_tag = ""
查看全文
99%的人还看了
相似问题
- 配置Nginx服务器用于Web应用代理和SSL{仅配置文件}
- rk3588使用vscode远程debug 配置文件
- Python3.7+PyQt5 pyuic5将.ui文件转换为.py文件、Python读取配置文件、生成日志
- SpringBoot-配置文件properties/yml分析+tomcat最大连接数及最大并发数
- Nginx的核心配置文件
- docker 安装mongodb 实现 数据,日志,配置文件外挂
- 总结:利用原生JDK封装工具类,解析properties配置文件以及MF清单文件
- 在gitlab中指定自定义 CI/CD 配置文件
- Spring集成MyBatis(自定义类和xml配置文件两种形式)
- IS420ESWBH3A GE 附加配置文件和I/O组件中的单独标签
猜你感兴趣
版权申明
本文"Grafana安装配置":http://eshow365.cn/6-36346-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!
- 上一篇: GZ038 物联网应用开发赛题第1套
- 下一篇: Spring Gateway基础知识总结