46 lines
3.8 KiB
JSON
46 lines
3.8 KiB
JSON
{
|
|
"id": null,
|
|
"uid": "myfileagent-sre-runbooks",
|
|
"title": "MyFileAgent - Alert Runbooks",
|
|
"tags": [
|
|
"SSW590",
|
|
"runbooks"
|
|
],
|
|
"timezone": "America/New_York",
|
|
"schemaVersion": 39,
|
|
"version": 1,
|
|
"editable": false,
|
|
"panels": [
|
|
{
|
|
"id": 1,
|
|
"title": "Service unavailable",
|
|
"type": "text",
|
|
"gridPos": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 24,
|
|
"h": 18
|
|
},
|
|
"options": {
|
|
"mode": "markdown",
|
|
"content": "# HTTPS service unavailable\nOwner: SSW590 Group 7. Severity: critical. Evaluate every 30s; pending 1 minute.\n\nThe rule produces separate instances for Gitea and Jenkins by URL label.\nMissing expected probe series are explicitly treated as failure; datasource\nno-data and evaluation errors enter Alerting rather than reporting health.\n\n1. Acknowledge the alert and record receipt/acknowledgement time.\n2. Inspect the instance URL and the availability/duration panels. Check collection\nhealth and exporter logs to distinguish probe failure from broken monitoring.\n3. Check DNS, valid TLS, expected response and redirects from the monitoring network.\nNever disable certificate verification to clear an alert.\n4. Inspect the affected container status/logs, Caddy routing, resource pressure,\nand recent changes. Confirm the actual cause before restarting anything.\n5. For the planned Jenkins-only exercise, restore using:\n`cd /home/codex/myfileagent-gitea && docker compose -f compose.yaml -f compose.jenkins.yaml start jenkins`\nVerify the live Compose service remains named jenkins before running it.\nDo not stop the Droplet, Gitea or monitoring; never delete service volumes.\n6. Verify HTTPS probe success, a normal Jenkins pipeline, webhook/status and\nGitea manual build as applicable. Record first success and resolved notification.\n7. Escalate unresolved faults to the other team member; capture impact/timeline\nand corrective actions. A complete Droplet failure can also stop these alerts.\n\nNotification destination and delivery timings are pending SMTP/contact-point\nsetup. Scrape (30s), evaluation (30s), pending (1m) and notification delays add\nlatency; do not expect an immediate message. No outage test has been run.\n"
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"title": "Root capacity",
|
|
"type": "text",
|
|
"gridPos": {
|
|
"x": 0,
|
|
"y": 18,
|
|
"w": 24,
|
|
"h": 18
|
|
},
|
|
"options": {
|
|
"mode": "markdown",
|
|
"content": "# Root capacity below 15 percent\nOwner: SSW590 Group 7. Severity: warning. Evaluate every 30s; pending 5 minutes.\n\nSelector: instance node-exporter:9100; mountpoint /; device /dev/vda1; ext4.\nQuery is 100 * available bytes / size bytes for that same filesystem.\nThe 15% threshold leaves operational room for builds, compaction and logs.\nNo-data or evaluation errors enter Alerting and require monitoring diagnosis.\n\n1. Acknowledge and record times. Compare exporter values to `df -B1 /`.\n2. Inspect directory usage, Docker images/volumes and logs read-only first.\nIdentify growth and protect Gitea/Jenkins/Grafana/Prometheus persistent data.\n3. Agree with the team on safe cleanup or retention changes; avoid global\nDocker pruning and do not delete repositories, service volumes or evidence.\n4. Restore adequate headroom, verify the metric and wait for rule resolution.\n5. Record cause, corrective action, delivered notification and recovery time.\n\nSafe planned test: temporarily raise the free-percentage threshold above the\nmeasured current value, wait through the full five-minute pending period and\ncapture real firing/delivery, then restore 15% and verify resolved delivery.\nNever fill the disk. The test has not yet been run. For file-provisioned rules,\nchange the reviewed provisioning threshold and reload/restart Grafana; retain\nfinal 15% configuration. Notification setup is still pending.\n"
|
|
}
|
|
}
|
|
]
|
|
}
|