zabbix记录
server agent proxy:磁盘I/0、数据库性能将成为整个监控系统运行良好的关键因素。配置项:
./configure --prefix=/zabbix --enable-server --enable-agent --with-postgresql --enable-ipv6 --with-net-snmp --with-libcurl --
with-libxml2
依赖项:
yum -y install libxml2-devel.x86_64 net-snmp-devel.x86_64 libcurl-devel.x86_64
添加账号:useradd zabbix
创建数据库:zabbix,并导入数据
安装httpd,并配置ServerName 【/etc/httpd/conf/httpd.conf】
复制前端文件:cp -r zabbix-3.2.6/frontends/php/* /var/www/html/zabbix/
export LD_LIBRARY_PATH=$PGHOME/lib:$ZABBIX_HOME/lib:/lib64:/usr/lib64:/usr/local/lib64:/lib:/usr/lib:/usr/local/lib,开启zabbix_server服务
安装php,配置:
date.timezone = Asia/Shanghai
max_execution_time = 300
post_max_size = 32M
max_input_time = 300
memory_limit = 128M
mbstring.func_overload = 0 ,重启httpd服务
解决剩余问题:
1.php-pgsql.x86_64;2.php-bcmath.x86_64;3.php-mbstring.x86_64;4.php-gd.x86_64;5.php-xml.x86_64
2.下载配置文件,手动放到指定目录即可
http://www.iyunv.com/Linux/2016-04/130440.htm
页:
[1]