Record only key points first
1.nginx, MYSQL with the official Yum library installation
2.CENTOS upgrade to the latest
3.ZABBIX official RPM installation, and then download the source code library, the source of PHP copied to the Nginx configuration directory
Configuration of 4.NGINX
Location ~ \.php$ {
root/usr/share/nginx/html;
Fastcgi_pass 127.0.0.1:9000;
Fastcgi_index index.php;
Fastcgi_param script_filename $document _root$fastcgi_script_name;
Include Fastcgi_params;
}
This piece should be noticed.
5.grafana Forwarding Agent considerations (be sure to use a domain name and cannot use directory forwarding)
[email protected] conf.d]# cat grafana.conf
server {
server_name *.com;
Listen 80;
CharSet Utf-8;
Index index.html index.htm;
Access_log/data/logs/nginx/grafana.access_log main;
Error_log/data/logs/nginx/grafana.-error_log warn;
Location/{
Proxy_pass http://localhost:3000;
}
}
Resources:
Http://www.cnblogs.com/yyhh/archive/2015/09/08/4792830.html
Http://www.tuicool.com/articles/F7rMnyY
Http://www.cnblogs.com/openfly/p/zabbix.html
Other details are available for further replenishment.
Zabbix 3.2.6+centos 7 +nginx 1.12+ mysql 5.6+ grafana +php 5.6