通过 JMX/SNMP 公开应用程序特定计数器

发布于 2024-09-08 10:34:38 字数 241 浏览 4 评论 0原文

我正在开发的服务器应用程序的某些实时功能将受益于将计数器暴露给网络管理系统。

我正在考虑一个解决方案,在该解决方案中,我使用 Java 应用程序中的 JMX API,并通过一些配置/魔术/库可以将此信息公开为 SNMP 数据。

我怀疑在过去,JDMK 做过类似的事情。这仍然是最好的解决方案吗? JDK 的许可是否存在一些问题?

MX4J怎么样,可以用来通过SNMP导出计数器吗?

其他更好的解决方案?

Certain real-time features of the server application I'm working on would benefit from exposing counters to a Network Management System.

I am thinking about a solution where I am using the JMX API from a Java application and via some configuration/magic/libraries can expose this information as SNMP data.

Back in the old days, JDMK did something like this I quess. Is that still the best solution? Was there some issues regarding the license of JDMK?

What about MX4J, can it be used to export counters via SNMP?

Other, better solutions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文