Sign inSign up

telenliu/ping_observing

By telenliu

Updated 3 months ago

Image
0

337

telenliu/ping_observing repository overview

运行指令
docker run -d --name=pingObserving --restart=always -v /data/pingObserving/app/conf:/app/conf telenliu/ping_observing:v26.07.0813
本工具主要执行网络断

支持ping与http请求,每个一段时间刷新一下

配置信息

conf/config.yaml

# # notices配置
---
localName: "开发调试电脑"  #给消息添加来源

notices: # 通知对象
    -
        type: "qiyeWX" # 企业微信通知 
        url: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=********" #通知调用地址
        key: "********"
        noticeID: "qyTelen" # 唯一ID
    -
        type: "feishu" # 飞书自定义机器人
        url: "https://open.feishu.cn/open-apis/bot/v2/hook/********" # 通知调用地址
        key: "********"
        noticeID: "fsTelen" # 唯一ID

pings: # ping对象
    -
        host: "192.168.1.2"
        name: "旁路由"
        minNDur: 60  #(单位分钟)不填默认24小时
    -
        host: "www.baidu.com"
        
asks: # ping对象
    -
        url: "http://www.baidu.com"
        name: "百度"
        noticeID: "qyTelen,fsTelen"

Tag summary

Content type

Image

Digest

sha256:1f33d0748

Size

74 MB

Last updated

3 months ago

docker pull telenliu/ping_observing:v26.07.0813