Zabbix Share

Zabbix templates, modules & more
Log in
Choose social to login:
Login With Google
Login With Github

Nav view search

Navigation

Advanced Search
  • Applications
    • 1C
    • Anti-Virus
    • Backup
    • Bug and issue tracking
    • Cluster
    • Clustered File Systems
    • DNS
    • Excel Export
    • Firewall
    • HelpDesk System
    • High Availability (HA)
    • Java Application
    • Mail servers
    • Misc
    • Monitoring System
    • NFS
    • NTP
    • Others
    • Pi-Hole
    • Process Managers
    • Queue managers
    • Security
    • SIEM
    • Skype
    • Ticketing System
    • Time synchronization
    • TV Broadcasting
    • Web-servers
  • Cloud
  • Databases
  • Network Appliances
  • Network Devices
  • Official Templates
  • Operating Systems
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix
  • Recently Added
  • Recently Updated
  • Popular
  • Most Rated
  • Top Rated
  • Most Reviewed

Nginx for Zabbix 3.2/3.4 (HTTP/HTTPS) Popular

  • 301.png
  • 302.png

Available on Github: https://github.com/sfuerte/zbx-nginx

 

Zabbix Template for Nginx statistics. The script is written in Python.

 

System requirements

  • Python, http://www.python.org/downloads
  • Nginx, http://nginx.org/, with configured `http_stub_status_module`

Features

  • HTTP/HTTPS support
  • Connection Statistics:
  • Active
  • Reading
  • Waiting
  • Writing
  • Request Statistics:
  • Accepted
  • Handled
  • Total
  • 'Requests Statistics' graph
  • 'Connection Status' graph
  • Screen combining both graphs
  • Version information
  • `{$NGINX_HOST}` and `{$NGINX_PORT}` macros for customization

Installation

Nginx Configuration

Add the following to your default vhost configuration file:

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

Zabbix Configuration

  1. Copy `userparameter_nginx.conf` to `/etc/zabbix/zabbix_agentd.d` folder (or whatever is default and/or configured on your system).
  2. Copy `nginx-stat.py` to `/etc/zabbix/zabbix_agentd.scripts` folder.
    IMPORTANT: if you use another folder for agent scripts, then update userparameter file in the previous step!
  3. Import XML template file (`zbx_template_nginx.xml`) into Zabbix via Web GUI (Configuration -> Templates -> Import).
  4. Assign the imported template to a host and enjoy!
Rating
502
2 votes

Listing Details

Type
Template
Min Zabbix version
3.2.x
Features
  • Zabbix Agent
Link
github.com/sfuerte/zbx-nginx
Created
2017-12-20
Modified
2017-12-28 21:37:52
Tags
nginx, agent, web
Author
sfuerte
Owner
Alex
RecommendReportOwner's listing
All resources created by third parties; use at your own risk
© 2001-2018 by Zabbix SIA. All rights reserved. Trademark Policy · Contact us