项目作者: vozlt

项目描述 :
Nginx stream server traffic status core module
高级语言: C
项目地址: git://github.com/vozlt/nginx-module-stream-sts.git
创建时间: 2017-02-20T05:35:48Z
项目社区:https://github.com/vozlt/nginx-module-stream-sts

开源协议:BSD 2-Clause "Simplified" License

下载


Nginx stream server traffic status core module

License

Nginx stream server traffic status core module

Table of Contents

Version

This document describes nginx-module-stream-sts v0.1.1 released on 04 Feb 2018.

Dependencies

Compatibility

  • Nginx
    • 1.11.5 \<= (last tested: 1.15.0)

Earlier versions does not work.

Screenshots

nginx-module-sts screenshot

Installation

  1. Clone the git repository.

    1. shell> git clone git://github.com/vozlt/nginx-module-sts.git
    1. shell> git clone git://github.com/vozlt/nginx-module-stream-sts.git
  2. Add the module to the build configuration by adding

    1. --with-stream
    2. --add-module=/path/to/nginx-module-sts
    3. --add-module=/path/to/nginx-module-stream-sts
  3. Build the nginx binary.

  4. Install the nginx binary.

Synopsis

  1. http {
  2. stream_server_traffic_status_zone;
  3. ...
  4. server {
  5. ...
  6. location /status {
  7. stream_server_traffic_status_display;
  8. stream_server_traffic_status_display_format html;
  9. }
  10. }
  11. }
  12. stream {
  13. server_traffic_status_zone;
  14. ...
  15. server {
  16. ...
  17. }
  18. }

Description

This is an Nginx module that provides access to stream server traffic status information.
This is a porting version of the nginx-module-vts to the NGINX “stream” subsystem so as to support the same features in nginx-module-vts.
It contains the current status such as servers, upstreams, user-defined filter.
This module is the core module of two modules(nginx-module-sts, nginx-module-stream-sts).

The functions of each module are as follows:

  • nginx-module-stream-sts
    • Support for implementing stream server stats.
    • Support for implementing stream filter.
    • Support for implementing stream limit.
    • Support for implementing stream embedded variables.
  • nginx-module-sts
    • Support for implementing display of stream server stats.
    • Support for implementing control of stream server stats.

See Also

TODO

Donation

License

Author

YoungJoo.Kim(김영주) [vozltx@gmail.com]