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-releaseand/etc/hostnameas read-only to report host details. - Map
/var/run/docker.sockto scan running containers and report images.
To download and install the Flexera Container Monitor:
-
Go to the Inventory Settings page (Data Collection > IT Assets Inventory Tasks > Inventory Settings).
-
Go to the Inventory agent for download section to see the Download Flexera Kubernetes inventory agent link.
-
Click Download Flexera Kubernetes inventory agent and save the downloaded archive file to a suitable location.
-
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.zwith the appropriate version numbers):tar xzf flexera-krm-operator-x.y.z.tar.gz
cd flexera-krm-operator-x.y.z -
Navigate into the
|-> containermonitor-a.b.cdirectory (wherea.b.crepresents the version number). -
Follow the instructions in the
readme.txtfile 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
-
Load the container image:
docker load < flexera-container-monitor-1.0.3.tar -
Configure the bootstrap beacon by editing the
mgsft_rollout_responsefile 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