Adding Remote JMX for Red5

本文详细介绍了如何在Red5服务器中配置JMX远程监控,包括配置文件参数解释、防火墙设置、使用VisualVM可视化JVM,以及如何通过远程主机连接Red5服务器进行监控。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转自:http://www.arulraj.net/2009/11/adding-remote-jmx-for-red5.html

Red5 is an Open Source Flash Server written in Java that supports:

  • Streaming Video (FLV, F4V, MP4)
  • Streaming Audio (MP3, F4A, M4A)
  • Recording Client Streams (FLV only)
  • Shared Objects
  • Live Stream Publishing
  • Remoting

This is developed by Reverse Engineering of Adobe Flash Media server.  Red5 under the GNU Lesser General Public License. You can Modify and redistribute this software.


What is JMX …?

JMX stands for Java Management eXtension . JMX is written in java technology used to monitor and manage a java application or objects.

The configuration of jmx agent in red5.properties file. the properties are

red5.properties

# JMX
jmx.rmi.port.registry=9999
jmx.rmi.port.remoteobjects=
jmx.rmi.host=0.0.0.0
jmx.rmi.ssl=false

jmx.rmi.port.registry – the RMI registry port

jmx.rmi.host – the host value by default 0.0.0.0 . if the host is 127.0.0.1 you can’t access in remote. Normally this is your machine ip address.

you must open the firwall for the port 9999. then only you access from remote. For more information http://bit.ly/1ACRRY

you can visualize the jvm by using this software https://visualvm.dev.java.net/

After install this Add the remote Host and Add remote JMX connection by adding

service:jmx:rmi://192.168.2.6:9999/jndi/rmi://192.168.2.6:9999/red5

192.168.2.6 – ip address of red5

the default user name for jmx is “red5user” and password is “changeme” .  you can change this bu changing the access.properties and password.properties in red5 conf folder.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值