会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
littlevigra
用个简单例子来让自己清楚工作过程
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
18
19
20
21
22
23
24
25
26
···
70
下一页
2020年10月18日
ActiveMQ服务器宕机-消息丢失 - failover + 持久化
摘要: 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)
2020年10月17日
Nginx 如何处理 HTTP 请求
摘要: 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)
2020年10月3日
kibana-timelion-QPS案例 - 容器日志收集方案
摘要: 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)
2020年10月1日
redis 主从复制如何实现的? redis 的集群模式如何实现? redis 的 key 是如何寻址的?
摘要: 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)
2020年9月20日
flask - exporter -gauge - python - 请求时间显示 + 自定义监控-pushgateway-flask
摘要: 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)
2020年9月19日
用python编写exporter监控接口访问数量+错误率+响应时间
摘要: 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)
2020年9月17日
prometheus pushgateway-简单-脚本-自定义 - EOF 运维神器 federate + 多instances聚合
摘要: 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)
2020年8月27日
数据库大小写导致程序找不到表起不来 - create 建库
摘要: 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)
2020年8月26日
tomcat日志写入log4j.log tomcat项目uri
摘要: 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
下一页
公告