5c213972b6
Lightweight telemetry agent (stdlib-only, Python 3.8+) that collects
metrics via pre-defined widget types and pushes to POST /api/company/metrics.
Widget types: system_cpu, system_memory, system_disk, http_check,
port_check, process_check, custom_cmd
Platform: Linux (fully). Windows collectors stubbed (NOT_IMPL markers)
ready for porting without changing call sites. system_disk / http_check /
port_check / custom_cmd already cross-platform.
Delivery: run directly (python3 ethica-agent.py --config ethica-agent.yml),
as a systemd service (ethica-agent.service), or as a Docker container.
6 lines
147 B
Docker
6 lines
147 B
Docker
FROM python:3.12-slim
|
|
WORKDIR /agent
|
|
COPY ethica-agent.py .
|
|
ENTRYPOINT ["python3", "ethica-agent.py"]
|
|
CMD ["--config", "/config/ethica-agent.yml"]
|