Atomia Agents

Atomia Agents

85 views 0

Overview

The main idea behind the Atomia agents Linux package is to have a similar implementation for all agents and to have them all grouped into one package/installation.

All agents in the package are exposing the RESTful API interface written in Python.

At the moment, the following agents are part of the package:

Installation instructions

The package can be installed only on a Linux server. Current supported (tested) releases are Ubuntu 16.04 and Ubuntu 18.04 (recommended).

Pre-installation actions

Before you begin the installation you need to decide which resource agents you are going to activate and then check the Pre-installation actions sections in the readme file for each of those individual agents, for example for the Cron agent that section is here.

Installation

To install the package run (as root user):

apt-get update
apt-get install atomia-agents

Post-installation actions

Check the Post-installation actions of each individual agent readme file you want to run on the server, for example for the Cron agent that section is here.

To run/start the services of the selected agents, check the Running the service section of the individual agent readme file, for example for the Cron agent that section is here.

Setting up SSL

All agents support SSL communication. SSL setup is done by adding ssl section to the config file (/etc/atomia/{agent-name}.json) like:

{
    "...": "...",
    "ssl": {
        "key": "{path-to-key}.key",
        "pem": "{path-to-pem}.pem",
        "tls_version": "1.2"
    }
}

The ssl.tls_version is an optional parameter. Possible values are:

ssl.tls_version option value allowed TLS versions
“1” PROTOCOL_TLSv1, PROTOCOL_TLSv1_1, PROTOCOL_TLSv1_2
“1.1” PROTOCOL_TLSv1_1, PROTOCOL_TLSv1_2
“1.2” PROTOCOL_TLSv1_2
No option PROTOCOL_TLSv1_2

 

Was this helpful?