Skip to content

Commit 962f732

Browse files
authored
Merge pull request #114 from m-lab/sandbox-alert-snmp
Adds a new AlertManager alert for the snmp_exporter service.
2 parents 087fd7f + 48e4454 commit 962f732

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

config/federation/prometheus/alerts.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,3 +227,15 @@ ALERT DownloaderIsFailingToUpdate
227227
summary = "Neither of the last two attempts to download the maxmind/routeviews feeds were successful.",
228228
hints = "Check for errors with the downloader service on grafana with the downloader_Error_Count metric, or check the stackdriver logs for the downloader cluster."
229229
}
230+
231+
# Prometheus is unable to get data from the snmp_exporter service.
232+
ALERT SnmpExporterDownOrMissing
233+
IF up{job="snmp-exporter"} == 0 OR absent(up{job="snmp-exporter"})
234+
FOR 10m
235+
LABELS {
236+
severity = "ticket"
237+
}
238+
ANNOTATIONS {
239+
summary = "The snmp_exporter service is down on {{ $labels.instance }}.",
240+
hints = "The snmp_exporter service runs in a Docker container on a GCE VM named 'snmp-exporter' in each M-Lab GCP project. Look at the Travis-CI builds/deploys for m-lab/prometheus-snmp-exporter, or SSH to the VM and poke around."
241+
}

0 commit comments

Comments
 (0)