add some README doc
This commit is contained in:
parent
e25ea3fc83
commit
fb0cd3a593
|
@ -2,4 +2,4 @@
|
|||
# interval = 15
|
||||
|
||||
# # ntp servers
|
||||
# ntp_servers = ["ntp1.aliyun.com"]
|
||||
# ntp_servers = ["ntp.aliyun.com"]
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# netstat
|
||||
|
||||
该插件采集网络连接情况,比如有多少 time_wait 连接,多少 established 连接
|
||||
|
||||
# 监控大盘
|
||||
|
||||
该插件没有单独的监控大盘,OS 的监控大盘统一放到 system 下面了
|
|
@ -0,0 +1,11 @@
|
|||
# ntp
|
||||
|
||||
ntp 插件用于计算时间偏移。生产环境所有的机器,都应该是一致的时间,如果有些机器时间滞后,有些机器时间超前,在一些分布式系统中会是非常严重的问题。所有的大型互联网公司,一定会在机器交付给业务方之前,就由系统运维人员统一做好了时间调整,并启用 ntpd 或 chrony
|
||||
|
||||
## 监控手段
|
||||
|
||||
监控机器时间偏移量,只需要给出 ntp 服务端地址,Categraf 就会周期性去请求,对比本机时间,得到偏移量,监控指标是 ntp_offset_ms 顾名思义,单位是毫秒,一般这个值不能超过 1000
|
||||
|
||||
## 监控规则
|
||||
|
||||
该 README 所在目录的同级目录下有 alerts.json 就是告警规则,导入夜莺即可使用
|
Loading…
Reference in New Issue