Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/AlexGluck/ZBX_NGINX

Zabbix monitoring template for nginx
https://github.com/AlexGluck/ZBX_NGINX

nginx zabbix zabbix-templates

Last synced: 14 days ago
JSON representation

Zabbix monitoring template for nginx

Awesome Lists containing this project

README

        

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!