SECCTRL-307: fill the Monitoring Tools page

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
babic_aandClaude Fable 5.2 committed 2026-11-25 13:52:09 +01:00
1 parent aff212fdb7
commit c692fff2d7
3 files changed
+389

No files matched your search

@@ -8,3 +8,138 @@ tags:
---
# Monitoring Tools
## Which tool for which question
![Which tool for which question: IOC running or red, host state, PVs and CA gateways in gfa-monitoring; host load history in Grafana; logs in Kibana or with journalctl; past PV values in the archiver viewer](images/08_monitoring_chooser.svg)
| Your question | Open | Where |
|---|---|---|
| Is my IOC running? Why is it red? | [gfa-monitoring](#gfa-monitoring), IOC details | [http://gfa-monitoring.psi.ch](http://gfa-monitoring.psi.ch) |
| Is my host all right? Which IOCs run on it? | gfa-monitoring, Host details | same |
| Is a PV served, and by which IOC? Is a CA gateway all right? | gfa-monitoring, PV list and Gateways | same |
| How loaded is a host? CPU and memory over time? | [Grafana](#grafana-host-metrics), dashboard "Linux GFA" | [https://metrics.psi.ch](https://metrics.psi.ch) |
| What did a service or IOC log? | [Kibana](#logs-kibana-and-journalctl) centrally, `journalctl` on the host | [https://kibana.psi.ch](https://kibana.psi.ch) |
| What was a PV doing in the past? | [Archiver Viewer](07_archiver_viewer.md) | |
On the command line, `ioc status` from [IOC Utils](01_ioc_utils.md) tells you whether one IOC runs. What Controls IT collects and how the logs travel is described in [Controls IT Services: Logging](../Services/03_devops.md#logging) and [Monitoring](../Services/03_devops.md#monitoring).
## gfa-monitoring
gfa-monitoring is planned to become the web-based hub for the Controls IT services. Today it is a proof of concept: it runs and you can use it, but its functions and screens may still change. Once Controls IT has settled its functionality and user interface, it will be implemented professionally for long-term maintenance, support and security. Machines are also requested there, see [Controls IT Infrastructure](../Services/02_computingandboot.md#how-to-request-a-machine-or-a-change).
Open [http://gfa-monitoring.psi.ch](http://gfa-monitoring.psi.ch) in a browser inside PSI. There is no login. The start page is the **Facilities overview**.
### The views you need
| Sidebar entry | Use it for |
|---|---|
| Facilities overview | one card per facility: how many IOCs are ok, warn and in error, the share on a supported EPICS version, and the latest problem IOCs |
| Wall dashboard | the same for a large screen; opens in a new tab without the sidebar |
| Host list, Host details | every host with its status; one host with its checks, its IOCs and their CPU and memory use, its installed packages, and links to Grafana and Puppetboard |
| IOC list, IOC details | every IOC with its status; one IOC with the reason for each check, boot host and time, uptime, loaded modules, live resources and its PVs |
| PV list, PV monitoring | find a PV by name, IOC, host or facility and see which IOC and host serve it; watch a set of PVs live and compare snapshots |
| Gateways | the live state of every Channel Access gateway per facility; **Test a channel** shows which gateways' rules let a channel through |
Every list has a search and filters. A filter that limits the rows is shown in red, with "Filtered: showing N of M" above the table; **Show everything** removes all limits. Hosts that have not reported for 24 hours and IOCs not booted this year are hidden until you remove that limit. Filters are part of the address (for example `?facility=sls`), so a link you send shows the same view.
### Reading a status
![From the Facilities overview to the IOC list of the facility to IOC details, where each check shows its grade and the reason, for example Online error with Unanswered probe 2 of 3; grades from best to worst are ok, unknown, warn, error](images/08_monitoring_drilldown.svg)
Every check ends in one of four grades. The status of a host or an IOC is its worst check, and the reason is shown next to each check.
| Grade | Colour | Meaning |
|---|---|---|
| ok | green | the check passed |
| unknown | grey | no data to judge; "we do not know", not "it is fine" |
| warn | orange | worth a look |
| error | red | the check failed |
| Host check | ok | warn | error |
|---|---|---|---|
| Monitoring: age of the host's last report | under 25 h | 25 h to 7 days | over 7 days |
| Puppet: last Puppet run, at the time of that report | under 25 h | 25 h to 7 days | over 7 days |
| OS release | el8, el9 | el7 | older or not recognised |
| IOC check | Not ok when |
|---|---|
| Online | `<IOC>:TOD` does not answer (error) |
| Compliance | name pattern, unsupported EPICS version, clock more than 10 s off |
| Infrastructure | a module version that is not a release (warn) |
| Resources | suspended tasks, file descriptors over 80 %, memory over 90 % (warn) |
| Restarts | booted in the last 15 minutes, or two restarts within 24 h of uptime (warn) |
- An IOC that does not answer is **error** while it is retried ("Unanswered probe N of 3"). After three unanswered probes in a row it is **OFFLINE**: it counts as error and is rechecked once per hour. It comes back by itself when a recheck answers or it boots again; **Probe** on IOC details checks it at once.
- A status that has not been refreshed for an hour turns **unknown**, with the time of the last probe.
- IOC states are collected for SwissFEL, SLS, HIPA, PROSCAN and CRYO. IOCs of other facilities (for example the SwissFEL endstations, TWLHA, ESI, office) stay unknown with the reason "not polled by any status sweep". That is a known gap, not a fault of the IOC.
- Hosts report once per day, so host checks are up to a day old; IOC states are refreshed every 2 minutes, gateway states every minute.
### How do I find my IOC and see why it is not ok?
1. Open **IOC details** and search for the IOC name, or click it in the IOC list or in the problem list of the Facilities overview.
2. Read the check that is not ok and its reason. If **Online** fails, the IOC does not answer on Channel Access.
3. Open the boot host in **Host details**: does the host itself report (Monitoring check)? Several red IOCs on one host point to the host or its network.
4. Read the IOC's log on the host with `journalctl` or in Kibana, see [Logs](#logs-kibana-and-journalctl). For **Restarts** warn, compare the boot time on IOC details with the journal around that time.
Many IOCs of one facility red or unknown at the same moment is rarely many IOC failures: look at that facility's gateway on the Gateways page first. An IOC that is grey with "no sweep result since …" is a problem of gfa-monitoring, not of the IOC.
### How do I see which IOCs run on a host?
Open **Host details** and search for the host name. The page lists the IOCs on the host with their CPU and memory use, the three host checks, and links to **Grafana** (the host's metrics, last 6 hours) and **Puppetboard** (the host's last Puppet runs and their logs). A Puppet warn or error: open Puppetboard. An OS release warn: the host runs el7.
### How do I check whether a PV is served, and by which IOC?
Open **PV list** and search for the PV name. The result shows the IOC and the host that serve it. On that IOC's details page the PV list shows a one-time read of the current values, whether each PV is archived, and a link to its history in [Data Board](05_data_board.md). To watch several PVs live, use **PV monitoring**.
### How do I check a CA gateway?
Open **Gateways** and filter by facility or gateway name. The live status comes from the gateway's statistics PVs: ok when they answer, warn when fewer than half of the requested PVs are connected, unknown when the statistics PVs did not answer. Beamline gateways answer through `sls-cagw`. **Live statistics** on a row shows the gateway's counters (PVs connected, clients, rates, load). **Test a channel** answers whether a channel is let through, and whether it can be written, according to the gateway configuration. More on the gateways, and what to do when a channel is not reachable: [CA gateways](../Services/02_computingandboot.md#ca-gateways).
## Grafana: host metrics
Host metrics (CPU, memory, disks, network) are collected by Telegraf on the Controls hosts and shown in Grafana at [https://metrics.psi.ch](https://metrics.psi.ch), dashboard **Linux GFA**. Use it for the history of a host's load.
The fastest way to one host: open the host in gfa-monitoring **Host details** and click **Grafana**. The dashboard opens for that host, last 6 hours. Change the time range in the top right corner of Grafana. Directly in Grafana, choose the host in the dashboard's host selector by its full name, for example `<host>.psi.ch`.
## Logs: Kibana and journalctl
Services and IOCs on Controls hosts write to the systemd journal. Only hosts of the `controls` Puppet environment (the RHEL9 Controls hosts) ship their journal to Elastic today; on all other hosts, including the Channel Access gateways, read the logs on the host with `journalctl`.
### On the host: journalctl
Follow one service live:
journalctl -u <unit> -f
Everything one service wrote in the last two hours:
journalctl -u <unit> --since "2 hours ago"
Only errors and worse since the last boot of the host:
journalctl -b -p err
More examples, and what your software must do so its messages end up there: [Controls IT Services: Logging](../Services/03_devops.md#on-the-host-journalctl).
### Centrally: Kibana
Open [https://kibana.psi.ch](https://kibana.psi.ch), switch to the Controls space (`data-controls`), open **Discover**, set the time range and filter on the host name, then on the service or the IOC name. Kibana is the place for searching across hosts and for the logs of a host that is down. You need a PSI account with access to the Controls space. Step-by-step: [Centrally: Elastic and Kibana](../Services/03_devops.md#centrally-elastic-and-kibana).
## What is planned
The platform strategy makes logging and monitoring a service of the Controls layer: standard agents on every standard machine, self-service dashboards in Elastic where your group queries its own data, and drift and failure detection that compares each machine with its declared standard. Details: [What is planned](../Services/03_devops.md#what-is-planned).
## Support status & contact
gfa-monitoring runs and can be used today, as a proof of concept. Shipping the journal to Elastic is switched on for the hosts of the `controls` Puppet environment. For questions ask your Controls contact ([SLS beamlines](../../4._Contacts_Support/BL_SLS.md), [SwissFEL endstations](../../4._Contacts_Support/BL_SF.md)) or see [Controls Services contacts](../../4._Contacts_Support/Service.md).
## Further reading
- [Controls IT Services](../Services/03_devops.md): Logging and Monitoring, what is collected and how
- [Controls IT Infrastructure](../Services/02_computingandboot.md), including the CA gateways
- [IOC Utils](01_ioc_utils.md)
- [Archiver Viewer](07_archiver_viewer.md) and [Data Board](05_data_board.md)
- [Troubleshooting IOCs](../../3._Knowledge_Center/04_troubleshooting/05_iocs.md)
- [IT Infrastructure reference: logging pipeline](../../3._Knowledge_Center/06_references/01_it_infrastructure.md) for Controls staff
- gfa-monitoring source and documentation: [gitea.psi.ch/controls_it/gfa_monitoring](https://gitea.psi.ch/controls_it/gfa_monitoring) (access to the repository is needed)
@@ -0,0 +1,119 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 560" role="img" aria-labelledby="t d">
<title id="t">Which monitoring tool for which question</title>
<desc id="d">Is my IOC running, why is it red: gfa-monitoring, IOC details. Is my host all right, which IOCs run on it: gfa-monitoring, Host details. Is a PV served and by which IOC, is a gateway all right: gfa-monitoring, PV list and Gateways. How loaded is a host, CPU and memory history: Grafana, dashboard Linux GFA on metrics.psi.ch. What did a service or IOC log: Kibana centrally, journalctl on the host. What was a PV doing in the past: the archiver viewer.</desc>
<style>
text { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; fill: #212121; }
.mono { font-family: "JetBrains Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.h { font-size: 17px; font-weight: 600; }
.q { font-size: 16px; }
.cap { font-size: 14px; fill: #5f6368; }
.code { font-size: 14px; fill: #303fa1; }
.card { fill: #f7f8fc; stroke: #e1e4f2; stroke-width: 1.5; }
.tile { fill: #e8eaf6; }
.ic { fill: none; stroke: #4051b5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icm { fill: none; stroke: #757575; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wire { fill: none; stroke: #9fa8da; stroke-width: 2; }
.col { font-size: 13px; font-weight: 600; fill: #5f6368; letter-spacing: .06em; }
</style>
<defs>
<symbol id="i-q" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01"/></symbol>
<symbol id="i-gauge" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M3 9h18M8 13h3m-3 3h6"/><circle cx="17" cy="14.5" r="1.5"/></symbol>
<symbol id="i-chart" viewBox="0 0 24 24"><path d="M3 3v18h18"/><path d="m7 15 4-4 3 3 5-6"/></symbol>
<symbol id="i-log" viewBox="0 0 24 24"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5M9 13h6M9 17h6"/></symbol>
<symbol id="i-clock" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></symbol>
<marker id="ahl" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M1 1l8 4-8 4z" fill="#9fa8da"/></marker>
</defs>
<rect x="1" y="1" width="958" height="558" rx="10" fill="#ffffff" stroke="#e0e0e0" stroke-width="1.5"/>
<text x="24" y="38" class="col">YOUR QUESTION</text>
<text x="520" y="38" class="col">OPEN</text>
<!-- row 1 -->
<g transform="translate(24 54)">
<rect class="card" width="440" height="72" rx="8"/>
<use href="#i-q" class="icm" x="18" y="24" width="24" height="24"/>
<text x="56" y="32" class="q">Is my IOC running?</text>
<text x="56" y="54" class="q">Why is it red?</text>
</g>
<path class="wire" d="M468 90h44" marker-end="url(#ahl)"/>
<g transform="translate(520 54)">
<rect class="card" width="416" height="72" rx="8"/>
<rect class="tile" x="16" y="14" width="44" height="44" rx="8"/><use href="#i-gauge" class="ic" x="26" y="24" width="24" height="24"/>
<text x="74" y="32" class="h">gfa-monitoring</text>
<text x="74" y="54" class="cap">IOC list, IOC details</text>
</g>
<!-- row 2 -->
<g transform="translate(24 138)">
<rect class="card" width="440" height="72" rx="8"/>
<use href="#i-q" class="icm" x="18" y="24" width="24" height="24"/>
<text x="56" y="32" class="q">Is my host all right?</text>
<text x="56" y="54" class="q">Which IOCs run on it?</text>
</g>
<path class="wire" d="M468 174h44" marker-end="url(#ahl)"/>
<g transform="translate(520 138)">
<rect class="card" width="416" height="72" rx="8"/>
<rect class="tile" x="16" y="14" width="44" height="44" rx="8"/><use href="#i-gauge" class="ic" x="26" y="24" width="24" height="24"/>
<text x="74" y="32" class="h">gfa-monitoring</text>
<text x="74" y="54" class="cap">Host list, Host details</text>
</g>
<!-- row 3 -->
<g transform="translate(24 222)">
<rect class="card" width="440" height="72" rx="8"/>
<use href="#i-q" class="icm" x="18" y="24" width="24" height="24"/>
<text x="56" y="32" class="q">Is a PV served, and by which IOC?</text>
<text x="56" y="54" class="q">Is a CA gateway all right?</text>
</g>
<path class="wire" d="M468 258h44" marker-end="url(#ahl)"/>
<g transform="translate(520 222)">
<rect class="card" width="416" height="72" rx="8"/>
<rect class="tile" x="16" y="14" width="44" height="44" rx="8"/><use href="#i-gauge" class="ic" x="26" y="24" width="24" height="24"/>
<text x="74" y="32" class="h">gfa-monitoring</text>
<text x="74" y="54" class="cap">PV list, PV monitoring, Gateways</text>
</g>
<!-- row 4 -->
<g transform="translate(24 306)">
<rect class="card" width="440" height="72" rx="8"/>
<use href="#i-q" class="icm" x="18" y="24" width="24" height="24"/>
<text x="56" y="32" class="q">How loaded is a host?</text>
<text x="56" y="54" class="q">History of CPU and memory</text>
</g>
<path class="wire" d="M468 342h44" marker-end="url(#ahl)"/>
<g transform="translate(520 306)">
<rect class="card" width="416" height="72" rx="8"/>
<rect class="tile" x="16" y="14" width="44" height="44" rx="8"/><use href="#i-chart" class="ic" x="26" y="24" width="24" height="24"/>
<text x="74" y="32" class="h">Grafana</text>
<text x="74" y="54" class="cap">“Linux GFA” on <tspan class="mono code">metrics.psi.ch</tspan></text>
</g>
<!-- row 5 -->
<g transform="translate(24 390)">
<rect class="card" width="440" height="72" rx="8"/>
<use href="#i-q" class="icm" x="18" y="24" width="24" height="24"/>
<text x="56" y="32" class="q">What did a service or IOC log?</text>
<text x="56" y="54" class="cap">across hosts, or on one host</text>
</g>
<path class="wire" d="M468 426h44" marker-end="url(#ahl)"/>
<g transform="translate(520 390)">
<rect class="card" width="416" height="72" rx="8"/>
<rect class="tile" x="16" y="14" width="44" height="44" rx="8"/><use href="#i-log" class="ic" x="26" y="24" width="24" height="24"/>
<text x="74" y="32" class="h">Kibana <tspan class="cap" font-weight="400">centrally</tspan></text>
<text x="74" y="54" class="mono code">journalctl <tspan class="cap" style="font-family:Inter, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif">on the host</tspan></text>
</g>
<!-- row 6 -->
<g transform="translate(24 474)">
<rect class="card" width="440" height="72" rx="8"/>
<use href="#i-q" class="icm" x="18" y="24" width="24" height="24"/>
<text x="56" y="43" class="q">What was a PV doing in the past?</text>
</g>
<path class="wire" d="M468 510h44" marker-end="url(#ahl)"/>
<g transform="translate(520 474)">
<rect class="card" width="416" height="72" rx="8"/>
<rect class="tile" x="16" y="14" width="44" height="44" rx="8"/><use href="#i-clock" class="ic" x="26" y="24" width="24" height="24"/>
<text x="74" y="32" class="h">Archiver viewer</text>
<text x="74" y="54" class="cap">archived history of PVs</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.1 KiB

@@ -0,0 +1,135 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 520" role="img" aria-labelledby="t d">
<title id="t">From the facilities overview to the reason for a check</title>
<desc id="d">Step 1: the Facilities overview shows per facility how many IOCs are ok, warn and in error, and the latest problem IOCs. Step 2: the IOC list of that facility, searched for MY-IOC, shows each IOC with its status. Step 3: IOC details shows each check with its grade and the reason: Online error, Unanswered probe 2 of 3; Compliance ok; Infrastructure ok; Resources ok; Restarts ok. The status of an IOC or host is its worst check. Grades from best to worst: ok, unknown, warn, error.</desc>
<style>
text { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; fill: #212121; }
.mono { font-family: "JetBrains Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.h { font-size: 18px; font-weight: 600; }
.t { font-size: 15px; }
.s { font-size: 14px; }
.cap { font-size: 14px; fill: #5f6368; }
.chip { font-size: 13px; font-weight: 600; }
.card { fill: #f7f8fc; stroke: #e1e4f2; stroke-width: 1.5; }
.row { fill: #ffffff; stroke: #e1e4f2; stroke-width: 1.2; }
.tile { fill: #e8eaf6; }
.ic { fill: none; stroke: #4051b5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wire { fill: none; stroke: #9fa8da; stroke-width: 2; }
.track { fill: none; stroke: #4051b5; stroke-width: 2.5; }
</style>
<defs>
<symbol id="i-grid" viewBox="0 0 24 24"><rect x="3" y="3" width="7.5" height="7.5" rx="1.5"/><rect x="13.5" y="3" width="7.5" height="7.5" rx="1.5"/><rect x="3" y="13.5" width="7.5" height="7.5" rx="1.5"/><rect x="13.5" y="13.5" width="7.5" height="7.5" rx="1.5"/></symbol>
<symbol id="i-list" viewBox="0 0 24 24"><path d="M9 6h11M9 12h11M9 18h11"/><circle cx="4.5" cy="6" r="1"/><circle cx="4.5" cy="12" r="1"/><circle cx="4.5" cy="18" r="1"/></symbol>
<symbol id="i-search" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="m20.5 20.5-4.5-4.5"/></symbol>
<marker id="ah" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M1 1l8 4-8 4z" fill="#4051b5"/></marker>
<marker id="ahl" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M1 1l8 4-8 4z" fill="#9fa8da"/></marker>
</defs>
<rect x="1" y="1" width="958" height="518" rx="10" fill="#ffffff" stroke="#e0e0e0" stroke-width="1.5"/>
<!-- card 1: facilities overview -->
<g transform="translate(24 24)">
<rect class="card" width="280" height="282" rx="8"/>
<rect class="tile" x="20" y="20" width="44" height="44" rx="8"/><use href="#i-grid" class="ic" x="30" y="30" width="24" height="24"/>
<text x="78" y="48" class="h">Facilities overview</text>
<rect class="row" x="20" y="84" width="240" height="176" rx="8"/>
<text x="36" y="112" class="t" font-weight="600">SLS</text>
<text x="36" y="138" class="cap">IOCs</text>
<rect x="36" y="148" width="150" height="10" rx="2" fill="#1c7d4d"/>
<rect x="186" y="148" width="34" height="10" fill="#e08a00"/>
<rect x="220" y="148" width="24" height="10" rx="2" fill="#c62828"/>
<text x="36" y="180" class="s" style="fill:#1c7d4d">ok</text>
<text x="70" y="180" class="s" style="fill:#b45f06">warn</text>
<text x="118" y="180" class="s" style="fill:#c62828">error</text>
<path d="M36 196h208" stroke="#e1e4f2" stroke-width="1.2"/>
<text x="36" y="220" class="cap">latest problem IOCs</text>
<circle cx="42" cy="240" r="5" fill="#c62828"/>
<text x="54" y="245" class="mono s" style="fill:#303fa1">MY-IOC</text>
</g>
<!-- card 2: IOC list -->
<g transform="translate(340 24)">
<rect class="card" width="280" height="282" rx="8"/>
<rect class="tile" x="20" y="20" width="44" height="44" rx="8"/><use href="#i-list" class="ic" x="30" y="30" width="24" height="24"/>
<text x="78" y="48" class="h">IOC list</text>
<rect class="row" x="20" y="84" width="240" height="34" rx="6"/>
<use href="#i-search" class="ic" x="30" y="92" width="18" height="18" style="stroke:#757575"/>
<text x="56" y="106" class="mono s">MY-IOC</text>
<rect x="20" y="128" width="148" height="26" rx="13" fill="#fdecea"/>
<text x="34" y="146" class="s" style="fill:#c62828">Filtered: facility sls</text>
<rect class="row" x="20" y="168" width="240" height="40" rx="6" style="stroke:#4051b5;stroke-width:2"/>
<text x="34" y="193" class="mono s" style="fill:#303fa1">MY-IOC</text>
<rect x="186" y="177" width="62" height="22" rx="11" fill="#fdecea"/>
<text x="217" y="193" text-anchor="middle" class="chip" style="fill:#c62828">error</text>
<rect class="row" x="20" y="216" width="240" height="40" rx="6"/>
<rect x="34" y="232" width="96" height="8" rx="4" fill="#e0e0e0"/>
<rect x="186" y="225" width="62" height="22" rx="11" fill="#e6f4ec"/>
<text x="217" y="241" text-anchor="middle" class="chip" style="fill:#1c7d4d">ok</text>
</g>
<!-- card 3: IOC details -->
<g transform="translate(656 24)">
<rect width="280" height="282" rx="8" fill="#f7f8fc" stroke="#4051b5" stroke-width="2"/>
<text x="20" y="44" class="h">IOC details</text>
<text x="20" y="68" class="mono s" style="fill:#303fa1">MY-IOC</text>
<rect x="186" y="26" width="74" height="24" rx="12" fill="#fdecea"/>
<text x="223" y="43" text-anchor="middle" class="chip" style="fill:#c62828">error</text>
<rect class="row" x="20" y="84" width="240" height="58" rx="6" style="stroke:#c62828"/>
<text x="34" y="106" class="t" font-weight="600">Online</text>
<rect x="188" y="92" width="60" height="22" rx="11" fill="#fdecea"/>
<text x="218" y="108" text-anchor="middle" class="chip" style="fill:#c62828">error</text>
<text x="34" y="130" class="cap">Unanswered probe 2 of 3</text>
<g class="s">
<text x="34" y="170">Compliance</text>
<text x="34" y="198">Infrastructure</text>
<text x="34" y="226">Resources</text>
<text x="34" y="254">Restarts</text>
</g>
<g>
<rect x="188" y="156" width="60" height="20" rx="10" fill="#e6f4ec"/><text x="218" y="171" text-anchor="middle" class="chip" style="fill:#1c7d4d">ok</text>
<rect x="188" y="184" width="60" height="20" rx="10" fill="#e6f4ec"/><text x="218" y="199" text-anchor="middle" class="chip" style="fill:#1c7d4d">ok</text>
<rect x="188" y="212" width="60" height="20" rx="10" fill="#e6f4ec"/><text x="218" y="227" text-anchor="middle" class="chip" style="fill:#1c7d4d">ok</text>
<rect x="188" y="240" width="60" height="20" rx="10" fill="#e6f4ec"/><text x="218" y="255" text-anchor="middle" class="chip" style="fill:#1c7d4d">ok</text>
</g>
</g>
<!-- gap arrows -->
<path class="wire" d="M308 165h26" marker-end="url(#ahl)"/><path class="wire" d="M624 165h26" marker-end="url(#ahl)"/>
<!-- track -->
<path class="wire" d="M164 306v42M480 306v42M796 306v42" stroke-dasharray="3 4"/>
<path class="track" d="M170 360h300" marker-end="url(#ah)"/>
<path class="track" d="M486 360h300" marker-end="url(#ah)"/>
<circle cx="164" cy="360" r="7" fill="#fff" stroke="#4051b5" stroke-width="2.5"/>
<circle cx="480" cy="360" r="7" fill="#fff" stroke="#4051b5" stroke-width="2.5"/>
<circle cx="796" cy="360" r="7" fill="#4051b5"/>
<g transform="translate(70 380)">
<rect width="188" height="36" rx="18" fill="#4051b5"/>
<circle cx="18" cy="18" r="11" fill="#fff"/><text x="18" y="23.5" text-anchor="middle" font-size="15" font-weight="700" style="fill:#4051b5">1</text>
<text x="38" y="23.5" font-size="15" style="fill:#fff">find the facility</text>
</g>
<g transform="translate(386 380)">
<rect width="188" height="36" rx="18" fill="#4051b5"/>
<circle cx="18" cy="18" r="11" fill="#fff"/><text x="18" y="23.5" text-anchor="middle" font-size="15" font-weight="700" style="fill:#4051b5">2</text>
<text x="38" y="23.5" font-size="15" style="fill:#fff">find the IOC</text>
</g>
<g transform="translate(702 380)">
<rect width="188" height="36" rx="18" fill="#4051b5"/>
<circle cx="18" cy="18" r="11" fill="#fff"/><text x="18" y="23.5" text-anchor="middle" font-size="15" font-weight="700" style="fill:#4051b5">3</text>
<text x="38" y="23.5" font-size="15" style="fill:#fff">read the reason</text>
</g>
<!-- legend -->
<path d="M24 444h912" stroke="#e1e4f2" stroke-width="1.5"/>
<text x="24" y="482" class="t" font-weight="600">Grades, best to worst</text>
<g transform="translate(214 464)">
<rect width="56" height="26" rx="13" fill="#e6f4ec"/><text x="28" y="18" text-anchor="middle" class="chip" style="fill:#1c7d4d">ok</text>
<text x="68" y="18" class="cap">&lt;</text>
<rect x="84" width="86" height="26" rx="13" fill="#eeeeee"/><text x="127" y="18" text-anchor="middle" class="chip" style="fill:#616161">unknown</text>
<text x="182" y="18" class="cap">&lt;</text>
<rect x="198" width="62" height="26" rx="13" fill="#fdf0e1"/><text x="229" y="18" text-anchor="middle" class="chip" style="fill:#b45f06">warn</text>
<text x="272" y="18" class="cap">&lt;</text>
<rect x="288" width="62" height="26" rx="13" fill="#fdecea"/><text x="319" y="18" text-anchor="middle" class="chip" style="fill:#c62828">error</text>
</g>
<text x="590" y="482" class="cap">The status of an IOC or host is its worst check.</text>
</svg>

After

Width:  |  Height:  |  Size: 9.3 KiB