前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >腾讯云TDP-使用netdata的fping插件获得延迟信息图表

腾讯云TDP-使用netdata的fping插件获得延迟信息图表

原创
作者头像
root0day
修改2022-04-24 03:07:06
8580
修改2022-04-24 03:07:06
举报
文章被收录于专栏:电子科技大学

腾讯云TDP-使用netdata的fping插件获得延迟信息图表

官方参考文档

https://learn.netdata.cloud/docs/agent/collectors/fping.plugin

1.安装fping并启用netdata的fping插件

代码语言:javascript
复制
apt install fping -y
/usr/libexec/netdata/plugins.d/fping.plugin install

2.在 /etc/hosts 中记录IP和主机名的对应关系

3.编辑 /etc/netdata/fping.conf 配置文件

代码语言:javascript
复制
# uncomment the following line - it should already be there
fping="/usr/local/bin/fping"

# set here all the hosts you need to ping
# I suggest to use hostnames and put their IPs in /etc/hosts
hosts="do-arms3 do-blr1"

# override the chart update frequency - the default is inherited from Netdata
update_every=1

# time in milliseconds (1 sec = 1000 ms) to ping the hosts
# 200 = 5 pings per second
ping_every=200

# other fping options - these are the defaults
fping_opts="-R -b 56 -i 1 -r 0 -t 5000"

4.查看效果

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 1.安装fping并启用netdata的fping插件
  • 2.在 /etc/hosts 中记录IP和主机名的对应关系
  • 3.编辑 /etc/netdata/fping.conf 配置文件
  • 4.查看效果
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档