Nginx installation and configuration Zabbix

Source: Internet
Author: User

Nginx installation and configuration Zabbix

Zabbix official installation documentation is to run Zabbix on httpd, but now most companies use Nginx services

The following describes how to configure Zabbix to run on Nginx.

The following is the Nginx Virtual Host Configuration File

Server {listen 80; server_name zabbix.com; // your custom domain name access_log/var/log/nginx/zabbix. log main; // log root/data/web/zabbix/; // Directory index. php index.html; client_max_body_size 5 m; client_body_buffer_size 128 k; location ~ \. Php $ {fastcgi_pass 127.0.0.1: 9000; fastcgi_index index. php; include fastcgi. conf;} location ~ * \. (Jpg | jpeg | png | gif | css | js | ico) $ {expires max; log_not_found off;} location ~ /\. Ht {deny all;} location ~ /\. {Deny all ;}}

Check your nginx configuration file.

/etc/init.d/nginx configtestnginx: the configuration file /etc/nginx/nginx.conf syntax is oknginx: configuration file /etc/nginx/nginx.conf test is successful

Restart !!

Some Zabbix Tutorials:

Compile and install Zabbix2.4.5 source code in Ubuntu 14.04

Install and deploy the distributed monitoring system Zabbix 2.06

Install and deploy the distributed monitoring system Zabbix 2.06

Install and deploy Zabbix in CentOS 6.3

Zabbix distributed monitoring system practice

Under CentOS 6.3, Zabbix monitors apache server-status

Monitoring MySQL database Parameters Using Zabbix in CentOS 6.3

Install Zabbix 2.0.6 in 64-bit CentOS 6.2

ZABBIX details: click here
ZABBIX: click here

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.