摘要: 钉钉自定义机器人接入文档 zabbix使用钉钉告警需要准备脚本: 脚本示例(注意,使用脚本要在脚本同一级目录下创建目录log来存放日志文件): #! /usr/local/bin/python3 # -*- coding: utf-8 -*- # @Author : liuguixiang # @D 阅读全文
posted @ 2022-04-20 09:47 忘川的彼岸 阅读(712) 评论(0) 推荐(0) 编辑
摘要: centos安装keepalived出现错误: --> 正在处理依赖关系 libmysqlclient.so.18()(64bit),它被软件包 1:net-snmp-agent-libs-5.7.2-49.el7_9.1.x86_64 需要 --> 解决依赖关系完成 错误:软件包:1:net-sn 阅读全文
posted @ 2022-04-20 09:45 忘川的彼岸 阅读(750) 评论(0) 推荐(1) 编辑
摘要: LVM扩容 背景: 做了LVM的磁盘,现在新加一块硬盘,并扩容根分区。 查看硬盘状况 [root@localhost jumpserver]# fdisk -l WARNING: fdisk GPT support is currently new, and therefore in an expe 阅读全文
posted @ 2022-04-20 09:44 忘川的彼岸 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 背景 MySQL在命令行输入密码时会提示mysql: [Warning] Using a password on the command line interface can be insecure.,在某些时候会干扰取值。 解决方法: 使用mysql_config_editor可以解决这一问题。 阅读全文
posted @ 2022-04-20 09:43 忘川的彼岸 阅读(353) 评论(0) 推荐(1) 编辑