sqlinsight-pro/src
Søren Eggert Lundsteen Olsen 6eae719e95 Agent: monitor Windows servers and run synthetic checks; server tests and check runs on request
- ServerMonitoringService keeps the SQL Server hosts in step with the monitored
  instances (SQLInsight:Servers:IncludeSqlHosts), picks up servers added, paused or
  changed in SQLInsight Web within a minute, and runs each server's due areas with
  a limit on parallelism. Default intervals: 1 min CPU/memory, 15 min disks and
  tasks, 5 min services and events (SQLInsight:Servers:Intervals).
- ServerMonitor: one CIM session per cycle; per-minute samples, disk samples and
  the "fuld om ca. N dage" forecast from the stored history, grouped events (read
  from where the last read stopped), services and tasks. A missing right makes
  only that area "ikke målbar" with the exact reason, logged once per change; a
  server that does not answer is notified once, and again when it answers.
  Survives an agent restart (samples, boot time, event position).
- SyntheticCheckService runs checks on their interval, opens a SQL login password
  sealed for the agent (AgentCredentialKey.OpenContext), looks up the linked
  Windows service when a check fails, stores results and findings, notifies with
  links to /servere/fund/{id}.
- AgentRequestService hands ServerTest and SyntheticCheckRun to ServerRequestHandler.
- appsettings.json: SQLInsight:Servers and SQLInsight:SyntheticChecks with every
  threshold, interval and retention.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 14:58:36 +02:00
..
SQLInsight.Agent Agent: monitor Windows servers and run synthetic checks; server tests and check runs on request 2026-10-02 14:58:36 +02:00
SQLInsight.Collectors Review 1.4: AX detection survives passing errors; revoke only what the grant gave; smaller fixes 2026-10-02 14:45:31 +02:00
SQLInsight.Community Docs: Servere og databaser (1.3) 2026-10-02 13:22:41 +02:00
SQLInsight.Connectivity Review 1.4: AX reads put the agent's session settings back 2026-10-02 14:14:24 +02:00
SQLInsight.Contracts Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
SQLInsight.Core Windows servers and synthetic checks core: data, disk forecast, event dedup, grant script 2026-10-02 14:58:17 +02:00
SQLInsight.Hub Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
SQLInsight.Licensing Ship SEOSoft's license key k20261001; agent defaults to the real hub 2026-10-01 07:15:47 +02:00
SQLInsight.Notifications Fase 4: management and compliance reports as PDF 2026-09-29 10:09:10 +00:00
SQLInsight.Reports tempdb and version store (8c) 2026-10-02 10:42:38 +02:00
SQLInsight.Repository Repository: Windows servers, samples, events, synthetic checks and their findings (0018) 2026-10-02 14:58:18 +02:00
SQLInsight.Rules Agent: monitor Windows servers and run synthetic checks; server tests and check runs on request 2026-10-02 14:58:36 +02:00
SQLInsight.Servers Collection: Windows servers over CIM (WS-Man, DCOM fallback) and synthetic check runners 2026-10-02 14:58:18 +02:00
SQLInsight.Updates MSI installer for Agent and Web 2026-09-29 11:31:28 +00:00
SQLInsight.Web Review 1.4: AX pages and API leave out removed instances; bounded, complete reads 2026-10-02 14:29:34 +02:00