DocsDiscoveryCruscotto

Cruscotto

The Cruscotto is the main dashboard (/dashboard): one page that says whether the infrastructure is healthy and what to do first. It brings together the health index, what needs attention now, the business services by tier, the 30-day KPIs and the changes of the last 24 hours. It opens from Dashboard, the first item of the Workspace section of the sidebar, and is the default page after login. The discovery summary (zones, active assets, recent jobs, asset distribution) is a separate page, Discovery overview (/dashboard/overview), at the top of the Discovery section.


Tiles

Every tile loads and fails on its own, so one slow or broken source never hides the others:

  • Health index: score, 7-day delta (green when up, red when down), 30-day sparkline with "View as table", and the four pillars (availability, security, hygiene, coverage); click a pillar to see why it lost points, with a link to each filtered view and the signals that have no data
  • Needs attention now: at most 10 items, most severe first
  • Services: the business services of the scope as a traffic light per tier (green healthy, amber degraded, red critical, grey unknown); the tooltip and the accessible name give the root cause; each service links to its page
  • KPI: tier-1 uptime, operational MTTR, security MTTR, SLA met and agent coverage over the last 30 days
  • Changes (24h): new assets, assets missed by the last discovery, file changes (FIM), new critical findings and resolved findings
Dashboard: health index, what needs attention, business services, KPIs and recent changes

Attention order

Items are grouped by kind in this order, then sorted inside each kind; the list is cut at 10 and the API returns the total before the cut:

  • service_critical: tier-1 services in critical state, oldest first, with their first root cause
  • finding_urgent: one item per asset that is critical (effective criticality) or internet exposed and has open P1 or KEV findings, most findings first
  • sla_overdue: one item with the number of open findings past their SLA; when open findings exist but none has a due date it is listed as unavailable ("no SLA policy applies to open findings")
  • certificate_expiring: certificates (ssl_expiry checks) expiring within 7 days or already expired, soonest first
  • source_stalled: stalled discovery zones, relays, agents and feeds with their cause (global: the filters do not apply)
  • reboot_urgent: servers whose open kernel findings only need a reboot and include a P1 or KEV finding

KPIs and formulas

Window: the last 30 days. A KPI without data shows "Data not available" with the reason, never 0:

  • Tier-1 uptime (%): mean of the 30-day uptime of the tier-1 services of the scope that have health history
  • Operational MTTR: Σ critical_seconds / Σ incidents of the daily health rollups (HealthDailyStat) of the scope assets; "no health history yet" without rows, "no incident in the last 30 days" with zero incidents
  • Security MTTR (hours): mean time to resolve (time_to_resolve, else resolved_at − detected_at) of the findings resolved in the window
  • SLA met (%): findings resolved with sla_met = true / findings resolved with sla_met set; "no SLA policy applied to resolved findings" when none has it
  • Agent coverage (%): share of the compute assets of the scope with an active agent (Blind spots)

Disappeared assets

An asset counts as "missed by the last discovery" when its coverage row (Blind spots) has discovery_fresh = false and its discovery_reference_at — the last completed discovery of its zone — falls in the last 24 hours: the discovery ran and did not see it. No new model is needed; until coverage has been computed the item shows "Data not available: coverage has not been computed yet".

Filters

The environment and team selectors write environment=<id> and team_ref=<id> to the URL, so Back and Forward restore the previous filters and the link can be shared. Every tile uses them: assets are those of the environment and/or team, services are those touching them (as for the health index). Links opened from the tiles keep the filters where the target page supports them (for example /dashboard/security?sla=overdue&team_ref=7); the tier-1 uptime link opens the unfiltered services list, the new-assets link keeps only the environment, the operational MTTR link keeps only the team, and the change links do not restrict the view to the last 24 hours. The health index covers one scope at a time: with both filters its tile shows "Data not available: the index covers one scope at a time — clear the environment or the team filter" while the other tiles stay filtered.

Customize

The Customize button opens a dialog to show or hide each tile and move it up or down. Saving stores the layout in your user preferences (cruscotto_layout); the page then shows only the visible tiles in the saved order, on every device. Until the layout is loaded the default (every tile, default order) is used.

Real-time updates

The tiles update as soon as something changes, without reloading the page: when the health computation of the business services records a change of status, or a security finding becomes P1, the WebSocket (/docs/api/websocket) sends service_health_changed or finding_p1_created and the page refreshes its tiles (and the health index, the service map and the topology health overlay) at once. After a reconnection the tiles are refreshed too. The 30-second refresh stays as a fallback when the socket is down. Tier-1 services that become critical or recover, and data sources that stall, can also be notified in-app and on the external channels (/docs/notifications/preferences).

Data not available

Whenever a value cannot be computed — no SLA policy, no health history, coverage not computed, no business service in scope — the tile shows "Data not available: <reason>" instead of a number. A missing value is never shown as 0.

API

Every endpoint requires authentication, accepts the optional environment and team_ref filters (positive integers; anything else returns 400 "Invalid <param> id."; an id that does not exist gives empty results) and returns plain JSON without pagination:

  • GET /api/v1/cruscotto/attention/ → {items: [{kind, title, detail, link}], total, unavailable: [{kind, reason}]}
  • GET /api/v1/cruscotto/services/ → {tiers: [{tier, services: [{id, name, status, since, root_cause}]}]}
  • GET /api/v1/cruscotto/kpis/ → {window_days: 30, kpis: [{key, label, value, unit, available, reason, link}]}
  • GET /api/v1/cruscotto/changes/ → {since, items: [{key, label, count, available, reason, link}]}
  • GET /api/v1/health-index/history/?scope=&id=&days=1-90 → {scope, id, days, points: [{date, score}]}
  • GET / PUT /api/v1/cruscotto/layout/ → {tiles: [{key, visible}]} with key in index, attention, services, kpis, changes; PUT requires every key exactly once