This is the Zabbix Java Gateway sources updated to allow
You have to specify a username in your JMX item like "user:protocol"
Where protocol can be one of :
Here is the configured urls according to each protocol.
String jmx_url = "service:jmx:rmi:///jndi/rmi://[" + conn + "]:" + port + "/jmxrmi"; // default
String jboss_url = "service:jmx:remoting-jmx://" + conn + ":" + port; // jboss
String t3_url = "service:jmx:t3://"+conn+":"+port+"/jndi/weblogic.management.mbeanservers.runtime"; // T3
String t3s_url = "service:jmx:t3s://"+conn+":"+port+"/jndi/weblogic.management.mbeanservers.runtime"; // T3S
Copy the following libs into the zabbix java gateway lib directory :
To build the Zabbix Java Gateway : Just clone this repository on your serveur with the JDK, then Edit the Makefile to specify the javac and jar binaries path. Compile :
make
This will generate a bin/zabbix-java-gatewat-X.Y.Z.jar package
Just copy the generated jar into the zabbix java bin dir.