Moogsoft Docs

Integrations Controller

In order to run integrations, you must configure the Integrations Controller. The Integrations Controller provides basic configurations for all of the brokers and integrations in your Moogsoft AIOps instance beyond the configurations assigned through broker profiles.

This is a reference for the Integrations Controller configuration file, which is located at $MOOGSOFT_HOME/config/controller.conf.

identifier

Unique name and identifier of the Integrations Controller.

Type

String

Required

No

Default

If not defined, an identifier is automatically generated on the first start up and defined in this file.

host

Hostname for the webserver on the Integrations Controller. We recommend leaving this as 0.0.0.0

Type

String

Required

Yes

Default

0.0.0.0

port

Port for the webserver on this Integrations Controller. We recommend leaving this as 8086. If you change this, you will need to amend the integrations paths in your Nginx configurations to use the new port.

Type

String

Required

Yes

Default

8086

start_internal_broker

When true, starts a broker alongside the Integrations Controller.

Type

Boolean

Required

Yes

Default

true

webhost

Address of the web host, used as the outwards facing URL for integrations.

Type

String

Required

No

Default

The value of the webhost field in the servlets.conf file.

moogsvr_host

The address of moogsvr.

Type

String

Required

Yes

Default

The value of the webhost field.

port_range_min and port_range_max

Port range for the Integrations Controller to use for integrations that are running on the internal broker. These ports must be open on the machines that brokers are running on.

Type

Integer

Required

No

Default

The values specified in system.conf.

jwt

Configures the JSON web token (JWT) management for broker installation and communication with the Controller.

Type

Object

Required

Yes

Default

N/A

Valid Values

See the secret_key, default_token_days_to_live, broker_init_token_days_to_live and token_leeway_seconds properties below.

secret_key

Base 64 encoding of the secret key to sign JWT tokens. If you are running multiple instances of the Controller, you must synchronize the same key across your instances.

Type

String

Required

No

Default

If not defined, a secret key is automatically generated on the first start up and defined in this file.

default_token_days_to_live

How many days a non-broker JWT remains active.

Type

Integer

Required

Yes

Default

1

broker_init_token_days_to_live

How many days a broker initialisation token remains active.

Type

Integer

Required

Yes

Default

7

token_leeway_seconds

How much leeway (in seconds) is given when checking a token's expiry.

Type

Integer

Required

Yes

Default

60

Example

An example Integrations Controller configuration is as follows:

{
    # "identifier" : "UniqueID",
    "host" : "0.0.0.0",
    "port" : 8086,
    "start_internal_broker" : true,
    "webhost": "https://localhost",
    "moogsvr_host": "http://localhost:8085",
    "port_range_min": 50000,
    "port_range_max": 51000,
    "jwt" :
    {
        "secret_key" : "/9MiQ5gA+WKV1vp/Fo96fbZdQBY4IEh/TL4RbqPRF6M=",
        "default_token_days_to_live" : 1,
        "broker_init_token_days_to_live" : 7,
        "token_leeway_seconds" : 60
    }
}