Monitoring Extras
If the monitoring service runs on several nodes, each service has to be informed about the URL of the service registry and each node uses a different server port number.
To configure services, create a /config directory in the installation directory (/opt by default) and create an application.yml file in it:
# Password for the default "user"security: user: password: secret# Tomcat URL for monitoring the JMX values via Jolokia - requires an installation of the jolokia war (https://jolokia.org/download.html)#tomcat:# url: http://localhost:8080# Change the port number for the running service; the default port is displayed after startup in the logs.#server:# port: 9999 eureka: instance: # Set your unique hostname here for proper display in eureka hostname: localhost client: serviceUrl: # URL of the service registry defaultZone: http://localhost:8761/eureka# Port of other JMX servicesjmx: host: localhost port: 13991# Storage to use - default is in memory, MongoDB can also be used (without auth)storage: useMongo: false serverNames: localhost# Mbeans to add to monitoring; provide comma separated list of JMX valuesmbean: names: java.lang:type=OperatingSystem,java.lang:type=Runtime,java.lang:type=Threading
* link only available in Enterprise Documentation