惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
宝玉的分享
宝玉的分享
MyScale Blog
MyScale Blog
The GitHub Blog
The GitHub Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
量子位
博客园 - 司徒正美
V
V2EX
I
InfoQ
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
美团技术团队
N
Netflix TechBlog - Medium
L
LangChain Blog
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
A
About on SuperTechFans
Microsoft Azure Blog
Microsoft Azure Blog

博客园 - 冰之玄岩,小小Programmer

程序员效率工具:3秒搞定JSON格式化,这个在线工具真香! Sql Server免域,异地备份 TeamCity+Docker k8s 安装步骤 Gitlab使用时的一些注意事项 Docker常用命令 AspNetCore OpenId AspNetCore中的IdentityServer4客户端认证模式实现 AspNet Core 认证 基于TeamCity的asp.net mvc/core,Vue 持续集成与自动部署 使用TFS 自动编译时的一点设置 SQL Server Update 语句使用Nolock 语法 SQl server 关于重复插入数据的测试 SQL Server 大数据量分页建议方案 页面轮换,ViewFlipper 和 ViewPager 的区别 Mono for android 如何动态添加View,线程内部如何更新UI. C#开发Android环境搭建 SPQuery.ViewAttributes (.Net 3.5Sp1)WebForm使用System.Web.Routing
基于grafana+telegraf的服务器监控方案
冰之玄岩,小小Programmer · 2019-04-09 · via 博客园 - 冰之玄岩,小小Programmer

准备工作:安装InfluxDb

1 Windows

1.1 下载agent      https://dl.influxdata.com/telegraf/releases/telegraf-1.10.2_windows_amd64.zip

1.2 修改 telegraf.conf 中的Output节点为 InfluxDb,HostName为自己需要定义的名字 

1.3 修改上报信息 :具体参考 https://grafana.com/dashboards/1902

1.4 使用sc 创建成Windows 服务  sc create telegrafService binpath="C:\Program Files\telegraf\telegraf.exe"

1.5 配置grafana:Import Panle:1902

2 Linux

2.1  安装agent  

       wget https://dl.influxdata.com/telegraf/releases/telegraf-1.10.2-1.x86_64.rpm

       yum localinstall telegraf-1.10.2-1.x86_64.rpm

2.2  修改 telegraf.conf 中的Output节点为 InfluxDb,HostName为自己需要定义的名字 

2.3 修改上报信息:具体参考https://grafana.com/dashboards/1375

2.4 systemctl start telegraf

2.5 配置grafana:Import Panle:1375