Alertmanager同时触发邮件报警和钉钉报警获取钉钉群组机器人的Webhook地址;添加Webhook类型的群机器人获取token地址,并通过白名单机制进行接入,如果不知道自己的访问钉钉的IP,则可以在服务器上使用curl命令获取;获取IP办法curl‘https://oapi.dingtalk.com/robot/send?access_token=******‘-H‘Content-Ty
分类:
其他好文 时间:
2020-10-18 16:55:07
阅读次数:
24
首先使用Docker容器安装Jenkins 链接参考 安装成功后使用管理员权限进入到Jenkins容器 docker exec -it -u root jenkins bash 下载docker-compose: curl -L https://github.com/docker/compose/r ...
分类:
其他好文 时间:
2020-10-16 10:54:33
阅读次数:
33
在《在tinycorelinux上安装lxc,lxd(1)》中我们讲到源码适配gcc443,由c11退回c99的一些处理,这里依然要处理大量gnu11的事。准备工作,及编译golangGrub加个swapfile=hda1进去。编译go1.12.6内存起码1g。准备git,git我们用4.x的,需要expat2.tcz和openssl-1.0.0.tcz,都用3.x的,按《在tinycolinux
分类:
系统相关 时间:
2020-10-09 20:31:03
阅读次数:
25
\n time_namelookup: %{time_namelookup}\n time_connect: %{time_connect}\n time_appconnect: %{time_appconnect}\n time_pretransfer: %{time_pretransfer}\n ...
分类:
Web程序 时间:
2020-09-24 20:50:58
阅读次数:
48
Curl命令在linux操作系统中经常来测试网络和url的联通性,模拟正常的网络访问,当然除了这个作用之外,作为y一款强大的工具,curl还支持包括HTTP、HTTPS、ftp等众多协议,还支持POST、cookies、认证、从指定偏移处下载部分文件等功能 1.curl -I选项,只获得对方的响应首 ...
分类:
Web程序 时间:
2020-09-18 17:27:27
阅读次数:
88
废话不多说啦,直接上代码: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 <?php $data = ['username'=>'乔峰','skill'=>'擒龙手']; $headers = array('Content-T ...
分类:
Web程序 时间:
2020-09-18 04:14:38
阅读次数:
56
curl -i https://www.kzf.com/.well-known/openid-configuration Peer’s Certificate issuer is not recognized 此种情况多发生在自签名的证书,报错含义是签发证书机构未经认证,无法识别。我们加个 -K 虽 ...
分类:
其他好文 时间:
2020-09-18 03:29:14
阅读次数:
35
with temp(id,name,curlevel,hasChild) as ( --初始查询 select id,name,1 curlevel,1 hasChild from tabName pc with(nolock) where Disabled = 0 and ParentId is ...
分类:
数据库 时间:
2020-09-18 01:13:23
阅读次数:
31
docker环境搭建 1.数据源准备 curl -fsSL get.docker.com -o get-docker.sh 2.docker CE 下载及安装 下载:sh get-docker.sh --mirror Aliyun 刷新:systemctl daemon-reload 启动:syst ...
分类:
其他好文 时间:
2020-09-18 00:16:28
阅读次数:
38