Managing Alerts
Overview
This repository contains the monitoring configuration based on Prometheus, Grafana, Alertmanager, and several exporters (Node Exporter, cAdvisor, Blackbox Exporter).
System Components
| Component | Purpose | Link |
|---|---|---|
| Prometheus | Collects metrics from all systems | Prometheus UI |
| Grafana | Visualizes metrics and alerts | Grafana UI |
| Alertmanager | Processes alerts and sends notifications | Alertmanager UI |
Where to Find the Configuration
All files are located in the repository:
🔗 GitLab: prometheus-grafana
Main Directories
| Path | Description |
|---|---|
provisioning/config/prometheus.yml |
Main Prometheus configuration (targets, Alertmanager connection, etc.) |
provisioning/config/alertmanager.yml |
Alertmanager configuration (notification rules, email settings) |
provisioning/config/rules.yml |
Alert rules (critical conditions, availability checks, etc.) |
provisioning/config/node_exporter_rules.yml |
Additional rules for Node Exporter metrics |
provisioning/config/blackbox.yml |
Blackbox Exporter configuration (service availability checks) |
How It Works
General Workflow
- Prometheus collects metrics from all targets (exporters, Docker containers, web services via Blackbox, etc.).
- If any rule triggers (e.g., a host is down, disk is 90% full), Prometheus generates an alert.
- The alert is sent to Alertmanager, which decides whether to notify someone and via which channel (email, messenger, etc.)
- All alert information is available in Grafana and Alertmanager UI.
Configuration Details
Key Alertmanager Settings:
- All notifications are sent to:
mentioneduser@quintessence.net - Email relay server:
qcmgw-qcint(internal relay) - Notifications are sent for both firing and resolved alerts
How to Change Alert Recipients
- Open
provisioning/config/alertmanager.yml. - Find the
receiverssection and change the email address. - Application will restart automatically after commit changes to git repo.
How to Add a New System to Monitoring
- Add the new host to
prometheus.yml(in the appropriatescrape_configsection). - Add alert rules for this host in
rules.ymlif necessary. - Application will restart automatically after commit changes to git repo.
Troubleshooting
| What to Check | Command/Location |
|---|---|
| Alertmanager Logs | docker logs alertmanager |
| Prometheus Logs | docker logs prometheus |
| Check Alertmanager UI Availability | https://qcmon-qcint.quintessence.de/alertmanager |
| Current Alerts | In Grafana or in Alertmanager UI |
| Check Metrics and Targets | Prometheus Targets |
Useful Links
Contacts
Dmitry Huks (dhuks@quintessence.net)
Changelog
| Date | Author | Message |
|---|---|---|
| 2026-02-25 | aresnikowa | Merge remote-tracking branch 'origin/master' |

