| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
8年前发布

pingd - 世界上最简单的监控服务

pingd 是世界上最简单的监控服务,使用 golang 编写。软件支持 IPv6,但是服务器不支持。

pingd 允许同时 ping 上千个 IPs,在此期间还可以管理监控的主机。

用户提供主机名或者 IP,还有用户邮箱地址,就可以使用 3 个生成 URLs 来开启,停止或者删除你的追踪。每当你的服务器停机或者后台在线都会发送通知,还包含控制 URLs。

~$# start monitoring your server with a single curl command.  ~$curl ping.gg/me@example.org/104.28.13.51  [ ok ] Ping alert created for host '104.28.13.51' and email 'me@example.org'. Check your email to activate it.  ~$# activate the first and the next ones are activated automatically.  ~$curl ping.gg/me@example.org/example.org  [ ok ] Ping alert created for host 'example.org' and email 'me@example.org'.  ~$# you can skip the IP if you run it from the server, watch out for proxies, etc.  ~$curl ping.gg/me@example.org  [ ok ] Ping alert created for host '104.28.12.51' (your IP) and email 'me@example.org'.

ping.gg 示例:

# get the example  export GOPATH=$PWD  go get github.com/pinggg/pingd/examples/httpmail   # start pinging 8.8.8.8 and 8.8.4.4 and email you if they go down  sudo bin/httpmail -email=mymail@example.org 8.8.8.8 8.8.4.4   # add a new host while running  curl localhost:7700/4.4.2.2   # stop pinging 8.8.4.4  curl -XDELETE localhost:7700/8.8.4.4

官方网站:http://www.open-open.com/lib/view/home/1451626328730

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1451626328730.html