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

  1. Copy uptight-agent.exe to C:\Program Files\Uptight\.
  2. Create C:\ProgramData\Uptight\agent.yaml with central_url and enrollment_token.
  3. From an elevated prompt:
    "C:\Program Files\Uptight\uptight-agent.exe" service install
    "C:\Program Files\Uptight\uptight-agent.exe" service start

Manage it

ToRun (elevated)
Stop or startuptight-agent.exe service stop / service start, or the Services console ("Uptight agent")
Restart after a config changeRestart-Service uptight-agent
Read its logGet-Content C:\ProgramData\Uptight\logs\uptight-agent.log -Wait
Dry runuptight-agent.exe test
Remove ituptight-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

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.