Who notices when Prometheus stops alerting?
When Prometheus or Alertmanager fails, the people who notice first are usually the ones who were relying on a page that never arrived, and a broken monitoring stack looks exactly like a quiet system. Meta-monitoring is the practice of watching the monitoring stack itself so that a dead Prometheus server, a stalled Alertmanager or a broken notification path produces a signal of its own. The scope covers alerts on Prometheus, Alertmanager and Pushgateway health, an end-to-end test alert that travels from the source all the way to the notification channel, and external blackbox checks that run outside the stack as a fallback.
A team needs this when it depends on Prometheus and Alertmanager to page people for production problems. Prometheus local storage is a single node that is not clustered or replicated, and the storage documentation tells operators to manage it like any other single-node database. A server that crashes, fills its disk or stops scraping will not report its own absence through the alerts it was supposed to send. The Prometheus alerting best practices recommend alerts that confirm Prometheus servers, Alertmanagers and Pushgateways are running, and they favor one blackbox test that follows alerts from Pushgateway to Prometheus to Alertmanager to email over separate alerts on each component.
Before building anything, confirm which notification channels your on-call process depends on, which Prometheus servers and Alertmanager instances carry them, and who owns each. Ask who would be paged if Prometheus stopped evaluating rules tonight, and whether that path has ever been tested end to end. The answers decide which of the checks in this topic you need first and where the external fallback must run.
Which health alerts to write for each monitoring component
Each monitoring component can fail in a different way, and the failures often go unnoticed because the alerts that depend on them stop firing too. Prometheus recommends alerts that confirm the monitoring infrastructure itself is running, so the cards below cover one health signal per component, from scrape health to the final notification.
Prometheus server up and scrape health
Start with a check that the Prometheus server is running and that its scrape targets are reporting. Alert when a job's targets go down in bulk, since that pattern usually points to a network, discovery or credential problem rather than a set of failed applications. Confirm the exact up and scrape-related metric names against the Prometheus version you run, and check how a target that vanishes from service discovery is handled, because a missing target sends no signal at all.
Alerting best practicesRule evaluation failures
Alert rules can stop producing results without any visible error in the alert list. Watch the counters that Prometheus exposes for failed rule evaluations and the age of the last successful evaluation for each rule group. A rule that fails silently means a real problem never pages anyone, so this signal matters as much as the server being up. Confirm the rule metric names for your version before writing the expression.
Alertmanager availability and cluster membership
Prometheus sends alerts to Alertmanager, so an unreachable or crashed Alertmanager stops every notification. Alert when Prometheus cannot deliver to an Alertmanager instance, and when a clustered deployment shows fewer members than expected. In an HA cluster, one lost replica can be tolerable, but the loss should still raise a warning so the cluster is restored before a second failure occurs.
Alertmanager docsPushgateway reachability and stale pushed jobs
The Pushgateway holds metrics from short-lived batch jobs, so two things can fail: the gateway itself becomes unreachable, or a job stops pushing and its last values stay on the gateway looking current. Alert on the scrape of the gateway, and separately on the age of the last push for each batch job that matters. Treat a stale push as a missed job, and confirm the exact timestamp metric for your Pushgateway version.
Notification delivery failures
A health alert only helps if it reaches a person. Alertmanager exposes counters for failed notification attempts per receiver, and these show when a Slack webhook, email relay or paging integration rejects messages. Pair this with a scheduled end-to-end test alert that travels through the same path as production alerts, so you find a broken channel before an incident does. Confirm the notification metric names for your version.
Meta-monitoring options and when each fits
This table compares five ways to detect that Prometheus or Alertmanager has stopped working, with the failure each one catches, what it misses and what it needs from your infrastructure. Read it as a set: most teams combine an internal check with an external one, because each option is blind to a different failure.
| Approach | What it catches | What it misses | What it needs |
|---|---|---|---|
| Peer or second Prometheus watching the first | Prometheus process down, scrape loop stalled, rule evaluation failing on the primary | Failures shared by both servers, such as the same network segment or the same Alertmanager cluster | A second Prometheus in a different failure domain and its own rule and routing config |
| Dead man's switch (always-firing alert to an external receiver) | Silence from the whole alerting path, since a missing heartbeat is itself the signal | Nothing about why the path failed, and it only works if the external service alerts on absence | An external receiver that pages when the heartbeat stops arriving, and a route that keeps the heartbeat flowing |
| End-to-end test alert through Pushgateway, Prometheus, Alertmanager and email | Breaks anywhere in the chain, including receiver credentials, routing and mail delivery | Only the path it exercises, and a fault that appears after the test fires may go unseen until the next run | A scheduled test job, a Pushgateway, a test route and a monitored mailbox that someone reads |
| External blackbox check run from outside the network | Public or customer-facing reachability of the monitoring endpoints, certificate expiry and DNS faults | Internal logic failures such as broken rules, and anything that fails only inside the private network | A probe host outside your network, network rules that permit it to reach the endpoints, and secure handling of any credentials it uses |
| Per-component health alerts inside the stack | Prometheus, Alertmanager and Pushgateway targets reporting down, and their restarts or config reload failures | Failures that stop the alert from being evaluated or sent at all, which is the case that matters most | Scrape jobs for each component, and rules that route to a receiver outside the failing component |
Setting up the watchers in order
This sequence builds a monitoring safety net in layers: first knowing every component exists, then alerting when one fails, then proving that a page actually reaches a person, and finally checking from outside the cluster. Each step ends with a test that shows the layer works.
Inventory every Prometheus and Alertmanager instance
The platform owner lists each Prometheus server, each Alertmanager replica, each Pushgateway and the host or cluster each one runs on, along with the job names Prometheus uses to scrape them. Record which Prometheus servers send alerts to which Alertmanagers, because a missing link here is a common reason a failure goes unnoticed. The step is done when every component has a named owner and a scrape target that appears in the Prometheus targets page. Confirm that the list matches what is actually running, not what the architecture diagram shows.
Write component health rules
Write alert rules that fire when a Prometheus server, an Alertmanager or a Pushgateway stops responding to scrapes, using the up metric for each job. Add a rule that fires when Prometheus cannot reach an Alertmanager it is configured to use, and a rule for Prometheus configuration reload failures if your version exposes that metric. Route these alerts to a team that is not the one whose monitoring is failing. Test each rule with promtool or by stopping a scrape target in a test environment, and confirm the alert appears in the Prometheus alerts page and in Alertmanager.
Configure an always-firing heartbeat route
Add a rule that always fires, such as one that returns a constant value, and route it through Alertmanager to an external receiver that is outside the monitoring cluster. The receiver should alert when the heartbeat stops arriving, which is the only check that still works when Alertmanager itself is down. Choose a receiver that is independent of your primary notification channel and document who is responsible for it. Confirm the heartbeat arrives on schedule and then stop Alertmanager in a test environment to verify the external receiver raises the missing-heartbeat alert.
Add an end-to-end test alert with a known route
Create a test alert with a dedicated label, such as a team value reserved for testing, and route it to the same receiver your on-call people use, so the test exercises the real notification path. Use a route that matches only this label so the test never reaches real responders. Send the alert from Prometheus through Alertmanager and confirm that the notification arrives at the channel and that the resolved message follows once the test condition clears. Record the time of the test and the result so the next run can be compared against it.
Place a blackbox check outside the cluster
Run a blackbox check from a host outside the monitoring cluster that probes the Prometheus and Alertmanager web endpoints over the network path users would rely on. The check sends its alert through a separate path, such as a hosted status service or a simple email relay, so it still works when the cluster is unreachable. Keep the blackbox exporter's probe targets fixed in configuration, since the Prometheus security model warns that exporters take targets from URL parameters, and anyone with HTTP access can make them send requests elsewhere. Confirm the external check reports an outage by blocking access to the endpoints in a test environment.
Verify each watcher by stopping components in a test environment
Work through each layer in a test environment: stop a Prometheus server, stop one Alertmanager replica, stop the Pushgateway, and block the path from the outside probe. For each failure, confirm the expected alert fires, the notification reaches the right channel, and the heartbeat or external check raises its own alert when the failed component cannot send anything. If you run Alertmanager as a cluster using its --cluster flags, also confirm that Prometheus is configured to point at every Alertmanager instance rather than a load balancer. Log each result and repeat the drill after configuration changes or version upgrades.
How the end-to-end test alert travels through the stack
The point of the end-to-end test is to prove that one synthetic alert crosses every hop a real page would cross, and that each hop can be checked on its own when it fails. The path starts at a test source that pushes a sample to the Pushgateway, which Prometheus scrapes. A recording or alert rule then fires a test alert that Prometheus sends to Alertmanager, which routes it to a dedicated receiver such as email, chat or a paging service. Each hop has its own failure mode: the push can be rejected, the scrape can time out, the rule can be mis-evaluated, the routing tree can send the alert to the wrong receiver, or the notification provider can drop it. Give each hop a check you can read separately, such as a metric showing the last successful push, the Prometheus target health for the Pushgateway, and Alertmanager's view of active alerts, so that a missing notification points you to one place.
The risk is in the shared hops. Prometheus and Alertmanager sit on the path of both the test alert and every real page, so a failure there can silence the test and the production alerts together, and the test will look healthy only until it is needed. For this reason the watcher must not depend on the component it watches. In practice, the dead man's style check that confirms the pipeline is alive should run on a separate Prometheus or a separate external service, and it should alert through a receiver that does not share the same Alertmanager cluster. Confirm with your own environment which hops are shared, which notification provider and credentials are used, and whether the receiver for the test can be separated from the receiver for on-call paging.
Decide before rollout how often the end-to-end test runs, who receives its failures, and what happens when it fails silently. A test that fires into a silenced route, or into a channel nobody reads, gives false assurance. Test the route as well as the notification: during a planned check, confirm that the receiver actually delivered the message and that a resolved notification followed. Record the result, so that an auditor or on-call engineer can see when the path last worked. Ask any partner to show the exact route, receiver and check for each hop in writing before the test is accepted.
Where each watcher sits in the failure path
The path starts at Prometheus, which evaluates rules and sends firing alerts to Alertmanager, which routes them to the notification channel. A separate watcher inside the monitored network checks Prometheus and Alertmanager health, while an external blackbox check outside the trust boundary confirms that the notification channel is reachable from outside. The Pushgateway heartbeat and an end-to-end test alert travel the same path as real alerts, so check each hand-off, not just the processes. Pay attention to the boundary: the external checker must not depend on anything inside the network it is watching.
Watchers sit on the same path as alerts, with one external check outside the boundary.
Securing the watchers and their endpoints
The stack that tells you about outages is also a set of network-facing services with their own attack surface. The cards below cover the security model settings that most often decide whether Prometheus and its exporters can be abused, and what to verify before you trust the watchers.
Blackbox exporter target abuse
Exporters such as Blackbox take their targets from URL parameters, so anyone with HTTP access to the exporter can make it send requests to arbitrary endpoints. For meta-monitoring, this turns an external probe into a tool for scanning internal networks. Restrict who can reach the exporter, limit it to a dedicated scrape network, and review which modules and targets Prometheus is configured to probe.
Prometheus security modelAdmin APIs stay off by default
Prometheus admin HTTP APIs are disabled by default. The --web.enable-admin-api flag enables destructive operations such as deleting series, and --web.enable-lifecycle enables reload and shutdown endpoints. Enable either flag only when a specific runbook needs it, keep it off on servers reachable by many users, and confirm that a reload or shutdown request cannot be sent by an unauthorized caller.
No built-in single sign-on
Prometheus has no built-in single sign-on for its web UI or API. Access control for people therefore depends on an authenticating reverse proxy placed in front of the server, which must enforce the same identity rules as your other operations tools. Check that the proxy blocks direct access to the Prometheus and Alertmanager ports, so a user cannot bypass the login.
TLS 1.2 and client certificates
Prometheus supports TLS and client certificate authentication with TLS 1.2 as the minimum version. Use client certificates between Prometheus and the Alertmanager or exporters that watch it, so a rogue host cannot submit alerts or scrape metrics. Plan certificate issuance, renewal and revocation before rollout, because an expired certificate can silence the very alerts that detect the failure.
Basic auth needs TLS
HTTP basic authentication uses bcrypt-hashed passwords, but without TLS the credentials cross the network in cleartext. This matters most for the notification path, where Alertmanager and the Pushgateway may sit on different hosts. Never enable basic authentication on plain HTTP, and confirm with a packet capture or a test from another subnet that credentials are encrypted in transit.
No CSRF protection on writes
The security model notes there is no built-in CSRF protection on mutating endpoints. A logged-in user who visits a malicious page could trigger a change through the browser session, so the reverse proxy should add CSRF defenses or restrict write methods to trusted clients. Test this by attempting a state-changing request from a different origin before you rely on the watchers in an incident.
Questions teams ask before adding meta-monitoring
What does meta-monitoring cost, and where does the money go?
Prometheus and Alertmanager are Apache-2.0 licensed with no paid enterprise edition, so the cost comes from the infrastructure that runs the watchers, any external check service you buy, and the engineering time to design, build and maintain them. The watcher itself is small, but it must run somewhere that does not depend on the stack it watches. Recurring costs are compute, storage, external check fees if you use a hosted service, and the time to review alerts. One-time costs are design, initial build and testing. Ask any partner for a quote that splits these components and states which items are one-time and which recur.
How long does meta-monitoring setup take, and what drives it?
Duration depends on how many Prometheus servers, Alertmanager replicas and Pushgateways you run, how many notification channels must be proven end to end, and whether an external blackbox check is needed. A single Prometheus with one Alertmanager can be covered quickly, while a federated or highly available setup takes longer because each component needs its own health rules and failover test. Access approvals for the external watcher, network paths and the notification provider's test endpoints often take more time than the rules themselves. Ask for a written timeline tied to the scope.
What does the internal team need to provide?
The team needs a named owner for the notification channels, access to the Prometheus and Alertmanager configuration repository, and a way to reach the systems that receive pages, such as the paging provider or chat tool. Someone must also decide who is paged when the monitoring stack itself fails, which is a policy question rather than a technical one. Expect to provide a test window, a list of components in scope and sign-off on the alert thresholds. Security teams should confirm how the external watcher authenticates to the stack before it is connected.
Can our own engineers build meta-monitoring without a partner?
Yes, if your team already runs Prometheus and Alertmanager and has someone comfortable writing alert rules and testing them. The core pattern is simple: alerts on whether each Prometheus, Alertmanager and Pushgateway is up and reachable, plus an end-to-end test alert that travels from source to the notification channel. The harder parts are placing the external check outside your failure domain, keeping the test alert from paging people, and maintaining the setup as versions change. Check the Prometheus alerting best practices before deciding the scope.
How do we test the end-to-end alert without waking people up?
Route the test alert to a dedicated receiver, such as a channel or mailbox that no on-call person is paged from, and label it clearly so it is excluded from paging routes. Run the test during business hours with the on-call team informed, and confirm that the alert arrives, resolves and is recorded. Test a failure as well as a success: stop a scrape target, confirm the watcher fires, and confirm the notification reaches the intended receiver. Keep a written record of each test so auditors and operators can see what was proven and when.
How do we stop the watchers from becoming another noisy system?
Limit meta-monitoring to a small set of alerts that answer one question each: is this component up, is it reachable, and can an alert reach a person. Avoid duplicating cause-based alerts for every downstream effect, because a single failed Alertmanager should produce one clear alert, not a flood. Use grouping and inhibition carefully so the watcher's alert is not suppressed by the outage it reports, and review the alerts after each incident to remove any that fire without action. Record ownership for each watcher so noisy ones are fixed rather than silenced.
Does meta-monitoring make the monitoring stack compliant?
No. Meta-monitoring gives evidence that monitoring and alerting components are running and that notifications reach people, which supports controls that require reliable monitoring. Whether it satisfies a specific control depends on your framework, scope and what the independent auditor accepts. DeployOpen prepares systems, controls and evidence for compliance assessments but does not issue audit reports or certifications. Confirm the expected evidence with your auditor before designing the alerts and retention of test records.
How DeployOpen scopes and delivers meta-monitoring
DeployOpen treats the monitoring stack as a system that needs its own alerts, tests and fallback checks. We scope which Prometheus, Alertmanager and Pushgateway health signals and notification paths your team needs watched, build them in infrastructure you control, and hand over documented runbooks your team can operate.
How we scope
- Inventory every Prometheus, Alertmanager and Pushgateway instance, plus the notification channels each one feeds.
- Agree in writing which health alerts, end-to-end test alert and external blackbox checks are in scope.
- Confirm who receives meta-monitoring alerts, and that they do not depend on the same stack they watch.
How we build
- Write health alert rules for scrape failures, rule evaluation errors, Alertmanager cluster membership and notification failures.
- Set up a recurring end-to-end test alert that travels from Pushgateway through Prometheus and Alertmanager to your channel.
- Configure external blackbox checks from a location outside the monitored network, and test each rule before go-live.
How we hand over
- Deliver the rule files, receiver configuration and blackbox check definitions in a form your team can version.
- Document a runbook for each meta-monitoring alert, including who acts, what to check first and how to silence safely.
- Walk your operators through a failure drill, such as stopping an Alertmanager replica, and record the observed result.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer, including review after Prometheus version changes.
- Ask for a written quote that lists which components, channels and checks are included, so cost follows the agreed scope.

