grep、sed、awk 1、通配符类型 基本5种类型: * 、{} 、[] 、[^]、?、 *通配符 匹配所有内容 **举例: find /etc -type f -name “*.con** 找出/etc下面所有以.conf结尾的文件 -f 文件 -d 目录) find /etc/ -type f -n…
适用客户端数量多,或者是对于客户端数量及状态比较敏感的情况下 cat /root/WLC_client_auth/create_list.py #!/usr/bin/python # -*- coding: UTF-8 -*- import paramiko import socket import time,os ip_list = ["…
修改zabbix允许中文 修改/usr/share/zabbix/include/defines.inc.php文件中修改,加入中文字符支持,define(‘ZBX_PREG_INTERNAL_NAMES’, ‘([0-9a-zA-Z_. -]+)’); 修改为: define(‘ZBX_PREG_INTERNAL_NAMES’, ‘([0-9a-…
Centos 7安装lnmp、zabbix 1、Yum安装Nginx 1)配置Centos 7 Nginx Yum源仓库 [root@localhost ~]# rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarc…