Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 1.76 KB

readme_zh.md

File metadata and controls

63 lines (48 loc) · 1.76 KB

监控web服务可用性及访问质量,采用go语言编写,易于安装和二次开发
English|中文

Feature

  • 返回状态码检测
  • 页面响应时间检测
  • 页面关键词匹配检测
  • 自定义Header
  • GET、POST、PUT访问
  • 自定义POST BODY
  • 检测结果支持推送 nightingale、open-falcon

Architecture

Architecture

ScreenShot

ScreenShot ScreenShot

常见问题

Install

docker 安装

git clone https://github.com/710leo/urlooker.git
cd urlooker
docker build .
docker volume create urlooker-vol
docker run -p 1984:1984 -d --name urlooker --mount source=urlooker-vol,target=/var/lib/mysql --restart=always [CONTAINER ID]

源码安装

# 安装mysql
yum install -y mysql-server
wget https://raw.githubusercontent.com/710leo/urlooker/master/sql/schema.sql
mysql -h 127.0.0.1 -u root -p < schema.sql

# 安装组件
curl https://raw.githubusercontent.com/710leo/urlooker/master/install.sh|bash
cd $GOPATH/src/github.com/710leo/urlooker

# 将[mysql root password]替换为mysql root 数据库密码
sed -i 's/urlooker.pass/[mysql root password]/g' configs/web.yml

./control start all

打开浏览器访问 http://127.0.0.1:1984 即可

答疑

QQ群:556988374

Thanks

一些功能参考了open-falcon,感谢 UlricQin & laiwei