上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 70 下一页
摘要: 1.ActiveMQ 安装: ActiveMQ 官网: http://activemq.apache.org ActiveMQ5.10.x 以上版本必须使用 JDK1.8 才能正常使用。 ActiveMQ5.9.x 及以下版本使用 JDK1.7 即可正常使用。 2.What is the diffe 阅读全文
posted @ 2020-10-18 15:52 littlevigra 阅读(649) 评论(0) 推荐(0)
摘要: 1.非常重要的结论:server_name对应的是http请求头里的Host字段的值 curl.exe -H "Host: aaa" 10.210.65.73 参考:https://www.cnblogs.com/xiaoshiwang/p/11436332.html proxy_set_heade 阅读全文
posted @ 2020-10-17 21:22 littlevigra 阅读(193) 评论(2) 推荐(0)
摘要: 1.timelion .es(q='status:200',index=filebeat-testindex*,timefield=@timestamp,metric=count).label('200'),.es(q='status:502',index=filebeat-testindex*,t 阅读全文
posted @ 2020-10-03 17:01 littlevigra 阅读(1319) 评论(1) 推荐(0)
摘要: 1.redis 主从复制如何实现的? 1.1 连接建立阶段 1.2 数据同步阶段 1.3命令传播阶段 是指将一台Redis服务器的数据,复制到其他的Redis服务器。前者称为主节点(master),后者称为从节点(slave);数据的复制是单向的,只能由主节点到从节点。 需要注意,主从复制的开启,完 阅读全文
posted @ 2020-10-01 22:49 littlevigra 阅读(508) 评论(0) 推荐(0)
摘要: 1.拨测服务端口 [root@VM_0_111_centos shell]# cat check_http_code1.sh #!/bin/bash while true do cat input1.txt| while read line do return_Code=`$line ;echo $ 阅读全文
posted @ 2020-10-01 16:31 littlevigra 阅读(650) 评论(0) 推荐(0)
摘要: 1.显示请求使用时间-使用gauge显示每次的请求时间 [root@VM_0_111_centos exporters]# cat request_time.py |egrep -v '^#|^$' import prometheus_client from prometheus_client im 阅读全文
posted @ 2020-09-20 22:28 littlevigra 阅读(420) 评论(0) 推荐(0)
摘要: 1.编写exporter import prometheus_client from prometheus_client import Gauge,start_http_server,Counter import pycurl import time import threading from io 阅读全文
posted @ 2020-09-19 21:40 littlevigra 阅读(1551) 评论(0) 推荐(0)
摘要: 0.pushgateway的安装和配置 tar -zxf pushgateway-1.2.0.linux-amd64.tar.gz ./pushgateway & 在Prometheus添加配置 - job_name: 'node_111' static_configs: - targets: [' 阅读全文
posted @ 2020-09-17 22:14 littlevigra 阅读(565) 评论(4) 推荐(0)
摘要: 1.腾讯云数据库默认大小写不敏感 mysql> show variables like "%case%"; + + + | Variable_name | Value | + + + | lower_case_file_system | ON | | lower_case_table_names | 阅读全文
posted @ 2020-08-27 10:10 littlevigra 阅读(317) 评论(0) 推荐(0)
摘要: 1.<!--<appender-ref ref="filelog" />--> 2.<appender-ref ref="filelog" /> 1.tomcat项目uri自定义 ls /opt/application/tomcat/campus_machine/conf/Catalina/loca 阅读全文
posted @ 2020-08-26 16:29 littlevigra 阅读(250) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 70 下一页