From bff2e152bb4d91241a8134a0a079a97fb95df363 Mon Sep 17 00:00:00 2001 From: carmen-cortese Date: Sun, 1 Nov 2026 16:40:48 -0500 Subject: [PATCH] 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 --- devopsMonitoring.tex | 50 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 10 deletions(-) diff --git a/devopsMonitoring.tex b/devopsMonitoring.tex index cc50d47..7d778c4 100644 --- a/devopsMonitoring.tex +++ b/devopsMonitoring.tex @@ -36,7 +36,7 @@ what has been verified. 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.\\ 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.\\ 8 & Manual integration and traceability (10) & \StatusPending & Reviewed final commit and successful automated PDF build links.\\ \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. Changing this file requires recreating the Grafana container with \texttt{docker compose up -d grafana}; its named volume preserves state. -\StatusPending{} Deploy these files, supply the sender credentials, and record -a successful contact-point test with its receipt time. +\StatusPass{} The files and sender credentials were deployed on November 1 +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} -\StatusPending{} Send a contact-point test and confirm receipt. Then record -timestamped firing, delivery, and resolved notifications for each rule. Test -the capacity rule safely by temporarily raising its threshold above the -current free-space percentage, waiting through the five-minute pending -period, then restoring 15\% and confirming resolution. Never fill the disk. -Record the temporary change and the restored final setting, and redact -destination secrets from screenshots. +\paragraph{Capacity rule (passed).} The disk rule was tested safely on +November 1 without filling the disk. The provisioned file was copied to a +backup, the disk rule's threshold was changed from 15 to 90 on the host only +(not in Git), and Grafana was restarted. Root disk free space was about +68.07\%, so the condition became true. After the event, the backup was +restored and Grafana was restarted again; the rule view then showed the +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} \label{sec:mon-incident}