Operations Monitoring.
Patch evidence, metrics and logs with their age intact.
Problem.
Patch reports and service logs existed, but a successful collection job did not explain how old the underlying evidence was. Pending package counts could be mistaken for security findings, and an empty panel could look reassuring. I needed a view that made those limits visible.
Implementation.
- 01
Provisioned Grafana, Prometheus, Loki, Alloy and host metrics with pinned images and versioned configuration. Kept monitoring and host provisioning in independent repositories with their own checks and deployment assets.
- 02
Converted fleet JSON reports into metrics without resetting the original observation time. Missing or invalid input remains failure or unknown evidence. Pending packages describe the collected update state, not a vulnerability count.
- 03
Added patch availability/age, reboot requirements, application job state, image drift and maintenance views. Kept real host-resource and log coverage distinct from broader fleet report coverage.
- 04
Added approved-identity authentication and denial checks, including forged-header rejection and a recovery login path. Dashboard source stays versioned rather than relying on untracked UI edits.
- 05
Verified ingestion and persistence across a controlled stack restart. Added maintenance phase and request-health visibility without allowing a dashboard result to substitute for the host's checkpoint record.
Result.
The deployed stack displayed real patch reports, host metrics and maintenance logs, with recorded authenticated access, datasource checks and retained history after restart. Collection and dashboards are implemented; unconfigured telemetry and notification paths stay explicitly outside the verified result.
Recorded live datasource/target checks, real log ingestion and persistence, identity-denial tests, converter checks and alert-rule scenarios. The evidence does not establish fleet-wide host telemetry, an external human alert channel, a general availability guarantee or a complete monitoring backup-restore drill.
What I learned.
Refreshing an exporter must not make yesterday's report look fresh. Authentication also needs negative tests and a closed backend path, not only a successful login. Local logs and maintenance evidence remain necessary when a planned outage affects the normal dashboard access path.
Questions about this project?
Email Binh ↗