Loading

监控web接口和添加触发器

1: 以监控百度接口为例子:

www.baidu.com1: 打开

2: 过滤ss0.bdstatic.com

3: 选择两个url进行监控

https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/mancard/css/card_min_dee38e45.css

https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo_top_ca79a146.png

4: 添加主机

4.1 解析域名对应的ip地址

nslookup ss0.bdstatic.com

4.2 添加主机

5: 添加web监控

配置-> 主机 -> web探测 -> 创建web场景

5.1 场景(ss0.bdstatic.com static web)

5.2 步骤

url: https://{HOST.IP}/5aV1bjqh_Q23odCf/static/mancard/css/card_min_dee38e45.css

头部: Host: ss0.bdstatic.com

 

url:https://{HOST.IP}/5aV1bjqh_Q23odCf/static/superman/img/logo_top_ca79a146.png

头部:Host: ss0.bdstatic.com

6: 查看web探测信息

监测中-> web监测

搜索主机->web监测

7: 定义触发器

监控状态码返回是否是200

8: 触发器触发

返回不为200触发

9: Post参数使用

username=aaa&password=bbb

 

posted @ 2018-07-10 20:28  KubeSec  阅读(964)  评论(0编辑  收藏  举报