Migrating from Nagios Core to Prometheus

Nagios Core checks do not convert one-to-one into Prometheus scrapes and alert rules. This page covers what maps, which documented paths help, how to run a parallel cutover and what drives effort.

On this page

What a Nagios Core to Prometheus migration changes first

The move re-creates each Nagios check as a Prometheus scrape target, alert rule or Alertmanager route, so a team that runs Nagios Core on hosts and services should treat the migration as a rebuild with the existing configuration as reference. The short answer on effort depends on three things: how many checks are plugin-based, since each plugin behavior needs a matching exporter, probe or custom collector; how many notification paths exist, since every contact group and escalation chain becomes an Alertmanager receiver and route; and whether history must carry over, because Prometheus keeps its own time series and Nagios history will need a separate plan.

Nagios Core is still being released. Version 4.5.14 was published on August 5, 2026, following 4.5.13 on May 28, 2026, and the project remains under the GNU General Public License version 2. No license change forces the move, so the reason to leave has to come from your own operational needs, such as metrics history, PromQL queries or a pull model that fits your service discovery. The rest of this page explains the trade-offs: what maps cleanly, what does not, how cutover runs and where the risks sit.

Start with an inventory of every host and service definition, tagged by check type. Plugin-based checks from Nagios Plugins need a matching exporter, probe or small custom collector, and each one should run beside the Nagios result it replaces until the two agree. Parent host hierarchies come next: Nagios uses parents to tell a down host from an unreachable one, and Alertmanager expresses that suppression through inhibition rules that you write and test yourself. Then map every contact and escalation to a receiver, list event handlers separately because they run commands and need their own review, and confirm which silences operators use today. Decide early whether the default 15-day local retention in Prometheus is enough, or whether samples go to long-term storage through remote_write.

When moving off Nagios Core makes sense, and when staying is the better fit

Keep Nagios Core when your estate is mostly hosts, network services and appliances that already have working plugin checks, and your operators are comfortable with manual, text-based configuration. Nagios Core is released under GPL-2.0, and version 4.5.14 was published on August 5, 2026, so staying is a maintained choice today. The main cost of staying is operator time spent maintaining configuration files and checks by hand.

  • Plugin coverage: Core runs check programs from the Nagios Plugins project and works with thousands of community-developed plugins. This matters most for network gear and appliances where a working plugin check already exists.
  • Parent host hierarchy: Parent relationships let Core tell a down host from one that is only unreachable behind a failed upstream device. This keeps alert noise lower in segmented networks.
  • Known operating model: Your team already knows the configuration model, notifications and event handlers. Moving to another model costs retraining and rewritten checks, which staying avoids.
  • Limited built-in extras: The web interface is basic, and reporting and access control are not part of Core. If auditors or managers need those, you will build or buy them separately.

Before you stay, confirm that each appliance vendor supports the check method your plugins use, and that your Core version receives the updates your security policy requires.

Which Nagios Core capabilities map to Prometheus, and which need a redesign

This table maps each Nagios Core capability to its closest Prometheus equivalent and rates the fit as direct, partial or redesign. Rows marked redesign describe logic your team has to build again, so budget review time for them. The main takeaway is that parent host logic and every plugin check need named replacements and tests before cutover.

Nagios Core capabilityPrometheus equivalentMapping qualityMigration note
Host and service checksExporters or probes expose metrics, and alert rules evaluate thresholds and durationsRedesignEach check becomes a metric and an alert rule. Confirm thresholds, durations and recovery behavior for each service.
Plugin interfaceExporters or custom code that expose metrics over HTTPRedesignNagios plugins run as commands and return a status. Confirm the replacement for each plugin check before cutover.
Parent host hierarchy (down versus unreachable)No documented parent-host model, so rebuild the logic with alert rules and inhibitionRedesignPrometheus does not document a down versus unreachable distinction. Encode dependency logic in rules and test each failure path.
Notifications and suppressionAlertmanager grouping, routing, inhibition and silencesPartialGrouping and routing map well. Recreate escalation paths, recipients and maintenance windows, then confirm them with on-call staff.
Event handlersAlertmanager webhook receivers that call automation you ownPartialHandlers become services you operate. Confirm idempotence and permissions for each action before enabling it in production.
Host inventoryService discovery or static configuration for scrape targetsPartialHost definitions move from Nagios object files into target lists. Confirm labels and ownership for every host.
Short-lived check jobsThe intermediary gateway for metrics from short-lived jobsPartialUse the gateway only for jobs that end before a scrape. Plan cleanup of stale pushed series and confirm behavior in your version.
Text-based configurationPrometheus YAML configuration and rule files kept in version controlRedesignObject definitions and templates need a rewrite and peer review. Estimate effort per check group, not per file.
CGI web interfacePrometheus web UI, Grafana dashboards and an authenticating reverse proxyRedesignPrometheus has no built-in single sign-on. Confirm proxy, TLS and access controls, then rebuild dashboards in Grafana.

Documented paths for a Nagios Core to Prometheus migration

Each card covers one building block a Nagios Core to Prometheus move depends on, from the source inventory to the storage and alerting path. Plan the move as a rebuild: no documented Nagios Core to Prometheus importer is known to us, so confirm with the Prometheus project and your own exporter choices whether any converter fits your check set. The Nagios XI card marks the Nagios-family path that does not lead to Prometheus.

Prometheus target inventory setup

Static and service discovery configuration defines what Prometheus scrapes once Nagios hosts are retired. Static entries suit a small, stable host list, while service discovery suits inventories that change often. Map each Nagios host and service object to a scrape target or exporter before cutover, and record which checks have no exporter yet. Confirm that your discovery source is the system of record, because a stale inventory quietly drops targets from monitoring.

Prometheus overview

Alertmanager routing and inhibition

Routing and inhibition rules replace Nagios notification commands and parent host logic. Alertmanager groups alerts, routes them to receivers by label and suppresses dependent alerts while a parent alert fires. That is the nearest equivalent to Nagios parent host hierarchies, which separate down hosts from unreachable ones, so rebuild those chains as inhibition rules and test them against a known outage. If you run an Alertmanager cluster, point Prometheus at every instance directly, with no load balancer in front.

Alertmanager docs

Remote write and remote read

Remote write and remote read connect Prometheus to external long-term storage, because local storage is not clustered or replicated. Local retention defaults to 15 days, so teams that relied on Nagios history or reporting for longer need an external store before cutover. Decide which system receives samples, how long it keeps them and who can query them, then test the read path for the dashboards and audits that depend on older data. Remote write sends data out, and remote read lets Prometheus query it back, so confirm both directions with your storage platform.

Prometheus storage docs

Intermediary gateway for short-lived jobs

Intermediary gateway handles metrics from batch jobs and scripts that exit before Prometheus can scrape them. Nagios often ran these as active checks that finished in seconds, so each one needs a decision: convert it to a scrapeable endpoint, or push its result through the gateway. Confirm how the gateway expires pushed metrics before relying on it, since stale values can keep alerts looking current. Treat pushing as the exception for jobs that cannot be scraped, and keep everything else on pull.

Nagios Core objects and plugins

Nagios Core object definitions and Nagios Plugins form your source inventory. Object definitions describe hosts, services and commands in text files, while the Plugins project supplies the check programs Nagios Core runs. Export each object and command line into a spreadsheet before migration, then tag every check as covered by an existing exporter, covered by a custom exporter, or dropped. Alert conditions tied to plugin exit codes and thresholds must be rewritten and tested in Prometheus.

Nagios Core README

Nagios XI import path

Nagios XI configuration import is the commercial Nagios-family route, and it does not lead to Prometheus. Nagios.org describes XI as built on the same Core engine, with configuration, reporting, access control and dashboards added, and existing Core configuration imports into it. Choose XI if the goal is to keep Nagios operations running longer. If Prometheus is the target, use the Core inventory as a source list only, and plan time to rewrite alerts.

Nagios Core project page

How Nagios Core and Prometheus run side by side during the parallel run

The parallel run starts on the Nagios Core server, which runs its plugin checks from its own host and reaches each monitored host to perform them. Check results trigger notifications to contacts. On the Prometheus side, the server initiates every connection itself, pulling metrics over HTTP from exporters and services, so the arrow points from Prometheus toward each target. Prometheus rules send alerts to a clustered Alertmanager, and every Alertmanager instance must be listed individually in the Prometheus configuration, with no load balancer in front. Operators then compare the alert outcomes from both paths, matching each Nagios notification with its Alertmanager equivalent to confirm that the same incidents reach the same people.

Nagios runs checks from its server while Prometheus pulls metrics over HTTP.

Nagios Core to Prometheus migration in five phases

The sequence moves monitoring one host group at a time and keeps Nagios alerting in place until Prometheus has been checked against the same estate. Each phase closes with a written output that operations, security and compliance owners can review. The parallel run length is agreed in the written scope before work starts.

  1. Inventory Nagios objects, contacts and owners

    Export the Nagios object definitions for hosts, services, contacts, contact groups, time periods and commands. Record parent host relationships, notification logic, event handler scripts and the owner of each host group. Map each Nagios check to a Prometheus target or exporter, and flag checks with no clean equivalent, such as event handlers that run local scripts. Your team confirms each owner and escalation path. Done means a reviewed inventory lists every object, its owner and its planned replacement, and nothing moves to the pilot until that review is complete.

  2. Pilot one host group end to end

    Choose one host group and rebuild its monitoring in Prometheus: scrape configuration for its targets, recording and alerting rules, and Alertmanager routing to the same people who receive Nagios notifications today. Run the pilot on the current LTS line, which the Prometheus release cycle lists as 3.13 and supports until July 31, 2027. Confirm that each test alert reaches the correct receiver, and decide whether Alertmanager runs as a cluster for high availability. Done means the pilot owners sign off on alert behavior and the TLS and access settings meet your security requirements.

  3. Run both systems in parallel

    Keep Nagios and Prometheus alerting at the same time for the pilot group, and log every difference between them. Typical entries include alerts that fire in one system only, timing gaps, duplicate or missing notifications and recipients that do not match. Each entry gets an owner, a root cause, a fix and a retest before it closes. The length of the parallel run is agreed in the written scope before work starts, along with the exit criteria that end it. Done means the difference log meets those exit criteria.

  4. Switch notification routing and freeze Nagios

    Move notification routing for the migrated group from Nagios to Alertmanager receivers, but only after the difference log has no open items that affect on-call. Confirm that the on-call rota, escalation paths and notification channels match the inventory approved earlier. Then freeze Nagios configuration changes so that no one edits hosts, services or contacts while Nagios remains the fallback. Record the cutover time, the approver and the freeze start date in the change record. Done means Nagios sends no notifications for the group, the freeze is announced to the owners, and the change record is filed.

  5. Archive Nagios configuration and check results

    After the freeze has held through the period set in the written scope, export the final Nagios configuration, plugin versions, notification logs and retained check results. Store the archive in read-only storage under your access controls and backup policy, and keep it for the audit and history retention period that your security or compliance owner sets. Then switch off the Nagios service for the migrated groups and remove its scheduled jobs. Done means the archive is checksummed, someone other than its author has tested a restore, and the owner has signed the decommission record.

What drives the cost and duration of the move

This table lists the cost components of moving from Nagios Core to Prometheus, who is paid for each, whether it is one-time or recurring, and what makes it larger or smaller. Read the right-hand column before asking for a quote, because check count, history needs and sign-off scope often matter more than the software itself. Nagios Core is free under GPL v2 and Prometheus has no paid edition, so the spend sits mainly in people, hosting and storage.

Cost component or driverWho is paid and one-time or recurringWhat raises or lowers it
Internal staff timeOne-time during migration, paid to your own staff. Recurring on-call afterward.Size of your Nagios estate, PromQL skills on the team and staff availability for the parallel run.
Implementation partner feesOne-time, paid to the partner under a written, fixed scope.Check count, notification scope, history carried over, parallel run length and number of retest rounds.
Prometheus and Alertmanager infrastructureRecurring hosting, paid to your cloud or data center provider. Alertmanager high availability adds instances.Number of Prometheus servers, and whether Prometheus lists every Alertmanager instance directly in its configuration.
Storage for retained historyRecurring, paid to your storage provider. Local Prometheus retention defaults to 15 days.Required history length, series volume and whether long-term storage is a separate system. Local storage is not replicated.
Ongoing operationRecurring, paid from your team budget or a support retainer if you buy one.Upgrade cadence (minor releases about every 6 weeks), chosen LTS line and the on-call load on your team.
Plugin checks and notification pathsOne-time to map, paid to staff or the partner. Each rebuilt check and route needs testing.Number of Nagios plugin checks, custom plugins, contacts and escalation paths. Each one adds mapping and retest work.
Authentication and TLSOne-time build, plus recurring certificate rotation, paid to your staff or partner.Prometheus has no built-in SSO, so a reverse proxy is usually added. Basic authentication should only run over TLS.
Sign-off across teamsOne-time, mostly internal time spent in reviews and approvals.Number of teams that own alert routes, dashboards, on-call or security controls and must approve the cutover.
What to request in a quoteWritten before work starts, so each bidder scopes the same work.A check-by-check mapping from Nagios checks to Prometheus rules, a parallel run scope and a retest plan.

What usually goes wrong in a Nagios Core to Prometheus move

Most failed moves from Nagios Core to Prometheus break in the gaps between the two models. The six cards below cover check mapping, alert logic, storage, access control, release choice and checks that need exact results. Each card names the prevention step to build into scope before cutover.

Silent gaps from unmapped checks

Each Nagios Core service check runs a plugin program, and many were added years ago by staff who have since moved on. Prometheus does not run those programs, so each check has to become a scraped metric or exporter output with its own alert rule. A check with no matching rule stops alerting without any error. Map every check before you switch the old one off. Export the host and service definitions, map each one to a metric and rule, and keep the Nagios check running until the new alert has fired in a test.

Lost down versus unreachable logic

Nagios Core parent host hierarchies let it separate a host that is down from one that is unreachable because a parent failed. That distinction keeps one network outage from paging on every machine behind it. A Nagios configuration import will not carry this relationship across, so it has to be written again as alert logic. Encode each parent-child dependency as an inhibition rule in Alertmanager, then simulate a failed upstream device in staging and confirm that only the parent alert reaches on-call.

Alertmanager docs

Local storage without replication

Prometheus stores samples in a local time series database built from two-hour blocks, and that storage is not clustered or replicated. The default retention is 15 days unless you extend it by time or size, so a team that expects months of history for capacity or audit work may find it gone. Set retention on purpose. Size the disk for the window you choose, send samples to long-term storage through remote write where needed, and back the server up and test restores like any other single-node database.

Prometheus storage docs

No built-in SSO or CSRF protection

Prometheus has no built-in single sign-on, and its security model notes that mutating endpoints have no built-in CSRF protection. Without a layer in front, login policy and session handling depend on what the server itself provides, so an access review will ask where authentication happens. Put an authenticating reverse proxy in front of the web UI and API. Terminate TLS there, because basic authentication without TLS sends credentials in cleartext, and confirm how the proxy and your identity provider handle CSRF for every write endpoint you expose.

Security model

Choosing a non-LTS minor release

Prometheus starts a new minor release cycle every 6 weeks, and a minor release generally stops receiving bug fixes after those 6 weeks. Prometheus 3.15.0 was published on September 25, 2026, so its fix window is already short. The LTS line 3.13, released July 1, 2026, receives bug fixes for one year and is supported until July 31, 2027. Deploy the LTS line. Record the exact patch version you run and plan the next upgrade well before July 31, 2027.

Release cycle page

Using Prometheus for exact checks

The Prometheus overview says the project values reliability over precision and is not a good choice where 100% accuracy is required, with per-request billing as the example. Some Nagios Core checks feed decisions where one missed sample has a financial or audit cost, such as usage metering or proof that a control ran. Separate those checks during scoping. Keep them in a system built for exact records, and get the business owner to sign off on any gap in Prometheus coverage before cutover.

Prometheus overview

Questions teams ask before they move from Nagios Core to Prometheus

What does moving from Nagios Core to Prometheus cost?

Prometheus has no paid edition, so the license line is zero and the cost sits in people, infrastructure and storage. Nagios Core is GPL-2.0 software and free to use, so neither side carries a license fee. One-time costs include the inventory of checks, translating custom plugins into exporters, scrape jobs and alerting rules, building dashboards and running the parallel period. Recurring costs are the servers for Prometheus and Alertmanager, any long-term storage you add, and the staff time to patch, upgrade and tune them. Costs rise with the number of custom plugins, the number of alert owners who must review rules and the retention you need. The effort table on this page shows who is paid for each activity. In a quote, ask for each activity as its own line, with the plugin count and parallel run length written as assumptions.

How long does a Nagios Core to Prometheus migration take?

The duration comes from the written scope, which is agreed before work starts on most DeployOpen engagements. The main drivers are the number of checks, how many are custom plugins that must be rewritten or replaced, how many alert owners must approve rules and how long the parallel run lasts. Estates with clear inventories and few custom plugins move faster than estates where nobody can say which hosts are monitored or why. Network access approvals and change windows for cutover also add calendar time that the scope should name. Ask for a phased plan with a milestone for each group of hosts, and confirm which items sit inside the fixed scope.

What does our internal team need to provide during the migration?

Plan on four contributions from your own staff, and name the people with time booked for each.

  • Plugin knowledge: someone who understands each custom check, its thresholds and what it actually tests.
  • Alert owners: the people who receive pages and can say which alerts matter and which are noise.
  • Network access: firewall and routing changes so Prometheus can reach its targets, plus credentials for scraping and any exporters.
  • Sign-off: an accountable owner who approves alert parity, the cutover date and the decommissioning of Nagios Core.

Without these, the implementation work stalls at the first unclear check, and cutover slips while questions wait for answers.

Can our team migrate from Nagios Core to Prometheus on its own?

Yes, for a small estate with a clear inventory and few custom plugins, a capable team can usually do the migration itself. The usual gaps are the parallel run, where two alerting systems must be compared for long enough to trust the results, and the TLS work. Prometheus supports TLS and client certificates with TLS 1.2 as the minimum, and basic authentication without TLS exposes credentials in cleartext, so certificate planning must be finished before the first scrape goes live. Teams with larger estates, many notification paths or compliance evidence to prepare often bring in an implementation partner for planning, hardening and the cutover review. Write the split down so each gap has a named owner.

Do we need to keep Nagios Core running during the move?

Keep it running until the new alerts have been checked against it, which is the usual reason for a parallel run. Because Nagios Core is free GPL-2.0 software, running it during the move adds only host and maintenance time. During the parallel run, both systems watch the same hosts, and the team compares which alerts fire, when they fire and who gets notified. Cut over one group of hosts at a time, and keep the Nagios configuration in version control so it can be restored if a gap turns up. Decommission Nagios Core only after the alert owners and the sign-off owner have agreed the cutover. The length of the parallel run should appear in the written scope.

Is there a tool that imports Nagios Core configuration into Prometheus?

Confirm this with the Prometheus project and its community documentation before you plan around one. The documented import path from Nagios.org targets Nagios XI, the commercial product built on the same Core engine, so it does not move checks into Prometheus. Most teams translate checks by hand or with their own scripts, mapping each plugin to an exporter, a scrape job or an alerting rule. That translation is usually the largest effort item. Ask the implementation partner to list how each check type will be handled and which checks need a custom exporter. Keep the Nagios Core plugin inventory as the source of truth for the mapping.

How do we keep Nagios history when Prometheus defaults to 15 days?

Prometheus keeps local data for 15 days by default, and retention can be set by time or by size, so older history needs a separate plan. Local storage is not clustered or replicated, so back it up and manage it like any other single-node database. If you need longer metric history, send samples to external long-term storage through remote write, and size that storage before cutover. Nagios log files and performance data are a different store, so decide which of them must be kept for audits, export them to archive storage and record where they live. Your compliance and operations owners should set the retention in writing before the first scrape.

Does Prometheus replace Nagios parent host hierarchies directly?

No. Nagios parent hosts let it tell a down host from an unreachable one, and Prometheus has no built-in parent setting that does the same job, so the logic must be rebuilt. A common approach is an alerting rule that checks whether an upstream gateway or target is reachable, combined with Alertmanager inhibition rules that suppress alerts for downstream targets while the parent is failing. Map each parent and child relationship from the Nagios configuration into a written list before writing any rules. Test each rule by taking a parent down in a non-production environment and confirming which alerts fire. This step needs people who know the network topology and the alert owners.

How DeployOpen scopes and delivers a Nagios Core to Prometheus migration

DeployOpen plans, implements, integrates, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so a Nagios Core to Prometheus move runs in your cloud accounts, data centers or air-gapped network. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope lists each Nagios Core host, service check and notification path in or out of the move.
  • Scope sets out which checks map to exporters, which need custom code and which Nagios plugins remain in use.
  • A quote follows from the written scope, and ongoing support, upgrades and continuous testing are available as retainers.

How we build

  • Targets are defined through service discovery or static configuration, with alert rules and Alertmanager routing kept in version-controlled files.
  • Nagios parent host logic and notifications are re-expressed as Alertmanager inhibition, grouping and routing, then tested against sample failures.
  • Prometheus is configured with TLS and client certificates, and SSO is added through an authenticating reverse proxy.

How we hand over

  • Handover documents the Prometheus configuration, alert rules, Alertmanager routes, exporter list and the Nagios-to-Prometheus check map.
  • Runbooks cover the 15-day default retention, local storage backup, and Prometheus upgrades within its release cycle.
  • Cutover is run in parallel with Nagios Core until the agreed comparison passes, with a rollback path documented.

How we support

  • Ongoing support tracks Prometheus releases, including the LTS 3.13 line supported until July 31, 2027.
  • Retainers cover upgrades, continuous testing and alert-rule changes after cutover.
  • Ask for the support window, upgrade responsibility and who owns alert tuning in writing before the scope is signed.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.