Configure the Bomgar Middleware Engine

Starting and Stopping the Bomgar Middleware Engine

Bomgar Middleware Engine Service

The Bomgar Middleware Engine runs as a Windows service. This service must be restarted whenever a new plugin is deployed or a plugin is removed.

 

Deploying the Plugin

Plugin Folder

Note: This section describes the general location and makeup of a plugin deployment. Deployment of specific plugins is beyond the scope of this document.

All plugins are deployed into the Plugins folder in the directory where the Bomgar Middleware Engine is installed. Each plugin is deployed into its own folder therein.

Once a plugin has been set up with configuration (described below), a file named <plugin name>.config is present. The plugin's folder may contain any number of other files and folders, depending on the plugin.

 

Launching the Middleware Administration Tool

If the Windows service is running, the middleware administration tool can be launched. Open a web browser on the server and go to http://127.0.0.1:53231/. This tool is accessible only from the server where the Bomgar Middleware Engine is installed. If necessary, the tool can run on a different port, and it can be turned on/off as desired. For details, see Configuring the Middleware Administration Tool.

Overview of the Middleware Administration Tool

Middleware Administration Tool

The front page of the middleware administration tool displays all deployed plugins as well as each plugin's configuration(s). Multiple plugin configurations can be created. Creating multiple plugin configurations allows a single plugin to integrate with multiple systems, such as two different Bomgar Appliances.

 

Working with plugin configurations

Copy Icon

To add a new configuration for a plugin, click on the copy icon next to the plugin name. A screen is presented in which a number of configuration items are collected, including connection information to a Bomgar Appliance and any plugin-specific settings. This screen includes an option to disable a plugin configuration.

For a specific plugin configuration, the following options are available:

Edit Icon

Edit the plugin configuration.

Test Icon

Plugin Test

Test the plugin configuration. Testing confirms that the plugin is configured correctly and that network resources can be accessed.

Note: Test output varies between plugins.

Delete Icon

Delete the plugin configuration.

IMPORTANT!

Please be careful! The configuration cannot be recovered after deletion.

Note: Configuration changes made via the middleware administration tool are immediately effective. It is not required to restart the Windows service.

Working with the event history for a plugin

History Icon

To view the event history for a plugin, click the history icon next to the plugin name. A page is displayed listing the key details of each event the plugin has processed. The amount of history available depends on the event retention configuration. The default is seven days. For details on how to change this setting, see Configuring the Middleware Administration Tool.

 

Plugin Event History

On the plugin events page, the following functionality is available:

  • Paging and text filtering.
  • Viewing the raw event data.
  • Viewing the error data if event processing failed.
  • Finding the event GUID, an identifier attached to every log message for the event.
  • Replaying an event (i.e., sending the event to the plugin to reprocess). This can be useful for events that fail for transient reasons such as a network issue.

 

Configuring the Middleware Administration Tool

You can modify the middleware administration tool to run on a different port, and you can turn it on/off as desired. You also can change the length of time that events are stored.

Edit Middleware Configuration

Edit Middleware Configuration

  1. From the home page of the middleware administration tool, click the Edit Middleware Configuration link.
  2. The following configuration options are available:
    • Logging Level: Defines the logging level for the Bomgar Middleware Engine. Modifications to this value take effect immediately. For maximum logging, select DEBUG. For minimum logging, select ERROR.
    • Outbound Event Base Address: The base address Bomgar Middleware Engine listens to for outbound events from a Bomgar Appliance. If this value is changed, the Windows service must be restarted.
    • Middleware Administration Tool Enabled: If disabled, the web-based tool will not be available. If this value is changed, the Windows service must be restarted.
    • Middleware Administration Tool Base Address: The base address on which the administration tool runs. If this value is changed, the Windows service must be restarted.
    • Event Retention Days: The number of days to keep a record of events delivered to plugins. If this value is changed, the Windows service must be restarted.
  3. This same configuration can be edited from a file if desired, such as if the administration tool is disabled.
    1. Go to the directory where the Bomgar Middleware Engine is installed.
    2. In a text editor, open MiddlewareConfig.txt.
    3. Edit the file as needed. The file is in JSON format. Valid LogLevel values are ERROR, INFO, WARN, and DEBUG.

      Note: When changing the LogLevel from the text file, the change is not immediately effective. The log level can change dynamically only when it is changed from the administration tool user interface.

      Below is the default configuration:

      • {
        • "LogLevel": "ERROR",
        • "EngineBaseAddress": "http://+:8180/",
        • "AdminToolEnabled": true,
        • "AdminToolBaseAddress": "http://127.0.0.1:53231/",
        • "EventRetentionDays": 7
      • }
    4. After making any changes, restart the Windows service.