Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Contrail Insights Agent Requirements

Contrail Insights Agent runs on a host to monitor resource consumption of the host itself and the virtual machines and containers executing on that host.

Contrail Insights Agent Supported Platforms

  • CentOS 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 7.7, 7.9

    Contrail Insights Release 3.3.6 supports CentOS 7.9.

  • Debian 8

  • Red Hat Enterprise Linux 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 7.7, 8.4

    Contrail Insights Release 3.3.10 supports Red Hat Enterprise Linux 8.4.

  • Ubuntu 14.04, 16.04, 18.04, 20.04 (Focal)

    Contrail Insights Release 3.3.5 supports Ubuntu 20.04 (Focal).

Software Requirements

System-Level Dependencies

The following software packages are system-level packages that must be installed on the host on which the agent runs. The minimum compatible version is listed.

  • libvirt 1.2.2

  • msr-tools 1.3 ** (also requires Linux kernel 'msr' module to be loaded)

  • Python 2.7.5

    Python 2 is not installed by default with Ubuntu 20.04 (Focal). Starting in Contrail Insights Release 3.3.11, if Python version 3 is installed, the minimum required Ansible version is 2.5.1. For more information, see Contrail Insights Installation for Ubuntu Focal.

    Note:

    Starting with Contrail Insights Release 3.3.0, Python 3.6.8 is the minimum Python version required on all hosts where Agent gets installed.

  • smartmontools 6.2 **

  • systemd 204 (for udevadm. package is 'udev' on Ubuntu.)

  • util-linux 2.20.1

** Optional, some metrics will not be available without this dependency.

Python Dependencies

During installation of the agent, all Python dependencies are installed inside of a Python virtualenv. This isolates the agent's Python dependencies from the host system. The agent depends on the following Python packages.

Note:

Python 2 is not installed by default with Ubuntu 20.04 (Focal). Starting in Contrail Insights Release 3.3.11, if Python version 3 is installed, the minimum required Ansible version is 2.5.1. For more information, see Contrail Insights Installation for Ubuntu Focal.

  • aniso8601 0.92

  • backports.ssl-match-hostname 3.4.0.2

  • docker-py 1.1.0

  • Flask 0.10.1

  • Flask-RESTful 0.3.5

  • flask-restful-swagger 0.19

  • IPy 0.81

  • itsdangerous 0.24

  • Releases earlier than Release 3.3.11: Jinja2 2.7.3

    Release 3.3.11 and later: Jinja2 3.0.3

  • jsonschema 2.4.0

  • libvirt-python 1.2.14

  • MarkupSafe 0.23

  • protobuf 2.5.0

  • protobuf-to-dict 0.1.0

  • psutil 2.2.1

  • python-iptables 0.11.0

  • pytz 2014.10

  • requests 2.6.0

  • six 1.5.2

  • urllib3 1.10.2

  • websocket-client 0.26.0

  • Werkzeug 0.9.4

  • xmltodict 0.9.2

System Capability Requirements

Contrail Insights Agent requires capability to read hardware and process-level metrics. Agent can run as a root or non-root user. Agent package will create an appformix Linux user account and group that has sufficient privileges for operation. Some metrics are not available when the agent is run as non-root user.

  • libvirtd group permission to access qemu://system/ (via python-libvirt)

  • Read access to disk devices (e.g., /dev/sda) for SMART counters (via smartctl). Requires root privilege.

  • Read access to CPU MSR registers for CPU temperature (/dev/cpu/*/msr). Requires root privilege.

Network Requirements

Contrail Insights Agent communicates with controller components. The following ports are used for communication between the hosts.

  • Agent serves an HTTP-based REST API on port 42595.

  • Agent opens HTTP connections to Contrail Insights Platform REST API on port 9000.

Resource Requirements

The Contrail Insights Agent CPU and memory footprint is dependent on number of instances monitored on the host and number of alarms configured.

  • CPU consumption is 0.1% per instance.

  • Memory footprint is 40 MB + 25 KB per configured alarm.

Change History Table

Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.

Release
Description
3.3.5
Contrail Insights Release 3.3.5 supports Ubuntu 20.04 (Focal).