Assign a Minion to an appliance

A Minion associates a monitoring location with an appliance and optional Minion profile. When an appliance does not have a Minion, the Minion status area displays the Add Minion button.

A Minion profile lets you set Java virtual machine (JVM) parameters such as heap size, remote debug, and memory. You may want to create a Minion profile before you assign a Minion, but you can also create the profile later and update the Minion to add the profile to it.

To assign a Minion, follow these steps:

  1. In the left menu, click Appliances.

  2. Click the pencil icon beside the appliance to which you want to assign a Minion.

  3. In the Minion section, click the Add (+) button.

  4. Choose a monitoring location from the list.

  5. (optional) To specify JVM attributes, choose a Minion profile from the list (see create Minion profile for JVM attributes).

  6. Click Update.

After you assign a Minion, the appliance summary displays the Minion’s status in relation to OpenNMS (unknown, up, down, grace period).

Create Minion profile for JVM attributes

A Minion profile lets you set Java virtual machine (JVM) parameters such as heap size, remote debug, and memory. Create multiple Minion profiles to configure JVM attributes and reuse JVM configuration on a per-Minion basis.

Only users with an advanced understanding of JVM attributes should create Minion profiles.
  1. In the left menu, click Appliances → Minion Profiles.

  2. Click Configure JVM Flag.

  3. Add JVM options separated by a comma (for example, -Xms1g, -Xmx2g to change the default heap size) and click Add New.

    The Appliance Service dynamically creates the default heap size, based on 95% of the Minion container’s RAM size.

  4. Navigate to the Minion Profiles screen and click Add New.

  5. Type a name for the profile, choose a JVM configuration from the JVM Process Environment Config list, and click Add New.

To add a profile to an existing Minion, follow these steps:

  1. In the left menu, click Appliances.

  2. Click the pencil icon beside the appliance with the Minion that you want to update.

  3. Expand the Minion section and choose the Minion profile from the Minion Profile list and click Update.

Changes to a Minion profile’s configuration respawns all Minions associated with that Minion profile. This process triggers a brief service interruption.

Verify Minion Appliance is visible in OpenNMS

When your Minion Appliance is up and running, you may want to check that it is visible in OpenNMS.

  1. Sign in to your OpenNMS instance as an Admin user.

  2. Under Info, choose Nodes.

  3. Your Minion Appliance should appear in the list.

If the device does not appear in the list, see Why doesn’t this work? for troubleshooting help.

Verify Minion Appliance is UP/UP

A fully connected and properly operating Minion Appliance shows an "UP" Minion and OpenNMS status. You can view this in the list of appliances. See Global status mapping for details on different status indicators.

Up appliance
src="https://polyfill.io/v3/polyfill.min.js?features=es6">