摘要: 执行用户:mysql 脚本内容: #! /bin/sh OSCheckCentOS8=`cat /etc/redhat-release 2>/dev/null |awk '{print $4}' |awk -F"." '{print $1}'`OSCheckSuse=`cat /etc/issue 阅读全文
posted @ 2022-07-03 19:00 呼长喜 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 执行方式:sh scripts.sh scriptsfile="Linux_Memory.sh" check="failed/true" 脚本参数详解: scriptsfile="" zbx二次开发监控脚本 check="" failed(执行)true(查看) 脚本内容: #! /bin/sh s 阅读全文
posted @ 2022-07-03 18:14 呼长喜 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 执行方式:sh scripts.sh hostname="TEST01" ip="198.145.0.122" check="failed/true" 脚本参数详解: hostname="" 执行主机的主机名 ip="" 执行主机的IP地址 check="" failed(执行)true(查看) 脚 阅读全文
posted @ 2022-07-03 17:40 呼长喜 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 执行方式:sh scripts.sh hostname="TEST01" ip="198.145.0.122" check="failed/true" 脚本参数详解: hostname="" 执行主机的主机名 ip="" 执行主机的IP地址 check="" failed(执行)true(查看) 脚 阅读全文
posted @ 2022-07-03 17:21 呼长喜 阅读(219) 评论(0) 推荐(0) 编辑