Skip to content

Start Binary

Download the current release with the appropriate architecture from the GitHub Release Page.

Download the appropriate binary for the target architecture.

curl -fsSL -o "vm-tracker-client-$(uname -s)-$(uname -m).tar.gz" "https://github.com/9it-full-service/vm-tracker/releases/latest/download/vm-tracker-client-$(uname -s)-$(uname -m).tar.gz"

Extract download and make executable:

tar xzf vm-tracker-client-$(uname -s)-$(uname -m).tar.gz

mv vm-tracker-client-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m) vm-tracker-client

Make executable:

chmod +x vm-tracker-client

Start VM Tracker Client:

vm-tracker-client -api https://vm-tracker.example.com -interface enp0s1 -interval 30

Automatically detect the interface:

# Linux
INTERFACE=$(ip route get 1.1.1.1 | awk '/dev/ {print $5; exit}')
# MacOS
INTERFACE=$(route get 1.1.1.1 | awk '/interface:/ {print $2; exit}')

vm-tracker-client -api https://vm-tracker.example.com -interface ${INTERFACE} -interval 30