Skip to main content

Flexera Container Monitor

The Flexera Container Monitor reports on all containers and images running on the host machine. It is designed for use outside Kubernetes clusters, particularly on immutable operating system platforms such as Flatcar Linux or Red Hat Enterprise Linux CoreOS.

It uses docker-compose to:

  • Mount /etc/os-release and /etc/hostname as read-only to report host details.
  • Map /var/run/docker.sock to scan running containers and report images.

To download and install the Flexera Container Monitor:

  1. Go to the Inventory Settings page (Data Collection > IT Assets Inventory Tasks > Inventory Settings).

  2. Go to the Inventory agent for download section to see the Download Flexera Kubernetes inventory agent link.

  3. Click Download Flexera Kubernetes inventory agent and save the downloaded archive file to a suitable location.

  4. From the downloaded archive, extract the Flexera Kubernetes inventory agent image and then navigate to the extracted directory, for example with the following command line (replacing the placeholder x.y.z with the appropriate version numbers):

    tar xzf flexera-krm-operator-x.y.z.tar.gz
    cd flexera-krm-operator-x.y.z
  5. Navigate into the |-> containermonitor-a.b.c directory (where a.b.c represents the version number).

  6. Follow the instructions in the readme.txt file in this directory.

Requirements

Docker Compose must be available.

RHEL / CentOS

sudo yum update
sudo yum install docker-compose-plugin

Ubuntu / Debian

sudo apt-get update
sudo apt-get install docker-compose-plugin

Manual Install (All Linux Distros)

sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Verify Installation

docker compose version

Configuration and Installation

  1. Load the container image:

    docker load < flexera-container-monitor-1.0.3.tar
  2. Configure the bootstrap beacon by editing the mgsft_rollout_response file with the appropriate beacon configuration.

Running the Container

Start the container in detached mode:

docker-compose up --detach

Managing the Container

View logs

docker logs flexera-container-monitor

Access container shell

docker exec -it flexera-container-monitor /bin/bash

Stop and remove the container

docker-compose down