Skip to Content
Edge AgentConfiguration

Edge Agent Configuration

The Edge Agent is configured via a YAML file located at /etc/atlasai/agent.yaml. All settings have sensible defaults — you typically only need to set the Tenant Plane URL and API key.

Configuration File

# /etc/atlasai/agent.yaml tenant: url: "https://tenant-plane.example.com:8443" api_key: "agt_xxxxxxxxxxxxxxxxxxxx" tls_skip_verify: false agent: id: "" # Auto-generated on first run; persisted in /etc/atlasai/agent-id hostname: "" # Defaults to system hostname tags: environment: production team: platform region: us-east-1 collectors: system: enabled: true interval: 10s process: enabled: true interval: 30s top_n: 20 # Collect top N processes by CPU/memory disk: enabled: true interval: 30s mount_points: [] # Empty = all mount points network: enabled: true interval: 10s logs: enabled: true paths: - /var/log/syslog - /var/log/auth.log - /var/log/*.log exclude_paths: - /var/log/atlasai-agent.log multiline: pattern: '^\d{4}-\d{2}-\d{2}' negate: true match: after runbook_executor: enabled: true allowed_commands: [] # Empty = all commands allowed; set for allowlisting blocked_commands: - "rm -rf /" - "shutdown" - "reboot" timeout: 300s working_directory: /tmp/atlasai-runbooks transport: protocol: grpc compression: gzip batch_size: 100 flush_interval: 5s retry_max: 5 retry_backoff: 2s buffer_size: 10000 # In-memory buffer for offline operation logging: level: info # debug, info, warn, error file: /var/log/atlasai-agent.log max_size: 50MB max_backups: 3

Configuration Reference

tenant Section

KeyTypeDefaultDescription
urlstringTenant Plane URL (required)
api_keystringAgent API key (required)
tls_skip_verifyboolfalseSkip TLS certificate verification (not recommended for production)

agent Section

KeyTypeDefaultDescription
idstringautoUnique agent identifier; auto-generated on first run
hostnamestringsystemOverride the reported hostname
tagsmap{}Key-value tags attached to all data from this agent

collectors Section

KeyTypeDefaultDescription
system.enabledbooltrueCollect CPU, memory, load average
system.intervalduration10sCollection interval
process.enabledbooltrueCollect per-process metrics
process.top_nint20Number of top processes to report
disk.enabledbooltrueCollect disk usage and I/O
disk.mount_pointslist[]Specific mount points to monitor
network.enabledbooltrueCollect network interface metrics

logs Section

KeyTypeDefaultDescription
enabledbooltrueEnable log forwarding
pathslist["/var/log/syslog"]Log file paths (supports globs)
exclude_pathslist[]Paths to exclude
multiline.patternstringRegex pattern for multiline log detection

Environment Variable Overrides

Any configuration value can be overridden via environment variables using the ATLASAI_ prefix:

export ATLASAI_TENANT_URL=https://tp.example.com:8443 export ATLASAI_TENANT_API_KEY=agt_xxxxxxxxxxxxxxxxxxxx export ATLASAI_COLLECTORS_SYSTEM_INTERVAL=5s export ATLASAI_LOGGING_LEVEL=debug

Reloading Configuration

After modifying the configuration file, reload the agent without downtime:

sudo systemctl reload atlasai-agent

Or send a SIGHUP signal:

sudo kill -HUP $(pidof atlas-agent)