Enroll an Agent

Enroll an agent with ConfigWizardCmd to start collecting metrics

An agent is the service that collects metrics from SQL Server instances and uploads them to QMonitor. An agent can collect metrics from multiple instances that it can reach, so organizations often use one agent per data center or network.

Enroll and install

Run ConfigWizardCmd.exe enroll on the machine that will host the agent. The command starts an enrollment request and opens the QMonitor portal. Sign in, select your organization, enter the agent name, and approve the request. Approval creates the agent in the organization; the CLI then receives its credentials and installs and starts the service. You do not need to create the agent separately in the portal first.

On a machine with no QMonitor agent installed, launching ConfigWizardCmd without arguments starts the same enrollment flow. See Enrolling and Managing Agents with ConfigWizardCmd for options and Linux instructions.

After enrollment completes, open the Instances page and register a SQL Server instance, assigning it to the agent created during enrollment. See Register a SQL Server instance.

On the Instances page, the agent’s status indicates whether it is running. Select the status to see details such as its host, service account, and software version. Agent management actions are also available from that page.