07 2023 档案
摘要:通过配置进行更更改数据备份时间和数据保留时间 创建所需环境 mkdir /usr/local/esl/mysql_scripts/log -p mkdir /usr/local/esl/backup_db -p [root@acs-hk-ctos7-prod-01 mysql_scripts]# c
阅读全文
摘要:监控redis双主、双从、主从异常redis VIP切换监控钉钉告警 [root@acs-hk-ctos7-prod-01 scripts]# cat monit_vip_redis.py #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time :
阅读全文
摘要:过滤出实时产生的日志记录 并通过钉钉告警 #!/usr/bin/env bash set -x : ${AWK=awk} G_esl_business="/usr/local/esl/zk-refactor-esl-business/log/log_error.log" G_esl_send="/u
阅读全文
摘要:mysql监控双主同步,异常则通过钉钉告警 脚本内容 #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2023/6/26 17:30 # @Author : 沙河小王子 # @File : mysql_monit.py # @Softw
阅读全文
摘要:[root@acs-hk-ctos7-prod-01 scripts]# cat upstrem.py #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2023/6/25 17:18 # @File : nginx_upstram.py
阅读全文
摘要:[root@acs-hk-ctos7-prod-01 scripts]# cat upstrem.py #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2023/6/25 17:18 # @File : nginx_upstram.py
阅读全文
摘要:[MySQL] master_host= master_port=3306 master_user=root master_password= slave_host= [DingTalk] #生产 prod_webhook_url = https://oapi.dingtalk.com/robot/
阅读全文
摘要:#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2023/7/4 14:00 # @Author : zk_linux # @File : monitoring_code.py # @Software: PyCharm # @Descr
阅读全文
摘要:#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2023/6/27 13:56 # @Author : zk_linux # @File : Disk_monitoring.py.py # @Software: PyCharm from
阅读全文