System Requirements
Supported Operating Systems
- Windows Server 2016 or later
- Windows 10 (64-bit)
- Windows 11 (64-bit)
Prerequisites
- Administrator privileges
- .NET Framework 4.5+ (usually pre-installed)
- Network connectivity to KloudMate endpoints
- API Key from KloudMate Settings
Installation Methods
Method 1: GUI Installer (Recommended)
Download Installer
Download the latest installer from the GitHub Releases page:Or download directly from:Look for the file:
kmagent-{version}-setup.exeConfigure Installation
The installer will prompt for:
- API Key (required): Your KloudMate authentication key
- Collector Endpoint (required): Default is
https://otel.kloudmate.com:4318
Complete Installation
The installer will:
- Install the
kmagent.exebinary toC:\Program Files\KloudMate Agent\ - Generate configuration file at
C:\ProgramData\KloudMate Agent\agent.yaml - Create and start the Windows service named
kmagent - Configure the service to start automatically on system boot
Method 2: Silent Installation
For automated deployments, use silent installation mode:/SILENT- Run installer without GUI/VERYSILENT- Completely silent (no progress window)/API_KEY="..."- Set API key/COLLECTOR_ENDPOINT="..."- Set collector endpoint/DIR="C:\Custom\Path"- Custom installation directory/LOG="install.log"- Create installation log
Installation Details
Installed Components
The installer creates the following structure:Windows Service Configuration
The agent is installed as a Windows service with these properties:| Property | Value |
|---|---|
| Service Name | kmagent |
| Display Name | KloudMate agent for OpenTelemetry |
| Description | Monitors system metrics and logs using KMAgent |
| Startup Type | Automatic |
| Run As | Local System Account |
| Service Binary | C:\Program Files\KloudMate Agent\kmagent.exe --agent-config "C:\ProgramData\KloudMate Agent\agent.yaml" start |
Configuration Files
Agent Configuration
Location:C:\ProgramData\KloudMate Agent\agent.yaml
Generated during installation:
OpenTelemetry Configuration
Location:C:\Program Files\KloudMate Agent\config.yaml
Contains the OpenTelemetry Collector pipeline configuration (receivers, processors, exporters).
Service Management
Using Services Console
- Press
Win + R - Type
services.msc - Find “KloudMate agent for OpenTelemetry”
- Right-click to Start, Stop, or Restart
Using PowerShell
Using Command Prompt (sc.exe)
View Logs
Event Viewer
The agent logs to Windows Event Viewer:- Press
Win + R - Type
eventvwr.msc - Navigate to Windows Logs → Application
- Filter by source: kmagent
PowerShell Event Log Query
Application Log Files
If file logging is configured, check:Updating the Agent
Download New Version
Download the latest installer from GitHub Releases.
Run New Installer
The installer will:
- Detect the existing installation
- Stop the running service
- Replace the executable
- Preserve your configuration files
- Restart the service
Uninstallation
Method 1: Programs and Features
- Open Control Panel → Programs → Programs and Features
- Find KloudMate Agent
- Click Uninstall
- Follow the uninstall wizard
Method 2: PowerShell
Method 3: Manual Uninstall
Installer Script Details
The Windows installer is built using Inno Setup. Key sections from the installer script:Service Installation
Configuration Generation
Service Management
The installer usessc.exe commands for service management:
Troubleshooting
Installer Fails with “Administrator Required”
Solution: Right-click installer and select “Run as Administrator”.Service Fails to Start
Check Event Viewer:- Open Event Viewer (
eventvwr.msc) - Navigate to Windows Logs → Application
- Look for errors from source “kmagent”
- Missing or invalid API key in
C:\ProgramData\KloudMate Agent\agent.yaml - Invalid collector endpoint
- Network connectivity issues
- Port conflicts (4317, 4318)
Configuration File Not Found
Check if file exists:Service Crashes on Startup
Test manually:Network Connectivity Issues
Test endpoint:Permission Errors
Check service account:Silent Install Fails
Check log file:Building the Installer (Advanced)
For developers who want to build the installer from source:Prerequisites
- Inno Setup 6+ installed
- Go 1.24.4+ for building the executable
- Docker (for build environment)
Build Process
From the repository root:Makefile Targets
Next Steps
Configure Agent
Customize OpenTelemetry receivers and processors
Verify Installation
Confirm telemetry is flowing to KloudMate
Support
For Windows installation issues:- 📧 Email: [email protected]
- 🐛 GitHub: Report an issue
- 📝 Event Logs: Check Windows Event Viewer for “kmagent” source