Skip to content
Zabbix monitoring template for nginx
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Feb 24, 2018
README.md Update README.md Mar 19, 2018
Template_App_Nginx.xml Update Template_App_Nginx.xml Aug 2, 2018

README.md

System requirements

Nginx, with configured `http_stub_status_module`

Features

HTTP/HTTPS support
Connection Statistics:
  • Active
  • Reading
  • Waiting
  • Writing
Request Statistics:
  • Accepted
  • Handled
  • Total
Graph and screen:
  • 'Requests Statistics' graph
  • 'Connection Status' graph
  • Screen combining both graph
Macros for customization:
  • {$NGINX_HOST}
  • {$NGINX_STATS_URI}
  • {$NGINX_PORT}
  • {$NGINX_REQ_NUM}
  • {$NGINX_CON_NUM}

Installation

Nginx Configuration

 

Add the following example to your default vhost configuration file:

location /nginx_status {
    stub_status on;
    access_log off;
    allow 127.0.0.1;
    allow ::1;
    deny all;
}
 

Zabbix Configuration

 

  1. Import XML template file (`zbx_template_nginx.xml`) into Zabbix via Web GUI (Configuration -> Templates -> Import).
  2. Assign the imported template to a host and enjoy!
You can’t perform that action at this time.