Single Node Deployment: Agent
To download, install, and test run the VirtualMetric Agent binary, follow the instructions below.
System Requirements
VirtualMetric applications support the amd64
and arm64
versions of Windows, Linux, and macOS. Their minimum requirements are:
-
CPU: 1 core - We recommend using a machine with at least 2 CPU cores. As our system uses a vectorized pipeline and can utilize all available cores, having multiple cores will improve performance
-
Memory: 150MB - Depending on the volumes you need to handle, more memory will improve performance
-
Disk: 250MB - Depending on the amount of temporary data you need storage, more disk space will improve performance
If you need to retain logs for extended periods or minimize potential data loss in case of unexpected failures, consider allocating additional disk space accordingly.
Agent is a single binary that requires no dependencies, so you can easily download and place it anywhere on your system. It can be installed on a traditional server, on an on-premises virtual machine, or in the cloud. It can also be deployed as an Azure App Service for a serverless configuration.
Installation
You can install Agent online or offline, depending on your system's internet access.
In both the online and offline procedures below, we will assume you will use our default installation directory for your platform.
Platform | Default Installation Directory |
---|---|
Windows | C:\Program Files\VirtualMetric |
Linux | /opt/virtualmetric |
macOS | /Applications/virtualmetric |
However, if you choose to install the package elsewhere, just replace these with the directory of your choice which you must create beforehand.
This guide assumes you are installing Agent as a service. If you do not have the necessary privileges to run it as a service, you can configure Agent to run as a Scheduled Task (on Windows) or a Cron job (on Linux/macOS) to ensure it starts automatically after a reboot.
Agent does not require administrative privileges to run as a background process. However, if you choose to install it as a service, administrative privileges are required.
Once installed, you can run Agent as a service with regular user privileges.
Online
If your system has internet access, you can use our automated installation scripts for a quick setup.
- Windows
- Linux
- macOS
To install as a background process:
Invoke-WebRequest dl.vget.me | Invoke-Expression
To install as a service:
$p="C:\Program Files\VirtualMetric"
Invoke-WebRequest dl.vget.me | Invoke-Expression
To install as a background process:
sudo curl -sL dl.vget.me | bash
To install as a service:
sudo curl -sL dl.vget.me | p="/opt/virtualmetric" bash
To install as a background process:
sudo curl -sL dl.vget.me | bash
To install as a service:
sudo curl -sL dl.vget.me | p="/Applications/virtualmetric" bash
The dl.vget.me
file contains our official installation script that performs the steps listed below.
The script will
- detect your operating system and architecture
- download the appropriate version
- install and configure the binary based on your selected method (service or background process)
- launch the executable
Offline
For systems without internet access, you can download and install Agent manually. Choose the appropriate binary for your system from the table below:
Operating System | Download Link |
---|---|
Windows | Agent for AMD64 |
Agent for ARM64 | |
Linux | Agent for AMD64 |
Agent for ARM64 | |
macOS | Agent for AMD64 |
Agent for ARM64 |
Once you have downloaded the binary, open a terminal with admin privileges. Choose or create the directory where you want to run Agent if you haven't already done so, and copy the downloaded binary to it. Then, navigate to that directory.
- PowerShell
- Bash
Copy-Item -Path %USERPROFILE%\Downloads\vmetric-agent.exe -Destination "C:\Program Files\VirtualMetric"
Set-Location "C:\Program Files\VirtualMetric"
On Linux:
mkdir /opt/virtualmetric
cp ./vmetric-agent /opt/virtualmetric
cd /opt/virtualmetric
On macOS:
mkdir /Applications/virtualmetric
cp ./virtualmetric-agent /Applications/virtualmetric
cd /Applications/virtualmetric
Post-Installation
Once you are done with the placement of the binary, you have to decide whether you want to run the application as a service or in the background.
As a regular user, you can run Agent as a background process:
- PowerShell
- Bash
.\vmetric-agent -background
./vmetric-agent -background
If you do have the required (i.e. administrative) privileges, you can install/uninstall Agent as a service with the following command:
- PowerShell
- Bash
.\vmetric-agent -service [install | uninstall]
sudo ./vmetric-agent -service [install | uninstall]
Then, you can start/stop the service like so:
- PowerShell
- Bash
.\vmetric-agent -service [start | stop]
sudo ./vmetric-agent -service [start | stop]
Do not use Stop-Process
or kill
(using a ProcessId
orPID
) as this may corrupt the data of running processes.
You can verify its status by using the following commands:
- PowerShell
- Bash
The Status
column will display Running
or Stopped
Get-Service vmetric-agent
Status Name DisplayName
------ ---- -----------
Running vmetric-agent VirtualMetric Agent
systemctl status vmetric-agent
● vmetric-agent.service - VirtualMetric Agent handles the monitoring of local and remote devices.
Loaded: loaded (/etc/systemd/system/vmetric-agent.service; enabled; preset: enabled)
Active: active (running) since Wed 2025-06-25 16:32:45 +03; 2s ago
Main PID: 545 (vmetric-agent)
Tasks: 17 (limit: 9158)
Memory: 79.1M (peak: 79.7M)
CPU: 295ms
CGroup: /system.slice/vmetric-agent.service
└─545 /opt/virtualmetric/vmetric-agnet -mode=agent
Jun 25 16:32:45 VMLAPTOP systemd[1]: Started vmetric-agent.service - VirtualMetric Agent handles the monitoring of local and remote devic>