简体   繁体   中英

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:

Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is 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.

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. Instead, you should run Zabbix Java gateway (see also section on JMX monitoring ).

However, as of Zabbix 2.2.5, the gateway only supports JMX service URLs of the following type:

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

whereas JBoss seems to be monitored using URLs of type

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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