Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (43 loc) · 1.24 KB

README.md

File metadata and controls

43 lines (43 loc) · 1.24 KB

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!