vozlt / nginx-module-stream-sts

Nginx stream server traffic status core module
BSD 2-Clause "Simplified" License
68 stars 23 forks source link
c monitoring nginx nginx-module nginx-stream-traffic-status vozlt-nginx-modules

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

Earlier versions does not work.

Screenshots

nginx-module-sts screenshot

Installation

  1. Clone the git repository.

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

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

  4. Install the nginx binary.

Synopsis

http {
    stream_server_traffic_status_zone;

    ...

    server {

        ...

        location /status {
            stream_server_traffic_status_display;
            stream_server_traffic_status_display_format html;
        }
    }
}

stream {
    server_traffic_status_zone;

    ...

    server {
        ...
    }
}

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:

See Also

TODO

Donation

License

Author

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