zabbix記錄

server agent proxy:磁盤I/0、數據庫性能將成爲整個監控系統運行良好的關鍵因素。php

 配置項:html

./configure --prefix=/zabbix --enable-server --enable-agent --with-postgresql --enable-ipv6 --with-net-snmp --with-libcurl --
with-libxml2前端

依賴項:linux

yum -y install libxml2-devel.x86_64 net-snmp-devel.x86_64 libcurl-devel.x86_64 sql

添加帳號:useradd zabbix數據庫

建立數據庫:zabbix,並導入數據frontend

安裝httpd,並配置ServerName 【/etc/httpd/conf/httpd.conf】curl

複製前端文件:cp -r zabbix-3.2.6/frontends/php/* /var/www/html/zabbix/post

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.linuxidc.com/Linux/2016-04/130440.htm

相關文章
相關標籤/搜索