Skip to content

anchnet/alive-ping-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

mv cfg.example.json cfg.json
pip install -r requirement.txt
./contorl start

Config

{
  "step": 60,
  "ping_count": 5,  #每个host执行fping的次数
  "debug": true,
  "transfers": [
    "192.168.6.222:6060"
  ],
  "http": 2224,
  "DC": "HL",
  "targets": {
    "alive-ping-test": "192.168.6.222"
  }
}

Metrics

{
    "alive.ping.alive":"采集器状态(1存活,0不存活)",
    "alive.ping.status":"存活状态(1存活,0不存活)",
    "alive.ping.avg":"平均响应时间",
    "alive.ping.loss_rate":"丢包率",
}

About

存活监控-ping-采集器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published