Record Chapter 5 capacity alert test evidence

Disk rule fired, emailed, and resolved on November 1 using a temporary
host-only threshold of 90; original 15% threshold restored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
carmen-cortese 2026-11-01 16:40:48 -05:00
parent 70c77b6368
commit bff2e152bb

View File

@ -36,7 +36,7 @@ what has been verified.
3 & HTTPS and access control (10) & \StatusPending & Public Grafana hostname; external exposure tests.\\ 3 & HTTPS and access control (10) & \StatusPending & Public Grafana hostname; external exposure tests.\\
4 & Dashboard and CI correlation (15) & \StatusPending & Normal-build before/during/after comparison; dashboard screenshots.\\ 4 & Dashboard and CI correlation (15) & \StatusPending & Normal-build before/during/after comparison; dashboard screenshots.\\
5 & SLI, SLO, and error budget (10) & \StatusPending & Measured short-window results from the incident exercise.\\ 5 & SLI, SLO, and error budget (10) & \StatusPending & Measured short-window results from the incident exercise.\\
6 & Alerts and runbooks (15) & \StatusPending & Deploy Gmail SMTP sender; firing/delivery/resolution of both rules; capacity test.\\ 6 & Alerts and runbooks (15) & \StatusPending & Capacity rule fired, emailed, and resolved (Nov.~1). HTTPS rule awaits the incident; recipient receipt confirmation.\\
7 & Incident and recovery (10) & \StatusPending & Entire exercise, review, and two owned improvement issues.\\ 7 & Incident and recovery (10) & \StatusPending & Entire exercise, review, and two owned improvement issues.\\
8 & Manual integration and traceability (10) & \StatusPending & Reviewed final commit and successful automated PDF build links.\\ 8 & Manual integration and traceability (10) & \StatusPending & Reviewed final commit and successful automated PDF build links.\\
\end{tabularx} \end{tabularx}
@ -432,17 +432,47 @@ address and a Gmail App Password are supplied in the host-only file
repository contains only \path{smtp.env.example} with placeholders. repository contains only \path{smtp.env.example} with placeholders.
Changing this file requires recreating the Grafana container with Changing this file requires recreating the Grafana container with
\texttt{docker compose up -d grafana}; its named volume preserves state. \texttt{docker compose up -d grafana}; its named volume preserves state.
\StatusPending{} Deploy these files, supply the sender credentials, and record \StatusPass{} The files and sender credentials were deployed on November 1
a successful contact-point test with its receipt time. and Grafana was recreated. A contact-point test was sent from the
\texttt{team-alerts} view; the rule test below confirms end-to-end delivery
through the same route.
\subsection{Firing, Delivery, and Resolution} \subsection{Firing, Delivery, and Resolution}
\StatusPending{} Send a contact-point test and confirm receipt. Then record \paragraph{Capacity rule (passed).} The disk rule was tested safely on
timestamped firing, delivery, and resolved notifications for each rule. Test November 1 without filling the disk. The provisioned file was copied to a
the capacity rule safely by temporarily raising its threshold above the backup, the disk rule's threshold was changed from 15 to 90 on the host only
current free-space percentage, waiting through the five-minute pending (not in Git), and Grafana was restarted. Root disk free space was about
period, then restoring 15\% and confirming resolution. Never fill the disk. 68.07\%, so the condition became true. After the event, the backup was
Record the temporary change and the restored final setting, and redact restored and Grafana was restarted again; the rule view then showed the
destination secrets from screenshots. threshold ``Is below 15''. Times below come from the rule's state history
and the sender's mailbox, displayed in Eastern Standard Time and converted to
UTC.
\begin{table}[htbp]\centering\small
\begin{tabular}{L{4.2cm}L{2.2cm}L{6.2cm}}
\toprule Event & Time (UTC) & Evidence\\\midrule
Threshold raised to 90 & before 21:26 & Host-only edit; Grafana restarted.\\
Pending & 21:26:10 & State history: A $= 68.068493$, B $= 1$.\\
Alerting (firing) & 21:31:10 & State history: A $= 68.068266$, B $= 1$; five-minute pending period satisfied.\\
Firing email sent & 21:31 & \texttt{[FIRING:1] Root disk space below 15 percent} from ``SSW 590 Grafana'' to the \texttt{team-alerts} address.\\
Threshold restored to 15 & 21:34:10 & Rule ``last updated by Provisioning''.\\
Normal & 21:34:40 & State history: A $= 68.067959$, B $= 0$.\\
Resolved email sent & 21:34 & \texttt{[RESOLVED] Root disk space below 15 percent}, A $= 68.0679$, B $= 0$.\\\bottomrule
\end{tabular}
\caption{Capacity alert test on November 1, 2026.}
\label{Table:MonitoringDiskAlertTest}
\end{table}
The firing email followed the firing state within the 30-second group wait,
and the resolved email followed recovery within the same minute. The final
provisioned setting is the original 15\% threshold. \StatusPending{} Record
the recipient's confirmation of receipt; the evidence above is from the
sender's mailbox.
\paragraph{HTTPS rule.} \StatusPending{} Record firing, delivery, and
resolution for the HTTPS availability rule during the controlled Jenkins
incident in \autoref{sec:mon-incident}. Redact destination secrets
from screenshots.
\section{Incident and Recovery} \section{Incident and Recovery}
\label{sec:mon-incident} \label{sec:mon-incident}