diff --git a/zabbix/agent-install.sh b/zabbix/agent-install.sh index 0692207..bae0bbc 100644 --- a/zabbix/agent-install.sh +++ b/zabbix/agent-install.sh @@ -14,7 +14,7 @@ if [ "${isY}" != "y" ] && [ "${isY}" != "Y" ] && [ "${isY}" != "yes" ] && [ "${i exit 1 fi echo "安装相关组件" -yum install -y ntpdate gcc gcc-c++ wget unixODBC unixODBC-devel +yum install -y ntpdate gcc gcc-c++ wget pcre* unixODBC unixODBC-devel echo "同步服务器时间" ntpdate asia.pool.ntp.org echo "创建zabbix用户"