通过 HTTP 替代方案访问 JMX
我们使用 MX4J 通过容器本身的 Web 界面访问 JMX 相关操作/属性。我想知道是否有可用的替代方案,因为 MX4J 的最后一个服务版本是在 2006 年。我基本上希望克服 MX4J 在处理集合方面的限制。
We use MX4J to access JMX related operations/attributes via a web interface in the container itself. I wanted to know if there are alternatives that are available for it, since the last service release for MX4J was in 2006. I am basically looking to overcome limitations of MX4J in handling collections.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我试验一次Jolokia 看起来很酷。来自网页:
一定要尝试一下。我成功地使用它创建了一个 AJAX/JavaScript 仪表板,在可刷新的图表上显示可配置的 JMX 指标。
I was experimenting once with Jolokia and looks pretty cool. From the webpage:
Definitely give it a try. I used it successfully to create an AJAX/JavaScript dashboard displaying configurable JMX metrics on refreshable charts.
我已经使用 jminix 有一段时间了。我竖起大拇指,非常值得一试!
I have been using jminix quite a while. I give it thumbs up, well worth a try!
你有 MX4j 及其 HttpAdaptor
啊抱歉,请正确阅读 OP 问题,他提到了 MX4j 并要求替代方案......至少你现在有一个链接和屏幕截图:-)
http://mx4j.sourceforge.net/docs/ch05.html
You have MX4j and its HttpAdaptor
Ah sorry, just read the OP question properly, he mentions MX4j and asks for alternatives ... at least you have a link and screenshot now :-)
http://mx4j.sourceforge.net/docs/ch05.html
为了后代,我最近在我的 SimpleJMX 包中添加了一个小型 Web 服务器。如果在类路径中,它将通过 Jetty 将 bean 从平台 MBeanServer 公开到 HTTP。所有页面还有文本版本,方便抓取。
欲了解更多详情,请参阅:
是否有可用的 JMX - REST 桥接器?
For posterity, I've recently added a little web server to my SimpleJMX package. It exposes beans from the platform MBeanServer to HTTP via Jetty if in the classpath. There is also text versions of all pages that make it easy to scrape.
For more details see:
Is there any JMX - REST bridge available?