Get the most out of OpenFrame

Skip to content

Create Your First Monitoring Check

BEST PRACTICESCOMPLIANCECONFIGURATIONGUIDEMONITORINGOPENFRAMETUTORIAL

Phase 4 — Monitoring & Policies · Step 2

Section

October 27, 2026

Published

Vladislav Marchenko

Vladislav Marchenko

Head of Marketing

Reviewed 24/11/2026

Create Your First Monitoring Check

Phase 4 — Monitoring & Policies · OpenFrame Onboarding

A monitoring check is a policy — an osquery query that each device passes or fails. Let's build one end to end. We'll use a simple, useful example: confirm Windows machines are on at least Windows 10.


Quick steps

  1. Go to Automation → Policies → Add Policy (or Generate with AI).
  2. Enter a name, a description and an osquery query that returns a row for a compliant device.
  3. Click Test Query, then choose devices under Devices.
  4. Click Save Policy and watch each device turn PASSING or FAILING.

Before you start

  • You need an Admin role.
  • The devices you want to check should have the Fleet/osquery agent installed and online (check the device's Agents tab if unsure). A device without the agent can't be evaluated.
  • A little osquery SQL helps, but you can copy the example below and adjust. The Osquery Documentation link in the editor lists every table you can query.

Create the policy

  1. Go to Automation → Policies → Add Policy. The New Policy page opens. (Prefer a head start? Generate with AI, next to Add Policy, has Mingo draft one for you to review.)

  2. Name — give it something scannable, e.g. Windows version.

  3. Description — say what it checks in plain language, e.g. Validate that version is at least 10. Your future self (and teammates) will thank you.

  4. Query — write the osquery SQL that defines passing. The trick: a device passes if the query returns a row, and fails if it returns nothing. So write the query to match only compliant devices.

    For our example:

    sql
    SELECT major FROM os_version WHERE major >= 10
    

    A device on Windows 10 or newer returns a row (passes); an older one returns nothing (fails).


Test before you save

Click Test Query to run the query against real devices first. This is the step that saves you from rolling out a check with a typo or a wrong table name. Confirm it returns what you expect, then fix the SQL if it doesn't.

Write checks as "what good looks like." Because returning a row = pass, your query should describe the compliant state. "Encryption is on," "OS is current," "the right agent is installed." If you accidentally write it to match the bad state, every healthy device will show as failing.


Assign devices

Scroll to the Devices section and choose which machines this policy runs against, under Select Specific Devices. You can pick individual devices from Available Devices, filter by Device Tags, or Add All Devices. (Select Devices by Criteria, which keeps matching devices in automatically, is marked Coming soon.) This is covered in full in Assign Devices to a Monitoring Policy — for your first check, add a couple of test devices you know the answer for.


Save and read the results

Click Save Policy. OpenFrame distributes the check to the assigned devices, and as each one reports back you'll see:

  • On the policy's detail page, a Devices table with PASSING / FAILING per device.
  • On the Policies list, the policy's aggregate Status — COMPLIANT when every assigned device passes.
  • In the summary at the top of the Policies tab, the Compliance Rate and Failed Policies counts update.

Results aren't instant — the agent has to run the check on its next cycle, so give it a little time and refresh.


Editing later

Open the policy and click Edit Policy to change the name, description, query, or device assignment. Test Query is available here too, so you can iterate safely.


Common questions

How do I create a monitoring check? Automation → Policies → Add Policy, write the query, test it, pick devices and save.

Can AI write the policy for me? Yes. Generate with AI, next to Add Policy, has Mingo draft one for you to review.

How does pass or fail work? A device passes if the query returns a row and fails if it returns nothing. Write the query to match the good state.

How do I test a check before rolling it out? Click Test Query to run it against real devices first.

Why are results not showing yet? Each device runs the check on its next cycle. Give it a little time and refresh.

Where can I find the osquery tables? The Osquery Documentation link in the editor lists them.

Can I change a policy later? Yes. Open it and click Edit Policy.


Quick checklist

  • Named the policy and wrote a clear description
  • Wrote the query so a compliant device returns a row
  • Used Test Query to confirm it behaves
  • Assigned a few known devices
  • Saved, then confirmed PASSING/FAILING came back as expected

What's next

That's a compliance check. For the data-collection side — pulling info on a schedule rather than judging pass/fail — see Create a Monitoring Query. To target checks at the right machines in bulk, see Assign Devices to a Monitoring Policy.


Checked against OpenFrame 1.7 (November 2026). Screens and defaults may shift between releases — when in doubt, what's in your console wins.

Vladislav Marchenko

Head of Marketing

Hi all! My name is Vlad and I’ve been brought on to head the marketing team at Flamingo. Thankfully, this isn’t the first time I will be building a marketing department from scratch, so the experience should come in handy. Now it’s time to dive into the world of MSPs and find myself in this new world.

More in Phase 4 — Monitoring & Policies

Related Content

Frequently Asked Questions

/onboarding-guides/create-your-first-monitoring-check

Still deciding?

Mingo answers from our docs and customer stories.

Loading related content and questions