简体   繁体   English

在ZABBIX代理窗口中使用JBOSS 7.1 JMX进行监视

[英]Monitoring with JBOSS 7.1 JMX in ZABBIX agent windows

I have a problem when i try connect my zabbix server with JBoss 7.1, the error is: 我尝试将zabbix服务器与JBoss 7.1连接时出现问题,错误是:

Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi. 无法检索RMIServer存根:javax.naming.ServiceUnavailableException [根本异常是java.rmi。

I think the fault is in the client configuration, the agent run in windows, some know what command I need to use for change the port in run.conf. 我认为故障出在客户端配置中,代理程序在Windows中运行,有些人知道我需要使用什么命令来更改run.conf中的端口。

thanks for your time. 谢谢你的时间。

The first thing to do is to note that in order to monitor JBoss through JMX you do not need to have Zabbix agent running. 首先要做的是注意,为了通过JMX监视JBoss,您不需要运行Zabbix代理。 Instead, you should run Zabbix Java gateway (see also section on JMX monitoring ). 相反,您应该运行Zabbix Java网关 (另请参见“ JMX监视”部分 )。

However, as of Zabbix 2.2.5, the gateway only supports JMX service URLs of the following type: 但是,从Zabbix 2.2.5开始,网关仅支持以下类型的JMX服务URL:

service:jmx:rmi:///jndi/rmi://{CONN}:{PORT}/jmxrmi

whereas JBoss seems to be monitored using URLs of type 而JBoss似乎使用以下类型的URL进行监视

service:jmx:remoting-jmx://{CONN}:{PORT}

Consequently, JBoss monitoring with Zabbix is currently not possible out of the box, but you can use patches and ideas described in ZBXNEXT-1274 . 因此,当前无法立即使用Zabbix进行JBoss监视,但是您可以使用ZBXNEXT-1274中描述的补丁和想法。

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

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