在使用源码安装 zabbix agent时,如果报标题的错误,表示没有pcre没有安装,先安装他之后,就可。
yum -y install pcre*
./configure --prefix=/usr/local/zabbix --enable-agent