上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 70 下一页
摘要: 1. 好的参考文档:prometheus/blackbox_exporter https://github.com/prometheus/blackbox_exporter https://github.com/prometheus/blackbox_exporter/blob/master/CON 阅读全文
posted @ 2021-03-08 11:13 littlevigra 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1. /usr/local/tengine/conf/conf.d [root@slave1 conf.d]# cat myserver.conf server { listen 80; client_max_body_size 4G; server_name example.com 129.211 阅读全文
posted @ 2021-03-06 21:15 littlevigra 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 1.HTTP连接最显著的特点是客户端发送的每次请求都需要服务器回送响应,在请求结束后,会主动释放连接。 从建立连接到关闭连接的过程称为“一次连接”。 2.在Nginx配置7层代理等存在大量短连接的场景下,阿里云推荐您将TIME-WAIT超时时间修改为5s。运行以下任一命令修改超时时间: TCP/IP 阅读全文
posted @ 2021-03-05 00:46 littlevigra 阅读(289) 评论(1) 推荐(0) 编辑
摘要: 1. Web Analytics Dashboard for NGINX Required NGINX json log format configuration below. https://grafana.com/grafana/dashboards/12559 log_format json_ 阅读全文
posted @ 2021-02-26 23:08 littlevigra 阅读(1342) 评论(0) 推荐(0) 编辑
摘要: 1.根据http://xxxx.com/nginx_status/ 统计 参考:https://www.oschina.net/code/snippet_226718_17879 #/bin/bash 2 3 #nginx_status_url 手动配置项 4 NGINX_STATUS_URL="h 阅读全文
posted @ 2021-02-26 00:33 littlevigra 阅读(2748) 评论(0) 推荐(1) 编辑
摘要: 1. nginx的配置 location /jenkinsno { index index.html index.htm; proxy_pass http://127.0.0.1:8081; proxy_connect_timeout 3000s; proxy_send_timeout 3000s; 阅读全文
posted @ 2021-02-20 18:56 littlevigra 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 1.脚本的路径 2.代码路径 3.自动生成的Jenkinsfile creating-a-pipeline-in-blue-ocean/Jenkinsfile pipeline { agent { docker { image 'node:6-alpine' args '-p 3000:3000' 阅读全文
posted @ 2021-02-20 11:36 littlevigra 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1.mail As an example of loading variable values from Groovy: mail to: 'devops@acme.com', subject: "Job '${JOB_NAME}' (${BUILD_NUMBER}) is waiting for 阅读全文
posted @ 2021-02-18 23:59 littlevigra 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd 阅读全文
posted @ 2021-02-13 00:24 littlevigra 阅读(1403) 评论(0) 推荐(0) 编辑
摘要: 1. asyncio import time import asyncio # func called as one task async def worker_1(time_sleep): print('worker_1 had been called') await asyncio.sleep( 阅读全文
posted @ 2021-02-12 00:45 littlevigra 阅读(141) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 70 下一页