🪟 Windows Agent Setup
Step-by-step guide to install the Monitron Server Agent on a Windows server.
📋 Предварительные требования
- Windows Server 2019+ or Windows 10/11
- PowerShell 5.1+ (pre-installed on modern Windows)
- Outbound HTTPS access to your Monitron instance
📥 Step 1: Download the Agent
Copy monitron-agent.ps1 from your Monitron installation's agent/ folder to your Windows server.
Suggested location: C:\Monitron\monitron-agent.ps1
⚙️ Step 2: Configure
Edit the script in PowerShell ISE or Notepad:
notepad C:\Monitron\monitron-agent.ps1
Change these lines at the top:
$MONITRON_URL = "https://your-monitron-instance.com"
$MONITRON_KEY = "your-agent-key-here"
🔐 Step 3: Set Execution Policy
PowerShell may block script execution by default:
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned