Crusoe telemetry agent is a vector.dev based agent for collecting telemetry data from Crusoe cloud resources.
ssh into your Crusoe nvidia GPU VM.
- Download the agent setup script:
wget https://raw.githubusercontent.com/crusoecloud/crusoe-telemetry-agent/refs/heads/main/setup_crusoe_telemetry_agent.sh
- Once the script is successfully downloaded, grant execute permission to the the script:
chmod +x setup_crusoe_telemetry_agent.sh
- Run the installer:
sudo ./setup_crusoe_telemetry_agent.sh
Note for Slurm images:
If you have a pre-installed dcgm-exporter systemd service, use --replace-dcgm-exporter to replace it with the Crusoe version for full metrics collection.
Optional SERVICE_NAME defaults to dcgm-exporter:
sudo ./setup_crusoe_telemetry_agent.sh --replace-dcgm-exporter [SERVICE_NAME]
While installing the script will prompt user to enter crusoe monitoring token. Paste the token created in above step. Note: For enhanced security its a silent input, the token will not be displayed while pasting.
ubuntu@staging-gpu-vm-2:~$ sudo ./setup_crusoe_telemetry_agent.sh
Ensure docker installation.
Docker is already installed.
Ensuring wget is installed.
Create telemetry agent target directory.
Ensure NVIDIA dependencies exist.
Required NVIDIA dependencies are already installed.
Download DCGM exporter metrics config.
Download GPU Vector config.
Download GPU docker-compose file.
Fetching crusoe auth token.
Command: crusoe monitoring tokens create
Please enter the crusoe monitoring token:
- After a successful installation you should see a message like this:
Setup Complete!
Run: 'sudo systemctl start crusoe-telemetry-agent' to start monitoring metrics.
Setup finished successfully!
- Agent is managed via a systemd process. To start the agent, run this:
sudo systemctl start crusoe-telemetry-agent
- This will download and start 2 docker containers, crusoe-dcgm-exporter & crusoe-vector. Give it around 30sec to download and start the containers, then check docker logs to verify if the container is running without errors:
docker container logs crusoe-vector
- We should see logs like this with no Error:
2025-07-23T23:21:58.090868Z INFO vector::app: Log level is enabled. level="info"
2025-07-23T23:21:58.091176Z INFO vector::app: Loading configs. paths=["/etc/vector/vector.yaml"]
2025-07-23T23:21:58.106123Z INFO vector::topology::running: Running healthchecks.
2025-07-23T23:21:58.106173Z INFO vector::topology::builder: Healthcheck disabled.
2025-07-23T23:21:58.106182Z INFO vector: Vector has started. debug="false" version="0.46.1" arch="x86_64" revision="9a19e8a 2025-04-14 18:36:30.707862743"
2025-07-23T23:21:58.106187Z INFO vector::app: API is disabled, enable by setting `api.enabled` to `true` and use commands like `vector top`.
TA-DA!! crusoe telemetry agent is now successfully pushing metrics.