No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-02 13:57:27 +00:00
README.md Update README.md 2026-10-02 13:57:27 +00:00

Aether

  1. APT Repository
  2. Aether Hub
    1. Prerequisites
    2. Installation
    3. Configuration
    4. Environment Variables
  3. Aether Agent
    1. Agent Prerequisites
    2. Agent Installation
    3. Agent Configuration
    4. Agent Environment Variables

APT Repository

To use the Vortex APT Repository, run the following commands:

sudo curl https://git.bramvanderzee.nl/api/packages/Vortex/debian/repository.key -o /etc/apt/keyrings/forgejo-Vortex.asc
echo "deb [signed-by=/etc/apt/keyrings/forgejo-Vortex.asc] https://git.bramvanderzee.nl/api/packages/Vortex/debian trixie main" | sudo tee -a /etc/apt/sources.list.d/forgejo.list

Note: This is specifically for Debian 13 (trixie). If you are using a different version of Debian, please refer to the Debian Wiki for the appropriate codename.

Aether Hub

Aether Hub is a web application that provides a user interface for managing and monitoring Aether Agents. It allows users to configure agents, view their status, and manage their settings.

Hub Prerequisites

  • PostgreSQL
  • Dotnet 10 Runtime
  1. Create a PostgreSQL user for Aether Hub with permission to create databases:
CREATE USER aether WITH PASSWORD 'aether';
ALTER USER aether CREATEDB;

Hub Installation

  1. Install Aether Hub:
apt update
apt install aether-hub

To update Aether Hub, run:

apt update
apt upgrade

Hub Configuration

Configuration settings for Aether Hub are stored in /etc/aether-hub/aether.config.

Setting Description Default
TimeZone The timezone in which the hub will operate. Valid timezones can be found here. UTC
Database.Host The hostname of the PostgreSQL database. 127.0.0.1
Database.Port The port of the PostgreSQL database. 5432
Database.Name The name of the PostgreSQL database. aether_hub
Database.User The username for the PostgreSQL database. aether
Database.Password The password for the PostgreSQL database. aether
Auth.Secret The secret key used for authentication. This is a required field. -
Auth.EnableRegistration A boolean value indicating whether user registration is enabled. true
Oidc.Enabled A boolean value indicating whether OpenID Connect (OIDC) authentication is enabled. false
Oidc.DisplayName The display name for the OIDC provider. -
Oidc.Authority The URL of the OIDC provider. -
Oidc.ClientId The client ID for the OIDC provider. -
Oidc.ClientSecret The client secret for the OIDC provider. -
Oidc.UsePkce A boolean value indicating whether to use Proof Key for Code Exchange (PKCE) with OIDC. false
Oidc.AutoRedirect A boolean value indicating whether to automatically redirect users to the OIDC provider for authentication. false

Hub Environment Variables

Environment variables can be used to override configuration settings.

Setting Description Default
AETHER_HUB_TIMEZONE The timezone in which the hub will operate.
AETHER_HUB_PORT The port on which the Aether Hub will run. 8080
AETHER_HUB_TRUSTED_PROXIES A comma-separated list of trusted proxy IP addresses. Trust all
AETHER_HUB_DB_HOST Overwrites the hostname of the PostgreSQL database.
AETHER_HUB_DB_PORT Overwrites the port of the PostgreSQL database.
AETHER_HUB_DB_NAME Overwrites the name of the PostgreSQL database.
AETHER_HUB_DB_USER Overwrites the username for the PostgreSQL database.
AETHER_HUB_DB_PASSWORD Overwrites the password for the PostgreSQL database.

Aether Agent

Aether Agent is a lightweight service that runs on a host machine and collects system metrics. It sends these metrics to the Aether Hub for monitoring and analysis.

Agent Prerequisites

  • Dotnet 10 Runtime
  • Aether Hub (for configuration and monitoring)

Agent Installation

Install Aether Agent:

apt update
apt install aether-agent

To update Aether Agent, run:

apt update
apt upgrade

Agent Configuration

Secrets are stored in /etc/aether-agent/.aetheragent. Do not touch this file unless you know what you are doing.

Configuration settings for Aether Agent are stored in /etc/aether-agent/aetheragent.config in json format.

Setting Description
Url The URL of the Aether Hub to which the agent will connect.
Name The name of the agent. This should be unique for each agent.
ClusterToken The token used to authenticate the agent with the Aether Hub. This token is generated by the Aether Hub and should be kept secret.
Docker.SocketPath The path to the Docker socket. This is used to collect metrics from Docker containers.
Docker.ContainerNames A list of Docker container names to monitor. If not empty all matching names will be monitored
Docker.Labels A list of Docker labels to monitor. If not empty all matching labels will be monitored
Systemd An array of configurations with the following properties:
Systemd.Name The name of the systemd service to monitor.
Systemd.User The user under which the systemd service is running.
Systemd.IsUserService A boolean value indicating whether the systemd service is a user-level systemd service.

Example:

{
  "Url": "http://localhost:8080",
  "Name": "my-agent",
  "ClusterToken": "my-secret-token",
  "Docker": {
    "SocketPath": "/var/run/docker.sock",
    "ContainerNames": ["my-container"],
    "Labels": ["my-label"]
  },
  "Systemd": [
    {
      "Name": "my-service",
      "User": "my-user",
      "IsUserService": false
    }
  ]
}

Agent Environment Variables

Environment variables can be used to override configuration settings.

Setting Description Default
AETHER_HUB_URL The URL of the Aether Hub to which the agent will connect.
AETHER_CONFIG_DIR The directory where the agent configuration file is located. /etc/aether-agent
AETHER_AGENT_NAME The name of the agent. This should be unique for each agent.
AETHER_CLUSTER_TOKEN The token used to authenticate the agent with the Aether Hub.
AETHER_DOCKER_SOCKET_PATH The path to the Docker socket.
AETHER_DOCKER_CONTAINER_NAMES A comma-separated list of Docker container names to monitor.
AETHER_DOCKER_CONTAINER_LABELS A comma-separated list of Docker labels to monitor.