Configuring microservice

Configuration file can be found in microservice directory (platform/application/jmx-extractor). Its name is jmx-extractor-configuration.yml.

nodes:
  jmxPort:  9010
  provider: jpcc
  configuration:
    address:          localhost
    jlrmcPort:        9090
    queuePort:        9095
    transmissionPort: 9096
    informationPort:  9097
    username:         jmx_extractor
    password:         jmx_extractor
  # provider: list
  # configuration:
  #   - localhost

Description:

Parameter Description
jmxPort JMX port number which will be used for servers connecting. By default it is 9010.
provider The name of used provider. There are available two providers for now: jpcc (JLupin Platform Control Center) or list.
configuration Configuration specific to selected provider.

Provider jpcc

Description:

Parameter Description
address Address of JLupin Platform Control Center instance running.
jlrmcPort JLRMC port of JLupin Platform Control Center instance running.
queuePort Queue port of JLupin Platform Control Center instance running.
transmissionPort Transmission port of JLupin Platform Control Center instance running.
informationPort Information port of JLupin Platform Control Center instance running.
username Name of user for logging in.
password Password for user.

Example configuration with jpcc provider:

nodes:
  jmxPort:  9010
  provider: jpcc
  configuration:
    address:          localhost
    jlrmcPort:        9090
    queuePort:        9095
    transmissionPort: 9096
    informationPort:  9097
    username:         jmx_extractor
    password:         jmx_extractor

Provider list

For list provider configuration is just a list with addresses of nodes to connect.

Example configuration with list provider:

nodes:
  jmxPort:  9010
  provider: list
  configuration:
    - 192.168.0.1
    - 192.168.0.2
    - 192.168.0.3