Version: 17.07
Adroitlogic Integration Monitor application bundle uses a Jetty 9 Servlet container to deploy the embedded IMonitor-X application. Therefore let’s configure this Jetty Servlet Container as the first step.
All the configuration parameters related to Jetty reside in the imonitor-x-17.07/etc/jetty.conf
file. Open that
file with your favourite text editor and change the values of these parameters as necessary.
Please note that IMonitor-X distribution has only HTTP enabled by default. If you need to enable HTTPS, please follow the below steps.
|
The following are the bare minimum configurations required by Jetty servlet container.
Parameter | Description | Default Value | ||
---|---|---|---|---|
|
The network interface this connector binds to as an IP address or a hostname. If null or 0.0.0.0, bind to all interfaces |
|
||
|
The port on which the server should be listening |
|
||
|
The path to the key store to be used for SSL. This can be specified either as an absolute path or a relative path from IMonitor-X installation directory.
|
|
||
|
Key store password
|
|
||
|
Key manager password
|
|
||
|
The path to the trust store to be used for SSL. This can be specified either as an absolute path or a relative path from IMonitor-X installation directory.
|
|
||
|
Trust store password
|
|
Keystore and Truststore Adroitlogic IMonitor-X distribution by default contains a keystore and a truststore with self signed certificates in the
|
Obfuscating password values The password values for keystore, keymanager and truststore can be either specified in plain text or they can be obfuscated to enhance the obsecurity of the configuration. Please refer following guide on obfuscating Jetty configuration values. |
This section contains the information about the advanced configuration parameters for Jetty servlet container. By default IMonitor-X distribution has been configured with sensible values for these and you can fine-tune them with different values according to your deployment requirements.
If you are not interested in these advanced configurations, please proceed to the next section for application level configurations. |
Parameter | Description | Default Value |
---|---|---|
|
Minimum number of threads to be kept alive in the thread pool |
|
|
Maximum number of threads to be kept alive in the thread pool |
|
|
Idle time in milliseconds to wait before evicting an idle thread from the pool |
|
Parameter | Description | Default Value |
---|---|---|
|
Whether to gracefully stops the Jetty server when ctrl+c pressed on the console |
|
|
Maximum timeout in milliseconds to wait when stopping the server gracefully |
|
|
Whether to dump the state of the Jetty server, components, and webapps after startup |
|
|
Whether to dump the state of the Jetty server, components, and webapps before shutdown |
|
|
The name to uniquely identify this server instance |
|
Parameter | Description | Default Value |
---|---|---|
|
The time in milliseconds that the connection can be idle before it is closed |
|
|
Number of acceptors (-1 picks default based on number of cores) |
|
|
Number of selectors (-1 picks default based on number of cores) |
|
|
The size of the pending connection backlog (0 picks platform default). The exact interpretation is JVM and OS specific and you can ignore it. Higher values allow more connections to wait pending an acceptor thread. Because the exact interpretation is deployment dependent, it is best to keep this value as the default unless there is a specific connection issue for a specific OS that you need to address. |
|
|
Thread priority delta to give to acceptor threads |
|
This section contains information about the application level configurations of Adroitlogic Integration Monitor. All the
application level configurations reside in the imonitor-x-17.07/resources/application.properties
file. Open that
file with your favourite text editor and change the values of these parameters as necessary.
|
The connection URL for the database
|
|
The class name of the datasource driver to be used
|
|
Username of the database user |
|
Password of the database user |
|
The database dialect to be used by hibernate
|
|
If this is set to In a production setup, it is recommended to use the provided script and keep the value for this parameter as |
Database drivers
Please note that IMonitor-X distribution does not contain any database drivers. Therefore the user should manually
download the relevant database driver jar file from the vendor and place it in the directory You can use the following links to download the MySQL and Oracle drivers. |
|
The type of the user authentication in use. Set value as |
||
|
The name of the super role. This role expected to have all the access permissions.
|
||
|
The name of the super user group. This group is expected to have the above super role and the users who belongs to this group will have access to any UltraESB-X instance and any Ultra Project though IMonitor-X.
|
||
|
The expiration time for JWT tokens in milliseconds |
||
|
The name of the JWT token issuer |
||
|
If this parameter is set to |
||
The following parameters will only be used if LDAP based authentication is in use |
|||
|
LDAP provider URL |
||
|
LDAP search base |
||
|
LDAP search filter |
||
|
The user distinguished name (principal) to be used for getting authenticated contexts |
||
|
The password (credentials) to be used for getting authenticated contexts |
|
The host names and the TCP connection ports of each Elasticsearch node of the cluster. The host name and port should be
separated by colon character and the individual nodes should be separated by comma character. |
|
The name of the Elasticsearch index to retrieve statistics |
|
The name of the Elasticsearch mapping type to retrieve statistics |
|
The name of the Elasticsearch cluster |
|
The directory that contains licensing related configuration files. Please refer License Configuration section for more details. |
Encrypting password values The sensitive values such as database password can be either specified in plain text or they can be encrypted to enhance the security of the configuration. Please refer following guide on encrypting configuration values. |
IMonitor-X uses log4j2 based Adroitlogic logging framework for application logging purposes. The configurations
related to this is specified in the imonitor-x-17.07/resources/log4j2.xml
file. By default, console appender as
well as file appender is configured and the file appender is configured to persist logs to the log file
imonitor-x-17.07/logs/imonitor-x.log
.
You can change this file to modify any of these values as well as to introduce any log4j2 related new configurations.
Once all the configurations are completed, start IMonitor-X by executing the following command. Observe the log file
imonitor-x.log
in the log directory configured in the step todo
sh bin/jetty.sh start
Once it started successfully, navigate to the url http://<your_host>:<your_port>/imx
to access the web application.
The following commands are also supported by the above script
|