Skip to main content

[TOC]


Latest SYNTROPY Agent Docs

Prerequisites

  • Wireguard kernel module is installed and loaded:
lsmod | grep wireguard
  • Optional: Docker is installed and running:
docker system info

Limitations

  • Docker network subnets can't overlap.
  • 10.69.0.0/16 is used for internal Wireguard network

Steps


1. Login to https://platform.syntropystack.com

2. Create API key (Settings > API keys)

3. Install SYNTROPY Agent

Possible Docker Container versions:

Stable: syntropy/agent:stable

Development: syntropy/agent:devel or syntropy/agent:latest

With Docker
docker run --network="host" --restart=on-failure:10 \ 
--cap-add=NET_ADMIN --cap-add=SYS_MODULE \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
--device /dev/net/tun:/dev/net/tun \
--name=syntropy-agent \
-e SYNTROPY_AGENT_TOKEN='z99CuiZnMhe2qtz4LLX43Gbho5Zu9G8oAoWRY68WdMTVB9GzuMY2HNn667A752EA' \
-e SYNTROPY_NETWORK_API='docker' \
-d syntropy/agent:stable

Check agent logs:

docker logs syntropy-agent

More information: https://docs.syntropystack.com/docs/start-syntropy-agent#install-with-docker


With Docker-compose

With Portainer agent:

curl  https://raw.githubusercontent.com/SyntropyNet/syntropy-agent/master/docker-compose/na-pa.yml \
-o docker-compose.yaml

Without portainer agent:

curl  https://raw.githubusercontent.com/SyntropyNet/syntropy-agent/master/docker-compose/syntropy-agent.yml \
-o docker-compose.yaml

Edit docker-compose.yaml file and edit these environment variables:

SYNTROPY_AGENT_TOKEN= your_api_key

Start containers:

docker-compose up -d

Check agent logs:

docker logs syntropy-agent

P.S. SYNTROPY Agent will ignore the default docker network, you will need to create a separate network with different subnets on different hosts. Also, subnet 10.69.0.0/16 is used by our agent.

More information:

https://docs.syntropystack.com/docs/start-syntropy-agent#install-as-docker-compose


With pip
pip3 install platform-agent

Download systemd service file:

curl https://raw.githubusercontent.com/SyntropyNet/syntropy-agent/master/systemd/syntropy-agent.service -o /etc/systemd/system/syntropy-agent.service

Create syntropy-agent directory:

mkdir /etc/systemd/system/syntropy-agent.service.d/
chmod -R 600 /etc/systemd/system/syntropy-agent.service.d/

Download settings file:

curl https://raw.githubusercontent.com/SyntropyNet/syntropy-agent/master/systemd/10-vars.conf -o /etc/systemd/system/syntropy-agent.service.d/10-vars.conf

Edit settings file /etc/systemd/system/syntropy-agent.service.d/10-vars.conf and change these settings:

[Service]
# Required parameters
Environment=SYNTROPY_AGENT_TOKEN=YOUR_API_KEY
# Optional parameters
Environment=SYNTROPY_CONTROLLER_URL=controller-prod-platform-agents.syntropystack.com
Environment=SYNTROPY_ALLOWED_IPS=[{"10.0.44.0/24":"oracle_vpc"},{"192.168.111.2/32":"internal"}]
#If using docker , SYNTROPY_NETWORK_API=docker would allow agent to access docker networks for information.
Environment=SYNTROPY_NETWORK_API=none
Environment="SYNTROPY_AGENT_NAME=Azure EU gateway"

# Select one of providers from the list - https://docs.syntropystack.com/docs/start-syntropy-agent#section-variables
Environment="SYNTROPY_PROVIDER=1"

Environment=SYNTROPY_LAT=40.14
Environment=SYNTROPY_LON=-74.21
Environment=SYNTROPY_TAGS=Tag1,Tag2
Environment=SYNTROPY_SERVICES_STATUS=false
systemctl  daemon-reload
systemctl enable --now syntropy-agent

Check if service is running:

systemctl status syntropy-agent

More information: https://docs.syntropystack.com/docs/start-syntropy-agent#install-with-pip


Metadata

Release files for syntropy-agent 0.0.95

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for syntropy-agent 0.0.95
File Size Uploaded Provenance Actions
syntropy-agent-0.0.95.tar.gz 29.6 kB Without provenance Details for syntropy-agent-0.0.95.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for syntropy-agent 0.0.95
File Interpreter ABI Platform Actions
syntropy_agent-0.0.95-py3-none-any.whl Python 3 none any Details for syntropy_agent-0.0.95-py3-none-any.whl

Total release size: 76.0 kB

Release files / syntropy-agent-0.0.95.tar.gz

Download URL syntropy-agent-0.0.95.tar.gz
Size 29.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f943e52b23360a22efe66cbf53a78898cadda99c347ac194c46280626e88e437
BLAKE2b-256 checksum
How to use checksums
f803ee4fd8726bec1739b74de363f5d26b8e69c3229ca12d3500dfe523784366
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.15

Release files / syntropy_agent-0.0.95-py3-none-any.whl

Download URL syntropy_agent-0.0.95-py3-none-any.whl
Size 46.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
003793c01bf6d29605f2f4a6aee78d1c65b4ea0505a4380ef81c7486c7953aed
BLAKE2b-256 checksum
How to use checksums
b256cedf9c15dc67dd2a8b3d5d7a2a0687b8ba98d0d5326669abd205d11ced7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.15

Security for syntropy-agent 0.0.95

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page