diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -366,6 +366,20 @@ inventing placeholder values. SCSI from the Background Scan Results log page, which is not the drive's lifetime meter and often reads far too low. Drive Health takes the larger of that and the lifetime stamp in the drive's own self-test log — so it can exceed what `smartctl -x` prints. +- **Swap a drive and the identity in its row header may lag.** The header comes from + `smart_drive_label`, written by the self-test collector on a 15 minute timer, so a + replacement shows the removed drive's model and serial until the next run. It is only + *stuck* if the unit is failing — the collector rewrites the whole file atomically, so a + crash leaves the previous one in place indefinitely. Check with + `systemctl status smart-selftest-collector.service`, and `systemctl start` it to refresh + immediately. +- **The per-drive sections list the drives that are there *now*.** `$ata_device` and + `$sas_device` are instant queries rather than `label_values`, so removed drives stop + getting a row instead of lingering for the dashboard's whole time range — see the + comment on `DEVICE_QUERY` in `dashboards/gen_smart.py`. The trade is that they need a + sample within Prometheus' 5 minute lookback: when a machine has been unreachable longer + than that, its sections disappear rather than rendering empty. Fleet Overview and the + history graphs still work, because they read the range. - **IPv6 literals need help.** The `host` label is built by stripping the port off `__address__` with `([^:]+)(?::[0-9]+)?`, which a bracketed IPv6 address does not match. Use `prometheus.extraScrapeConfigs` with an explicit label for those. |
