Welcome! Log In Create A New Profile

Advanced

How can I get nginx-rtmp-module stats for all workers?

Alexander Chekalin
May 10, 2017 11:34AM
Hello,

I’ve set up nginx with nginx-rtmp-module as a NGINX-based Media Streaming Server, and it works fine, but now I try to get stats for this server.

General approach is to use

location /stat { rtmp_stat all; }

which produce xml that can be parsed nicely, but my suspicions are that I got stats for one worker random worker on each poll (not accumulated stats for all workers). The host itself is 4-cores, so I have 4 workers running and I think I got confusing stats since each poll brings me stats for random worker.

Is there any way I can use to get cumulated stats for all workers on host?

Thank you in advance!

- Alexander
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How can I get nginx-rtmp-module stats for all workers?

Alexander Chekalin May 10, 2017 11:34AM

Re: How can I get nginx-rtmp-module stats for all workers?

Roman Arutyunyan May 10, 2017 01:26PM

Re: How can I get nginx-rtmp-module stats for all workers?

Alexander Chekalin May 11, 2017 05:44AM

Re: How can I get nginx-rtmp-module stats for all workers?

Roman Arutyunyan May 11, 2017 07:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 203
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready