Appearance
Policies
A policy is the monitoring and automation a device runs: its checks, its tasks, its scheduled scripts and its app management. Policies live under Automation → Policies.
Each device runs exactly one policy at a time, its effective policy. Policies do not stack or merge: the most specific one that applies wins outright and replaces the others. To make one device differ from its policy, use per-device adjustments rather than a new policy.
Patching is configured separately, in Patches → Policies. A patch policy has its own assignments and its own inheritance, and nothing on this page applies to it.
What's in a policy
Open a policy to see its tabs:
| Tab | What it holds |
|---|---|
| Checks | Check templates: CPU load, memory, disk space, service, ping, HTTP, script and event log, each with thresholds, an interval and how many failures raise an alert. |
| Tasks | Task templates: an inline script or a built-in command on a schedule. |
| Scheduled Scripts | Scripts from the Scripts library on a cron schedule. Ensure each scheduled run executes chooses whether a device that was offline catches up on every missed run (Queue every tick) or only once (Coalesce). The play button runs the script now on every device on the policy. |
| Apps | App management: which apps to install, update or uninstall, on which days and in which time window (device-local time), how long to hold new versions, and exclusions. Apply now runs it on every online device on the policy straight away. |
| Assignments | Which clients and sites use the policy, which smart groups apply it, and which devices have adjusted it. |
| Ask AI | Ask the assistant to propose changes to the policy's checks and tasks. Nothing is saved until you choose Apply. Needs the ai.policy_author.use permission. |
The header holds the policy's name, description and Active switch. Switching a policy off removes its checks and tasks from every device that uses it, and resolves their open alerts.
Duplicate copies a policy, with its checks, tasks, apps and scheduled scripts, into a new policy named "(copy)" that nothing is assigned to yet. Script schedules start afresh on the copy. To start a policy from scratch with help, use Author with AI on the Policies page.
How a device gets its policy
Policies are assigned at several levels. For each device, OpsMerge takes the first of these that has a policy:
- The device itself. A policy can be chosen on an install token (Assign Policy), which sets it on every device that enrols with that token.
- A smart group the device belongs to: Settings → Asset groups → the group → Applied policy. If the device is in several groups that apply a policy, the group whose assignment was changed most recently wins.
- Its site: Clients → the client → the site → Policy Assignment, or Assign site on the policy's Assignments tab.
- Its client: Clients → the client → Policies → Policy Assignment, or Assign client on the policy's Assignments tab.
- The organisation default: Global Default Policies at the top of the Policies page.
Every level has a separate Workstation Policy and Server Policy, and a device follows the one that matches its type. So a client can give its servers one policy and its laptops another.
If no level has a policy, the device runs none: no policy checks or tasks, and only the checks you have added to the device itself.
The Enforced switch on a policy is recorded but does not currently change which policy wins. The order above always applies.
Seeing which policy a device runs
On the device's page, the Info tab's Policy section shows the Effective Policy, linked to the policy, and where it came from: this agent directly, a smart group, the site, the client, or the organisation default. Next to it, Policy adjustments shows what this device changes.
On the Checks and Tasks tabs, the Source column shows whether each row comes from the policy or was added to this device.
When changes reach devices
You never need to push a policy by hand.
- Checks and tasks are copied onto each device as soon as you save the policy, change an assignment, move a device to another site, or change a device's adjustments. Online devices receive them within seconds. An offline device gets them when it next connects.
- Scheduled scripts are worked out when each one is due. A device that starts using the policy picks up its schedules from the next run.
- App management runs in its schedule window, on online devices only. Apply now runs it at once.
Per-endpoint adjustments
A device always runs its policy, but you can change how the policy applies to that one device without touching the policy. There are three kinds of change, and all of them are also available on the mobile app.
Add something just for this device. On the agent's Checks tab use Add Check, and on its Tasks tab use Add Task. These run alongside everything the policy supplies and show This agent in the Source column. To reboot one server at its own time, add a task to it with a Run Script or Run Command action on the schedule you want.
Turn a policy item off for this device. Policy rows show Policy: name in the Source column. Open the row's menu and choose Turn off for this agent. The check or task stays listed with an Off for this agent label and keeps its history, any open alerts on it are resolved, and every other device on the policy carries on as before. Choose Turn on for this agent to undo it.
Give a policy check its own thresholds. From the same menu choose Adjust thresholds for this agent and set the warning threshold, error threshold or interval. Leave a field empty to keep the policy's value. This is usually better than turning a check off: a SQL server that sits at 92% memory by design still wants a memory alert, just at 97%.
Scheduled scripts and apps from the policy can also be turned off per device. Go to the agent's Info tab, find Policy adjustments under Policy, and choose Manage. That dialog lists every check, task, scheduled script and app the policy supplies, with a switch for each, an Adjust button for checks, and a reason field so the next person knows why this device is different.
Policy rows can't be edited or deleted directly, on the agent page or on the Checks and Tasks pages. Change them for one device as above, or edit the policy to change them everywhere.
Resetting a device to its policy
In the Policy adjustments dialog, Reset to policy removes every adjustment on the device and deletes its agent-only checks and tasks, including their history, after you confirm. The device then runs exactly what its policy supplies. The Domain Controller Health check that OpsMerge adds automatically to a domain controller is kept. Reset doesn't change which policy applies.
Adjustments when the policy changes
- Adjustments follow the policy item, so renaming a check in the policy keeps them.
- Deleting an item from the policy deletes its adjustments too.
- If a device moves to a different policy, its adjustments to the old policy go dormant. The dialog tells you about them, they come back into force if the device moves back, and Reset removes them.
Seeing adjustments from the policy
A policy's Assignments tab lists Agent adjustments: every device that runs the policy with a change of its own, what the change is and the reason given. If several devices carry the same adjustment, that is a sign you want a separate policy for them.
Common patterns
"Most clients get the standard; one client is special"
- Set your standard policies as the organisation's Global Default Policies.
- Duplicate the standard policy, change what the special client needs, and assign the copy to that client.
"Servers and workstations need different monitoring"
Make a server policy and a workstation policy, and set both as the defaults. Each client or site can still choose its own for either type.
"A handful of devices across clients need extra monitoring"
Put them in a smart group and apply a policy to the group. A smart group beats the site and client policies.
"This one machine is always alerting on disk space because it's intentionally near-full"
- Agent → Checks tab → the disk check's menu → Adjust thresholds for this agent.
- Raise the thresholds and fill in the reason, so whoever looks next knows why this device differs.
Common issues
A device isn't running the policy I assigned. Check the Effective Policy row on the device's Info tab. A smart group or a policy set on the device itself beats the site and client. Also check that you assigned it for the right type: workstation and server are separate.
An adjustment doesn't seem to take effect. Policy adjustments on the Info tab shows what this device changes. An adjustment can only be made to the policy that applies now, so if the device has just moved policy, its old adjustments are dormant.
Editing a check or task fails with "managed by a policy". It comes from the policy. Turn it off or adjust it for the device from the agent page, or edit the policy.
A scheduled script didn't run on a device. The device was probably offline when it was due. With Queue every tick it runs every missed slot when it reconnects; with Coalesce it runs once. Check the device's History tab for the run and its output.
Next
- Monitoring & alerts: the checks that policies run
- Scripts & automation: scripts you'll schedule from policies
- Mobile app: adjusting a device's policy from your phone