Docs / Agent
Install the agent on Windows
The agent runs as a Windows service (LocalSystem), starts automatically and restarts after a failure. Use windows-amd64.exe, or windows-arm64.exe on ARM.
With the install script
Put uptight-agent.exe and install.ps1 (from the repository's deploy/windows/ folder) in one folder and run, from an elevated PowerShell:
Unblock-File .\uptight-agent.exe
powershell -ExecutionPolicy Bypass -File .\install.ps1 -CentralUrl https://uptight.example.com -EnrollmentToken "the-token"
It copies the agent to C:\Program Files\Uptight\, writes C:\ProgramData\Uptight\agent.yaml (readable by Administrators and SYSTEM only), installs the service and starts it.
By hand
- Copy
uptight-agent.exetoC:\Program Files\Uptight\. - Create
C:\ProgramData\Uptight\agent.yamlwithcentral_urlandenrollment_token. - From an elevated prompt:
"C:\Program Files\Uptight\uptight-agent.exe" service install "C:\Program Files\Uptight\uptight-agent.exe" service start
Manage it
| To | Run (elevated) |
|---|---|
| Stop or start | uptight-agent.exe service stop / service start, or the Services console ("Uptight agent") |
| Restart after a config change | Restart-Service uptight-agent |
| Read its log | Get-Content C:\ProgramData\Uptight\logs\uptight-agent.log -Wait |
| Dry run | uptight-agent.exe test |
| Remove it | uptight-agent.exe service stop, then service uninstall |
service install takes -c (agent.yaml) and -log-file to use other paths. The service runs uptight-agent.exe run -c <agent.yaml> -log-file <log>.
What it watches on Windows
- CPU, memory and disk IO from Windows' performance counters.
- Every fixed drive (NTFS, ReFS, exFAT):
C:\,D:\... Their checks are named<host>:disk:cand so on. Windows reports no inode counts. - Java and Node processes that keep running.
- The agent id comes from the machine's
MachineGuid.
Not on Windows yet: Windows services as checks, package reports and automatic upgrades. The agent only needs outbound HTTPS to central; open no inbound port.
Check it worked
Within a minute the host appears in the web UI under Servers and on the dashboard, with CPU, memory, IO and disk checks. Its Java and Node services wait under Discovered for you to approve them. If it does not show up, see the agent does not show up.