Troubleshooting

On a Prometheus server, several alerting rules show as FIRING on the Alerts page, but the Alertmanager web interface at am01:9093 shows no alerts and no notifications are sent. Alertmanager is running and healthy. Which change to prometheus.yml fixes this?

Show the answer

Correct answerD. Add an alerting section with an alertmanagers entry whose static_configs targets list am01:9093

Prometheus pushes firing alerts only to the Alertmanager instances listed in the alerting section's alertmanagers configuration. A scrape job is tempting, but it only collects Alertmanager's own metrics and never delivers alerts to it.