当前位置: 首页 > news >正文

Grafana安装配置

配置文件路径
/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配置
image.png

三、数据采集器 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 = ""

相关文章:

  • 模型能力测试
  • 【Codeforces】Codeforces Round 905 (Div. 3)
  • 【带头学C++】----- 三、指针章 ---- 3.11 补充重要指针知识
  • C/C++轻量级并发TCP服务器框架Zinx-游戏服务器开发004:游戏核心消息处理 - 玩家类的实现
  • Spring Gateway基础知识总结
  • 蓝桥杯每日一题2023.11.9
  • 网络流量分类概述
  • 在Windows 10上安装单机版的hadoop-3.3.5
  • 引入lombok常用注解
  • 双11网络机顶盒哪个好?数码博主横评20款盘点网络机顶盒排名
  • ElementUI-tree拖拽功能与节点自定义
  • 绿色低碳 数字未来-辽宁省建筑电气2023年学术年会-安科瑞 蒋静
  • C# Winform自定义CheckBox控件
  • python 为什么这么受欢迎?python的优势到底在哪里?
  • Linux篇---第二篇
  • [PHP内核探索]PHP中的哈希表
  • CentOS6 编译安装 redis-3.2.3
  • CentOS7 安装JDK
  • CNN 在图像分割中的简史:从 R-CNN 到 Mask R-CNN
  • Date型的使用
  • input的行数自动增减
  • JavaScript服务器推送技术之 WebSocket
  • Material Design
  • MySQL几个简单SQL的优化
  • php的插入排序,通过双层for循环
  • Python代码面试必读 - Data Structures and Algorithms in Python
  • React 快速上手 - 07 前端路由 react-router
  • React的组件模式
  • vue2.0开发聊天程序(四) 完整体验一次Vue开发(下)
  • Webpack入门之遇到的那些坑,系列示例Demo
  • 关于Android中设置闹钟的相对比较完善的解决方案
  • 关于字符编码你应该知道的事情
  • 警报:线上事故之CountDownLatch的威力
  • 前端每日实战:61# 视频演示如何用纯 CSS 创作一只咖啡壶
  • 浅析微信支付:申请退款、退款回调接口、查询退款
  • 入手阿里云新服务器的部署NODE
  • 原生JS动态加载JS、CSS文件及代码脚本
  • 数据库巡检项
  • !!java web学习笔记(一到五)
  • # Java NIO(一)FileChannel
  • (2)STM32单片机上位机
  • (2015)JS ES6 必知的十个 特性
  • (C语言)二分查找 超详细
  • (ISPRS,2023)深度语义-视觉对齐用于zero-shot遥感图像场景分类
  • (二)PySpark3:SparkSQL编程
  • (附源码)spring boot球鞋文化交流论坛 毕业设计 141436
  • (附源码)springboot金融新闻信息服务系统 毕业设计651450
  • (附源码)springboot助农电商系统 毕业设计 081919
  • (附源码)计算机毕业设计SSM疫情居家隔离服务系统
  • (六)c52学习之旅-独立按键
  • (四)linux文件内容查看
  • (一)u-boot-nand.bin的下载
  • (转)Scala的“=”符号简介
  • (转)Windows2003安全设置/维护
  • .describe() python_Python-Win32com-Excel