sqlinsight-pro/tests
Søren Eggert Lundsteen Olsen 7082b278e3 Collection: Windows servers over CIM (WS-Man, DCOM fallback) and synthetic check runners
New project SQLInsight.Servers:
- CimWindowsServerSource (Microsoft.Management.Infrastructure, the API behind
  Get-CimInstance): WS-Man first, DCOM if that fails, a local session for the
  agent's own computer, as the agent's identity. Only SELECT queries (CimQueries)
  and Task Scheduler's read-only GetInfo. CPU and paging from raw counters, disks
  (Win32_Volume, Win32_LogicalDisk fallback), services, scheduled tasks, and the
  System/Application logs through the Event Log service (MS-EVEN6, XPath filter on
  the server) with Win32_NTLogEvent as fallback.
- ServerErrors: access denied, missing namespace, RPC/WinRM unreachable and
  timeouts become "ikke målbar" reasons that name the missing right and the grant
  script; never local administrator.
- WindowsServerTester: tries every area once for the web UI's test.
- SyntheticCheckRunner: TCP, HTTP(S) with expected status/text and TLS certificate
  expiry (also for refused certificates), SQL login + read-only query (re-validated,
  in a transaction that is always rolled back), DNS, and the Dynamics AX logon:
  AOS port, then a logon through the .NET Business Connector in a separate Windows
  PowerShell process with a timeout when it is installed; otherwise the result
  says clearly that only the port was tested.

Tests: error mapping, queries, AX command/parsing, runners against local TCP and
HTTP(S) servers with a self-signed certificate, the CIM source against this
computer, and the SQL check against the test instance.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 14:58:18 +02:00
..
SQLInsight.Agent.Tests Repository and agent: Dynamics AX history (migration 0017), seeding, hub opt-in 2026-10-02 13:53:34 +02:00
SQLInsight.Collectors.Tests Review 1.4: AX reads put the agent's session settings back 2026-10-02 14:14:24 +02:00
SQLInsight.Community.Tests Keep severity badge cells as table cells on both overviews 2026-10-01 15:39:36 +02:00
SQLInsight.Connectivity.Tests Fase 2: Azure SQL Managed Instance, docs and rule catalog test 2026-09-29 08:23:40 +00:00
SQLInsight.Core.Tests Windows servers and synthetic checks core: data, disk forecast, event dedup, grant script 2026-10-02 14:58:17 +02:00
SQLInsight.IntegrationTests Collection: Windows servers over CIM (WS-Man, DCOM fallback) and synthetic check runners 2026-10-02 14:58:18 +02:00
SQLInsight.Licensing.Tests Ship SEOSoft's license key k20261001; agent defaults to the real hub 2026-10-01 07:15:47 +02:00
SQLInsight.Notifications.Tests Fase 4: integration with Prometheus, Grafana, SCOM and scripts 2026-09-29 09:56:01 +00:00
SQLInsight.Rules.Tests Rules: Windows servers (SQLI-WIN-001..013) and synthetic checks (SQLI-SYN-001..003) 2026-10-02 14:58:18 +02:00
SQLInsight.Servers.Tests Collection: Windows servers over CIM (WS-Man, DCOM fallback) and synthetic check runners 2026-10-02 14:58:18 +02:00
SQLInsight.Updates.Tests Community-websted og Discourse-forum 2026-09-29 13:45:06 +00:00