You must migrate 3,000 checks from Nagios/Zabbix to Prometheus. How do you plan it?
AdvancedScenarioCloud Monitoring, Incidents and Migrations
Answer
Situation read → Nagios checks are host-and-threshold based; Prometheus is metrics and labels. A 1:1 port carries old noise over.
What I'd do →
- Inventory checks by type (ping, disk, service, HTTP, custom scripts) and by how often they fired and were actioned last year.
- Delete checks that never fired or were always ignored.
- Map types to exporters: node_exporter for host checks, blackbox_exporter for ping/HTTP/TCP, database exporters, textfile collector for custom scripts.
- Rewrite alerts as symptom-based PromQL rules with
for:and severity labels; route via Alertmanager. - Run both systems in parallel per team; compare alerts for 2–4 weeks.
- Cut over team by team, then decommission Nagios.
Why → Migration is a chance to delete noise, and parallel running proves coverage.
Interview tip → Mention the textfile collector as the bridge for legacy check scripts.
More on Cloud Monitoring, Incidents and Migrations
A new AWS workload uses EC2, an ALB and RDS, with only CloudWatch available. Which alarms do you create first?BeginnerThe CloudWatch bill jumped from $2k to $15k a month. How do you find and cut the cost?IntermediateYour company has 50 AWS accounts. How do you get one monitoring view?IntermediateYour team uses Prometheus and Grafana, but RDS, SQS and ALB metrics live only in CloudWatch. How do you unify?IntermediateHow do you monitor a fleet of AWS Lambda functions?BeginnerYour RDS PostgreSQL database gets slow every afternoon. What monitoring do you use to find out why?Beginner