NO-JIRA improve formatting for remote JMX doc

This commit is contained in:
Justin Bertram 2023-01-31 12:03:37 -06:00 committed by GitHub
parent 2378d187af
commit 5acf269109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 4 deletions

View File

@ -443,10 +443,15 @@ file. To enable this you simply add the following xml:
<connector connector-port="1099"/>
```
This exposes the agent remotely on the port 1099. If you were connecting via
JConsole you would connect as a remote process using the service url
`service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi` and an appropriate user
name and password.
This exposes the agent remotely on the port `1099`. If you were connecting via
JConsole you would connect as a remote process using the service url:
```
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
```
You'd be able to supply an appropriate user name and password in this case as
well.
You can also configure the connector using the following: