omar-haris / nginx-rtmp-monitoring

real-time monitoring statistics dashboard for nginx rtmp module
MIT License
293 stars 92 forks source link

live button showing down #24

Open laddu38732 opened 6 years ago

laddu38732 commented 6 years ago

rtmp monitor

Please give me the suggestion and solution to this problem.

gavin2812 commented 6 years ago

I have the same problem, CPU and RAM show, but banner says server is down...

laddu38732 commented 5 years ago

bro please respond its showing same issue again down

Svevak commented 3 years ago

@3m1o I have the same issue. Can you please help us here?

My config.json file looks like this:

{ "site_title":"RTMP Monitoring", "http_server_port":9991, "rtmp_server_refresh":3000, "rtmp_server_timeout":15000, "rtmp_server_url":"http://XXX.XXX.XXX.XXX/stat.xml", "rtmp_server_stream_url":"rtmp://XXX.XXX.XXX.XXX/live/", "rtmp_server_control_url":"http://XXX.XXX.XXX.XXX/control", "session_secret_key":"change_me_random", "username":"XXXXX", "password":"XXXXX", "language":"en", "template":"default", "login_template":"login", "version":"1.0.2" }

Svevak commented 3 years ago

@3m1o I have the same issue. Can you please help us here?

My config.json file looks like this:

{ "site_title":"RTMP Monitoring", "http_server_port":9991, "rtmp_server_refresh":3000, "rtmp_server_timeout":15000, "rtmp_server_url":"http://XXX.XXX.XXX.XXX/stat.xml", "rtmp_server_stream_url":"rtmp://XXX.XXX.XXX.XXX/live/", "rtmp_server_control_url":"http://XXX.XXX.XXX.XXX/control", "session_secret_key":"change_me_random", "username":"XXXXX", "password":"XXXXX", "language":"en", "template":"default", "login_template":"login", "version":"1.0.2" }

Update: Nginx access.log shows a 404 for the file stat.xml, which is not in the root directory. The manual refers to a stats.xsl [04/Jan/2021:12:47:39 +0000] "GET /stat.xml HTTP/1.1" 404 162 "-" "-"

Copying the stat.xsl to a new file named "stat.xml" changes the status of the service from "down" to "live". But now I still don't get any values like traffic in, viewers etc. @3m1o Can you help?

Svevak commented 3 years ago

@3m1o I have the same issue. Can you please help us here? My config.json file looks like this: { "site_title":"RTMP Monitoring", "http_server_port":9991, "rtmp_server_refresh":3000, "rtmp_server_timeout":15000, "rtmp_server_url":"http://XXX.XXX.XXX.XXX/stat.xml", "rtmp_server_stream_url":"rtmp://XXX.XXX.XXX.XXX/live/", "rtmp_server_control_url":"http://XXX.XXX.XXX.XXX/control", "session_secret_key":"change_me_random", "username":"XXXXX", "password":"XXXXX", "language":"en", "template":"default", "login_template":"login", "version":"1.0.2" }

Update: Nginx access.log shows a 404 for the file stat.xml, which is not in the root directory. The manual refers to a stats.xsl [04/Jan/2021:12:47:39 +0000] "GET /stat.xml HTTP/1.1" 404 162 "-" "-"

Copying the stat.xsl to a new file named "stat.xml" changes the status of the service from "down" to "live". But now I still don't get any values like traffic in, viewers etc. @3m1o Can you help?

Update 2: However, I think the RTMP module was not (correct) installed. After (re)installing (https://www.nginx.com/blog/video-streaming-for-remote-learning-with-nginx/#compile) the service is now running!