AI Watch#
AI Watch watches the server for you. Checks run inside the server all the time and need no AI: they learn what is normal for each hour of the week and tell you when the server is far from it, when something will run out, when sign-ins look like an attack, when a partner's usual file has not come, when a job keeps failing, when the log shows an error it has never shown before. What they find goes to your channels (e-mail, Slack, Microsoft Teams, PagerDuty and others), with a note from the AI that says what it likely means and what to check first.
Because a server that is down cannot say so, the same program also runs as an outside watcher on another machine. It checks the server from outside and notifies through its own channels when the server stops answering. See The outside watcher.
| Where | What |
|---|---|
| Server Admin, AI Watch | what was found, the AI's notes, acknowledge and resolve, quiet for planned work, the AI's spend |
| Preferences, AI Watch | the checks, the AI tasks, the channels, the spend caps and prices, the outside watchers |
| The outside watcher | running CrushMFT -watch on another machine, or on the server's own to restart it |
AI Watch is part of the editions that have the AI Assistant (Standard and up). It is off until you turn it on.
The checks#
None of them uses the AI. Each can be turned off, and Sensitivity moves all their thresholds at once.
| Check | Finds |
|---|---|
| Far from normal | sessions, transfers, upload and download speed, memory, busy threads, CPU, open files or running jobs far from their usual value for this hour of this weekday, for 10 of the last 15 minutes. It learns for two weeks first. |
| Forecasts | the server's disk filling up (bad within 3 days, a warning within 14), memory in use after collections creeping up (a leak), open files or busy threads that keep rising |
| Security | failed sign-ins to one account from many addresses (password spraying), one address trying many accounts (credential stuffing), an administrator signing in from a new country or network, or outside working hours, a user downloading many times their usual amount, one session deleting or renaming hundreds of files |
| Partners | a user who uploads on most Tuesdays by 09:10 and has sent nothing by 11:10 today |
| Jobs | a job failing three times in a row, or most of its runs; a run three times longer than usual; a job that ran every hour and stopped |
| Log errors | an error the log has not shown for 30 days, or a known one at ten times its usual rate |
| Stall | the server at full CPU with transfers running and no bytes moving, or every thread busy, for 3 minutes. A thread dump is taken at once. |
| Alerts | every alert of Alerts that fires is a finding too, apart from routine ones (started, update available, a user or job changed) |
| Health | an impaired part (Health checks), and a server that stopped without a clean shutdown |
| Watchers | an outside watcher that has gone quiet |
| AI spend | the AI's spending near or over its caps |
The security, partner and job checks count the server's events, so they need the activity store on (Reports store, on by default).
Findings and incidents#
What a check found is a finding: one subject (a metric, an address, an account, a job), its severity (info, warning, bad), its numbers. While it is open a repeat only counts up; a worse one raises it. Findings close in time make one incident, and a notice goes per incident: when it opens, when it gets worse, when it is resolved.
A finding closes by itself when its check no longer sees the problem (15 minutes for a measured value, 24 quiet hours for an event), or when someone resolves it. The AI never closes, lowers or silences a finding. If text in a log line tried to talk the AI out of an alert, the alert still goes out with the check's numbers.
The AI#
The AI part uses the service and key of the AI Assistant, with its cleaning: names, addresses, hosts and paths become placeholders, and secrets are removed, before anything leaves the server.
- A note on each incident: a summary, the likely cause and how sure it is, and up to five things to check, each with where.
- AI tasks you set up, such as a morning summary or a review of sign-in attacks. A task sends only the kinds of material you picked, and runs on its own only after you have seen exactly what it sends and approved it.
- A crash report after the server stopped without a clean shutdown: the end of the log, the last values, any JVM crash file, and the AI's view of why.
The AI gets no tools: it reads what it was sent and nothing more.
What the AI costs#
Every call to the AI service is priced, the AI Assistant's questions too, so you see the AI's cost this month and where it went. Caps in dollars stop the AI calls when reached; the checks and notices go on. See Spend.