Set up system status as a tool
AdminA system status tool queries the state of many systems and gives the assistant only what matters: counts, deviations and changes. It never passes raw JSON on. It is meant for installations with roughly 10–50 monitored .NET systems. You set it up in the Administration → Configured tools tab, on web and desktop. For context see Configurable tools — overview.
What for?
- In the chat: “Is everything running?” — the assistant answers with an overview instead of pages of status data.
- In an agent: a scheduled agent reports only what changed since its last run — for example as an alert mail, set up in one click.
- In a workflow: a
status.checkstep hands counts and deviations to the following steps.
Licence (Pro/Site): For the assistant to actually call a system status tool, a Pro or Site licence is required (not Free). Setup and testing are possible in all editions. → License & edition model
Step 1 — create a connection with status sources
Section titled “Step 1 — create a connection with status sources”- In the Configured tools tab click New connection and choose the kind System status.
- Under Status sources, use Add source to enter one or more sources. One tool can bundle several sources, and one installation can have several system status tools.
- Save, then use Test connection to check that the sources are readable.
Source types
Section titled “Source types”| Type | Typical address | Result |
|---|---|---|
| HealthChecks endpoint | /healthz (JSON from AspNetCore.HealthChecks) | one system with its individual checks |
| HealthChecks UI | /healthchecks-api | every system the UI monitors, with history |
| HTTP status code | any URL | reachable when the expected status code comes back (default 200) |
| HTTP text content | any URL | healthy when the expected text is in the response |
Fields per source
Section titled “Fields per source”| Field | Meaning |
|---|---|
| Type | One of the four source types above. |
| Display name | The name the assistant uses for the source, e.g. “Order portal”. Empty = host name of the address. |
| Base URL and Path | The address. Without a path, HealthChecks sources use the default (/healthz or /healthchecks-api); HTTP probes use the base URL as entered. |
| Timeout (seconds) | 1–120, default 10. |
| Expected status code | HTTP status code only; default 200. |
| Expected text | HTTP text content only; required. |
| Stale after minutes | HealthChecks UI only; default 120. If the UI has not checked for longer, the source counts as stale. |
| Basic authentication | Optional user and password. They are stored encrypted and never shown again. |
Rules in the form
Section titled “Rules in the form”- Display names are unique per tool. Without a display name the host name counts — so two sources on the same host each need a display name of their own.
- Credentials for all or none. Whoever enters a new user or password for one Basic source has to enter them for all Basic sources of the tool, otherwise Save stays disabled. Stored credentials cannot be read back; without this rule the others would be lost.
Step 2 — create the tool
Section titled “Step 2 — create the tool”Use New tool to create a tool, pick the connection from step 1 and — as with the other kinds — set slug, display name and description. Then decide whether it is available in chat and/or available to agents.
Test run shows the overview the assistant would get, for the current measurement. The test queries the sources but writes nothing to the observation. Test run and Test connection check the saved configuration — save your changes first.
What the assistant can do with it
Section titled “What the assistant can do with it”The tool provides four functions, named after the slug (<slug>_overview and so on):
| Function | Returns |
|---|---|
_overview | Overview: “n of m systems healthy”, plus the deviations with their duration. |
_system_details | The individual checks of one system with status and description. |
_history | The status history of one system or all of them, newest first. |
_changes_since | What changed since a point in time, including recoveries. |
The summaries the tool produces are currently written in German; the assistant answers in the language of the conversation.
States
Section titled “States”The assistant calls systems healthy, degraded or unhealthy. For the source itself there are also unreachable, unreadable and stale.
- If an HTTP probe gets a status code other than the expected one, that means unreachable.
- Redirects are not followed.
- HTTP 503 with valid HealthChecks JSON is a finding about the system, not a failure of the source.
- If a source fails, its systems keep the last state seen; the answer says how old it is.
”Changes since” without a point in time
Section titled “”Changes since” without a point in time”- In an agent, the end of the last successful run counts, whether scheduled or started manually. Dry runs and calls from the chat do not count.
- In a workflow, the last successful run that was not a dry run counts.
- In the chat there is no such reference point: it shows the current deviations.
- On the first run the agent reports everything that is not healthy.
A chat call or opening a dashboard does not “use up” a change for the agent — the observation is shared, not a read marker.
As a dashboard tile
Section titled “As a dashboard tile”The overview can be saved as a live tile in a dashboard; it then queries the systems fresh every time it is opened. Systems of a source that cannot be reached count as disturbed there. The AI can merge the systems of several status tools into one table. → Dashboards
Set up monitoring in one click
Section titled “Set up monitoring in one click”For the most common case — an email on every status change — there is a dedicated button. It creates the agent from the recipe below with default settings.
- In the Configured tools tab, select the system status tool. Set up monitoring… appears next to Test run once the tool is saved, active and available to agents.
- In the dialog, check Notify (your own address is filled in) and choose 5, 15, 30 or 60 minutes under Check every. The default is 15 minutes.
- Click Create. “Agent … created.” appears above the form with an Open agent link.
This creates an agent “Monitoring: <display name>” with the system status tool and SendEmail, a ready-made system prompt and a schedule in the local time zone. If <slug>_changes_since reports “Keine Änderungen” or “Keine Abweichungen” (no changes / no deviations), the agent just answers “OK”; otherwise it mails the result with the subject “<display name>: Statusänderung”. Recipient, subject, model and schedule can be changed on the agent afterwards.
What the dialog checks:
- Allowlist: if the address is not on the recipient allowlist, Add recipient to the mail allowlist is ticked. Exactly this address is added, not its domain. Without the tick the agent is still created — the dialog warns that every mail will then be refused.
- Mail delivery: if neither SMTP nor Microsoft 365 is set up, Create stays disabled; the notice links to the system settings.
- Duplicate monitoring: if an active agent with this tool and
SendEmailalready exists, the dialog names it. A second one can still be created. - Partial failure: if adding the allowlist entry or the schedule fails after the agent was created, the dialog names the missing step and links to the agent or the system settings. The agent stays; add the missing part there.
Cost: every check is a language model run — every 15 minutes means 96 runs a day per tool.
Typical recipe: alert mail via an agent
Section titled “Typical recipe: alert mail via an agent”Set up monitoring… does steps 2 to 4 for you. By hand:
- Set up a system status tool as above, available to agents.
- Create an agent: source adapter None, with the system status tool and
SendEmailas its tools. → Create an agent and test it in a dry run - The system prompt is the whole task, along the lines of: “Call
<slug>_changes_since. If the result says ‘Keine Änderungen’ or ‘Keine Abweichungen’ (no changes / no deviations), send no mail; otherwise mail the result to …” - Set a schedule, e.g. hourly. → Set up a cron trigger
_changes_sinceor_overview? With_changes_sincea mail arrives only on a change — when, say, the “Stock API” goes down and when it recovers. With_overviewone arrives on every run as long as something is unhealthy.- Sender and recipients: the sender is the system sender address, also for the
_sendof a mailbox tool. Recipients must be on the recipient allowlist. → System settings - Desktop: schedules only run while the app is open — use web/server mode for continuous operation. → Web vs. desktop
If it does not work
Section titled “If it does not work”- Save disabled: the form names the source and the reason — usually a duplicate display name or missing credentials for another Basic source.
- “Keine Quelle lesbar.” (“no source readable”) on Test connection: no source answered; the error per source follows (timeout, redirect, wrong status code …).
- The assistant does not know the tool: check the licence (Pro/Site), whether the tool is active and available in chat or to agents, and whether the user is restricted in the Access tab.
Limits
Section titled “Limits”- Queried only when called. There is no continuous background monitoring — for regular checks use a scheduled agent or workflow.
- Brief flapping between two queries is seen only for HealthChecks UI sources (through their history), not for single endpoints.
- Basic authentication only — no OAuth, no bearer token, no API keys.
- Kubernetes and similar sources are not available yet.
- An undelivered report is caught up by the next run. If sending is refused (for example by the hourly mail limit, an address missing from the allowlist or an SMTP failure), the run still succeeds, but its summary starts with ”⚠ Mails were not delivered” and names the reason. The next run compares against the last state that was actually delivered and reports the difference again. An outage that starts and ends between two runs is not reported.