---
title: QMonitor Operator
description: Install and approve the QMonitor Operator, the service that runs jobs on your instances.

url: https://help.qmonitor.app/docs/tasks/qmonitor-operator/index.md
lastmod: 2026-11-27T11:56:12+01:00
---


The **QMonitor Operator** is the service that runs the QMonitor jobs of an agent, on Windows, Linux and Docker. It is
installed next to the agent and always runs with its own account.

The agent only monitors: **an agent without an operator runs no jobs**.

## Install on Windows and Linux

On Linux run the commands with `sudo` and without `.exe`.

| Command | What it does |
|---|---|
| `ConfigWizardCmd.exe enroll` | Installs the agent and the operator |
| `ConfigWizardCmd.exe enroll --operator-user "DOMAIN\svc"` | Runs the operator with a dedicated account (Linux: a local user, not root) |
| `ConfigWizardCmd.exe install-operator --org MyOrg --agent Default` | Adds or repairs the operator of an existing agent |
| `ConfigWizardCmd.exe install-operator --all` | Adds the operator of every agent that has none |
| `ConfigWizardCmd.exe set-service-user --org MyOrg --agent Default --service-user "DOMAIN\svc" --operator` | Changes the operator's account (it must be approved again) |
| `ConfigWizardCmd.exe uninstall --org MyOrg --agent Default` | Removes the agent and its operator |

One approval covers the agent and its operator. `install-operator` shows its own approval link.

## Update an existing installation

The QMonitor update installs the operator next to every agent that has none, on Windows and Linux. To let it run jobs:

1. On the agent machine run `ConfigWizardCmd.exe list`: the operators marked `TO APPROVE` show their approval link.
2. Open the link and approve the operator.
3. Enable its [permissions](#permissions).

Jobs and autofixes do not run until these steps are done: the **Instances** and **Jobs** pages show a warning.

If an operator is missing after the update, run `ConfigWizardCmd.exe install-operator --all`. On Docker add the
operator container as described in [Install on Docker](#install-on-docker).

## Permissions

An operator runs **nothing** until an administrator enables it: in the **Instances** list, click the status of its agent,
then the gear next to **Operator**, and choose what it may run.

- **Custom jobs**: query jobs and OS command jobs created from the **Jobs** page.
- **Autofix**: one entry for each available autofix.

With Windows authentication grant the operator account the permissions your jobs need on the instances. On Linux the
operator connects with the connection string of each instance.

## Install on Docker

The operator runs in its own container, with its own volume and the credentials volume of its agent mounted read-only.
Enroll the agent container first.

1. Enroll the operator: open the link printed by the container and approve it. The container then exits.

```
docker run -it --rm \
  -v operator-credentials-1:/credentials \
  -v agent-credentials-1:/agent-credentials:ro \
  qmonitor/operator:latest
```

2. Start it:

```
docker run -d --name qmonitor-operator --restart unless-stopped \
  -v operator-credentials-1:/credentials \
  -v agent-credentials-1:/agent-credentials:ro \
  qmonitor/operator:latest
```

`agent-credentials-1` is the volume mounted on `/credentials` by the agent container. Use one operator volume per agent.

3. Enable its [permissions](#permissions).

## Commands

| Command | What it does |
|---|---|
| `ConfigWizardCmd.exe list` | Lists the agents with the state of their operator and the pending approval links |
| `ConfigWizardCmd.exe logs --org MyOrg --agent Default --operator --tail 100` | Prints the end of the operator log |
| `ConfigWizardCmd.exe start --org MyOrg --agent Default --operator` (also `stop`, `restart`) | Controls the operator service |

In the **Instances** list, the status of an agent shows whether its operator is online and its account.

