Installation
This guide covers different ways to install and build VMProber.
Requirements
- Go: Version 1.24 or higher
- Operating System: Linux, macOS, or Windows
- For ICMP probes: Root privileges (Linux) or Administrator (Windows)
- Make: For using Makefile commands (optional)
Installation Methods
From Source
1. Clone the Repository
git clone https://github.com/gdagil/vmprober.git
cd vmprober
2. Install Dependencies
make deps
# or manually:
go mod download
go mod tidy
3. Build
# Standard build
make build
# Build with version
VERSION=1.0.0 make build
# Cross-compilation
GOOS=linux GOARCH=amd64 make build
The binary will be created in bin/vmprober.
Using Docker
Build Docker Image
make docker-build
# or
docker build -t vmprober:latest .
Run Container
make docker-run
# or
docker run --rm -p 8429:8429 \
-v $(pwd)/config.yaml:/etc/vmprober/config.yaml \
vmprober:latest --config=/etc/vmprober/config.yaml
Using Pre-built Binaries
Pre-built binaries are available in the Releases section.
- Download the appropriate binary for your platform
- Make it executable:
chmod +x vmprober - Move to a directory in your PATH:
sudo mv vmprober /usr/local/bin/
Verification
After installation, verify it works:
# Check version
./bin/vmprober --version
# Check help
./bin/vmprober --help
# Test run (will use default config if available)
./bin/vmprober --config=config.yaml.example
Next Steps
- Quick Start - Get VMProber running with your first probe
- Configuration Guide - Learn about configuration options