Hello,
I am trying to implement JMX monitoring with Zabbix 2.0. I want to monitor my Jboss instance using Zabbix. I have done following things.
1. I have compiled Zabbix server 2.0 with following arguments.
./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl --enable-java
1.1 - Configured the JavaGateway=X.X.X.X & JavaGatewayPort=10052 in
Zabbix_server.conf file
1.2 - Started the Zabbix Server and Zabbix_java gateway in zabbix Server.
2. I have compiled zabbix agent (In JBoss Server) with following arguments.
./configure --enable-agent
3. I have configured JBoss to enable jmxremote connections (With authentication).
4. I have added a host in zabbix GUI for this host. (As described here
:http://www.zabbix.com/documentation/...jmx_monitoring)
5. And Added a simple Item to Monitor. ( jmx["java.lang:type=Runtime",Uptime] )
6. But in the Agent Log i am Getting
Sending back [ZBX_NOTSUPPORTED] +JMX monitoring
7. And in the Zabbix GUI, The JMX monitor Icon aganist the Host is red in colour and saying "java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectI".
And Also The "Select" button against the Key field is disabled in my Item Window. Please find the attached screenshot.
Is there any additional steps required for the JMX monitor to work?
EDIT : And I am seeing some error in /tmp/zabbix_java.log in Zabbix Server Please see the attached Error.txt file.
Any help would highly appreciated.
Please help me in fixing this issue.
Thanks,
Arun S
I am trying to implement JMX monitoring with Zabbix 2.0. I want to monitor my Jboss instance using Zabbix. I have done following things.
1. I have compiled Zabbix server 2.0 with following arguments.
./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl --enable-java
1.1 - Configured the JavaGateway=X.X.X.X & JavaGatewayPort=10052 in
Zabbix_server.conf file
1.2 - Started the Zabbix Server and Zabbix_java gateway in zabbix Server.
2. I have compiled zabbix agent (In JBoss Server) with following arguments.
./configure --enable-agent
3. I have configured JBoss to enable jmxremote connections (With authentication).
4. I have added a host in zabbix GUI for this host. (As described here
:http://www.zabbix.com/documentation/...jmx_monitoring)
5. And Added a simple Item to Monitor. ( jmx["java.lang:type=Runtime",Uptime] )
6. But in the Agent Log i am Getting
Sending back [ZBX_NOTSUPPORTED] +JMX monitoring
7. And in the Zabbix GUI, The JMX monitor Icon aganist the Host is red in colour and saying "java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectI".
And Also The "Select" button against the Key field is disabled in my Item Window. Please find the attached screenshot.
Is there any additional steps required for the JMX monitor to work?
EDIT : And I am seeing some error in /tmp/zabbix_java.log in Zabbix Server Please see the attached Error.txt file.
Any help would highly appreciated.
Please help me in fixing this issue.
Thanks,
Arun S

Comment