Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 625 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 625 Bytes

script

nginxupdate.sh

将DIR,CONF,TARDIR,NGINXVERSION修改成你系统上的相应路径即可使用。

zabbixinstall.sh

Centos7,zabbix3.4.x,Mariadb

http status monitor

sh http_status_monitor www.baidu.com

backup_mysql.sh restore_mysql.sh

两个文件需要配套使用。使用前请根据实情情况,先修改参数。

block/ssh_expect.exp

使用:yum install expect

     expect expect.exp youip youpassword

ssh_expect.sh

使用: 先以 ip,user,password 格式写填写sshinfo.csv文件,再sh ssh_expect.sh

block

一些脚本段,可用于组装