简体   繁体   English

使用Zabbix进行JMX监控

[英]JMX Monitoring using Zabbix

I need to see what memory size, CPU usage and so on for my application, found zabbix as monitoring tool and want to create bridge between zabbix and my app. 我需要查看我的应用程序的内存大小,CPU使用率等,发现zabbix作为监视工具,并希望在zabbix和我的应用程序之间创建桥梁。 I do not want to add additional module with JMX MBeans. 我不想在JMX MBean中添加额外的模块。 Are there some implementations/solution for creating bridges ? 是否有一些用于创建桥梁的实现/解决方案? I wanna copy some jar/jars o my class path and see general monitoring information. 我想复制一些罐子/罐子我的班级路径,看看一般的监控信息。 Thank a lot. 非常感谢。

It is also possible to use the beta release of Zabbix 2.0 (Beta release is 1.9) which will allow you to use the Java Gateway as a bridge. 也可以使用Zabbix 2.0的Beta版本(Beta版本为1.9),它允许您使用Java Gateway作为桥梁。 This does require running another service, however it does allow you to have remote java processes monitored behind various firewalls that you don't want direct JMX exposure to. 这确实需要运行另一个服务,但它确实允许您在不希望直接JMX暴露的各种防火墙后面监视远程Java进程。

The documentation for the JMX monitoring is here JMX监控的文档在这里

Yes, there is one named Zapcat. 是的,有一个名为Zapcat。 I used it. 我用过它。 It is simple to install and works fine. 它安装简单,工作正常。

http://www.kjkoster.org/zapcat/Zapcat_JMX_Zabbix_Bridge.html http://www.kjkoster.org/zapcat/Zapcat_JMX_Zabbix_Bridge.html

http://sourceforge.net/projects/zapcat/ http://sourceforge.net/projects/zapcat/

Take care, JMX monitoring makes Zabbix server crashes in 2.0.1!!! 小心,JMX监控让Zabbix服务器崩溃在2.0.1!
https://support.zabbix.com/browse/ZBX-5206 https://support.zabbix.com/browse/ZBX-5206

可以在这里使用Jolokiahawtio

You might want to look at the JMX Proxy servlet or write your own if the default one doesn't do what you want. 您可能希望查看JMX代理servlet,或者如果默认代理无法执行您想要的操作,请编写自己的代理

Zabbix should be able to retrieve the data via HTTP. Zabbix应该能够通过HTTP检索数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM