service:jvm:rmi:///jndi/rmi://<IP or Hostname of server>:<JMX Port>/jmxrmi
service
- a constant (this will always stay the same).jmx:rmi
- the service type composed of: abstract type jmx
and URL scheme rmi
The URL piece is broken down into:
/jndi/
- This tells the JMX client that it can get lookup information at the location that follows:rmi://<TARGET_MACHINE>:<RMI_REGISTRY_PORT>/jmxrmi
- We get information about the JMX RMI Server at the RMI registry, under the lookup key jmxrmi