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

AlexGluck/ZBX_NGINX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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!

About

Zabbix monitoring template for nginx

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages