安装配置zabbix-server
# wget http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/2.4.1/zabbix-2.4.1.tar.gz/download# tar zxvf zabbix-2.4.1.tar.gz && cd zabbix-2.4.1/frontends/php
# cp -a . /data/www/zabbix/
# cat /etc/nginx/conf.d/zabbix.conf
server {
listen 80;
server_namezbx.company.com;
root /data/www/zabbix;
charset utf-8;
access_log/data/log/www/zabbix/access.logmain;
location / {
indexindex.php;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_indexindex.php;
fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;
include fastcgi_params;
}
}
# mkdir -p /data/log/www/zabbix
# service nginx restart
页:
[1]