Skip to main content

Agent Configuration

The agent reads its configuration from config.ini in the same directory as PatchPilotAgent.exe.

config.ini reference

[server]
SERVER_URL=https://your-patchone-server
TENANT_ID=your-tenant-id
API_KEY=<provided-by-your-admin>
HEARTBEAT_INTERVAL=300

[agent]
LOG_LEVEL=INFO
KeyTypeRequiredDescription
SERVER_URLURLYesBase URL of the PatchOne server. Use HTTPS for cloud. No trailing slash.
TENANT_IDStringYesYour organisation identifier. Use default for on-premises.
API_KEYStringYesShared secret provided by your PatchOne administrator.
HEARTBEAT_INTERVALIntegerNoSeconds between check-ins. Default: 300. Minimum: 60.
LOG_LEVELStringNoDEBUG, INFO, WARNING, ERROR. Default: INFO.

Applying configuration changes

sc stop PatchOneAgent
sc start PatchOneAgent

Security

config.ini contains the API_KEY. Restrict access with NTFS permissions so only the service account and administrators can read the file.