Nagios Core on Docker vs Kubernetes vs VMs

Docker, Kubernetes or virtual machines for Nagios Core: this page sets out which deployment model fits which team, based on operating skills, availability needs, upgrade cadence and backup scope.

On this page

Nagios Core on Docker vs Kubernetes vs VMs: which model fits your team

Virtual machines suit a team with VM skills, Kubernetes suits a team already operating a cluster, and Docker on a single host suits a team that wants containers without a cluster. Each model is a sound home for Nagios Core only when the patching, backup and restart habits it depends on already exist in your team. This comparison does not establish a built-in high availability mode or an official container image for Nagios Core, so confirm both for your own build before you design around either one. Until you have tested a standby or a restore plan, treat the monitoring server as a single point of failure.

Choose virtual machines when your hypervisor already gives you snapshots, scheduled backups and a tested restore path, because Nagios Core then runs on the same operating system packages, service manager and network position as your other servers. Confirm that your backup tool restores the Nagios Core configuration and its state together, since a restore that brings back one without the other can leave checks pointing at stale data. Choose Kubernetes only when the cluster already has reliable persistent storage, volume backups and an upgrade process your team runs. Check the network path first: a check running in a pod reaches your hosts over the cluster network, which may differ from the network your current server uses, and that difference changes what a down alert means.

Choose Docker on a single host when you want a reproducible image and a restart policy but have no cluster to operate. You will build and maintain that image yourself, because this comparison does not establish an official one, and you will rebuild it for each release, such as Nagios Core 4.5.14, which was published on August 5, 2026. Keep configuration and state on named volumes, and install the plugins your checks need into the image so a rebuild does not drop them. A single Docker host still has no failover of its own, so the host needs the same patching and backup ownership as a virtual machine. Decide in writing who owns the host, the image and the Nagios Plugins before you commit to this model.

How the three models compare on availability, upgrades and backup

This table compares how Nagios Core on Docker, Kubernetes and virtual machines differs on architecture, sizing, availability, upgrades, backup, skills, cost and switching. Read each cell as the condition under which that option fits best, then confirm the specifics in your own environment. The main takeaway is that the platform mainly sets how you run redundancy, upgrades and restores around the Nagios Core engine, which is the same release in all three.

FactorDockerKubernetesVMs
ArchitectureCore runs in containers with config and state on mounted volumes. Fits a small estate run by a team comfortable with Docker.Core runs as pods with persistent volumes on a cluster you already operate. Fits teams that need cluster-level scheduling and shared platform tooling.Core installs on a guest OS you patch with existing tools. Fits teams wanting few moving parts on a host model they know.
SizingSet by the host's CPU, memory and disk. Fits a bounded check count that one host can carry with headroom.Set by requests and limits on the monitoring pods. Fits clusters with spare capacity and a team that sets resource limits.Set by fixed vCPU and memory per guest. Fits steady check loads where a predictable allocation matters more than elasticity.
High availability approachA second host you build, test and switch over yourself. Fits teams with a tested standby and a written failover runbook.Pod restarts come from the cluster; confirm how Core state behaves on reschedule. Fits teams that test failover in staging first.Host-level failover depends on the hypervisor platform, such as Proxmox VE or XCP-ng. Fits teams already running that platform with tested failover.
Upgrade pathPull a pinned image and recreate the container. Fits teams that test each Core release, such as 4.5.14 from August 5, 2026, first.Roll a new image through your deployment pipeline. Fits teams with staging clusters and change control already in place.Upgrade packages in place or rebuild the guest. Fits teams with a patch calendar and tested snapshot or restore rollback.
Backup scopeConfig files, plugin paths and mounted volumes; images are rebuilt. Fits small estates where config is the main state to protect.Persistent volume data, ConfigMaps, Secrets and manifests in Git. Fits teams that confirm snapshot support in their storage class.Whole guest images plus config and state files. Fits teams that need full-host restores and accept the larger storage footprint.
Operating skillsContainer basics, volume handling and host patching. Fits a team that knows Docker but runs no cluster today.Cluster operations, RBAC, storage and manifest review. Fits a platform team already on call for a cluster.Linux administration, package management and hypervisor operations. Fits a sysadmin team with existing patch routines.
Cost driversHost capacity, storage for volumes and the time to maintain images. Lower when a spare host already exists.Shared cluster capacity and platform engineering time. Lower when the cluster is already funded for other workloads.Guest count, storage and any hypervisor subscription. Proxmox VE subscriptions are priced per CPU socket, according to proxmox.com.
Cost of switching laterMoving to Kubernetes or VMs means rebuilding packaging; config and plugins usually carry over as files.Leaving the cluster means re-packaging state and manifests. Core config carries over if paths and plugins stay the same.Moving to containers or a cluster means rebuilding the guest image. Config and plugins move as files.

How Nagios Core's parts map onto containers, pods and VMs

Nagios Core combines an engine, separately versioned check programs, plain text configuration and state, an optional web interface and outbound notification paths. Each part moves differently between Docker, Kubernetes and VMs, so decide for each one whether it is baked into an image, mounted from persistent storage or installed on a host.

Nagios Core engine

The Nagios Core engine is a single C program under GPL-2.0 that schedules checks, decides host and service state and dispatches notifications. In Docker it is one container process, in Kubernetes one pod with a single replica, since Core is not a clustered engine (confirm this against your version's documentation), and on a VM it is a systemd service. The binaries need no persistent claim, so the install path can sit in the image or on the host. Pin the exact release you build from, such as 4.5.14, published on August 5, 2026, and confirm the source and maintainer of any prebuilt image before you use it.

Nagios Core README

Nagios Plugins check programs

Nagios Plugins is a separate project that supplies the check programs the engine runs locally, with its own release cycle, so a plugin upgrade and a Core upgrade are two changes to test. In Docker and Kubernetes the plugins must be present inside the container that runs the engine, so bake them into a pipeline-built image or mount them read-only from a volume. Keep your in-house checks in their own versioned directory. On a VM, install the plugins at the path your command definitions expect and confirm the service user can execute them. Plugins need no persistent claim unless your team writes checks that keep their own data.

Configuration and state files

Core reads manual, text-based configuration, starting from the main nagios.cfg with object definitions alongside it, and it writes runtime state, retention data and logs to files. In Docker, keep configuration and state in a bind mount or named volume so a rebuilt container does not reset them. In Kubernetes, put static object files in a ConfigMap or a Git-synced directory and place retention and log files on a PersistentVolumeClaim with a named owner. On a VM, use a host directory with fixed ownership. Run nagios -v against the configuration before every reload, and confirm the file locations your build uses.

Optional CGI web interface

The CGI web interface is optional, and the basic web view that nagios.org describes is served by a web server alongside the engine. In Docker it usually runs as a second process or a sidecar, so decide early whether the web tier shares the engine container. In Kubernetes it gets its own Deployment, Service and Ingress, with the password file and cgi.cfg access settings delivered as a Secret or ConfigMap. On a VM, the web server runs on the same host and needs TLS and authentication configured there. Skip the interface if you only need alerts, and confirm which access control settings your version supports before you expose it.

Notification and event handler paths

Notification commands and event handlers are scripts the engine runs when state changes, and they are how Core reaches mail relays, paging services and other systems. In Docker and Kubernetes these scripts execute inside the engine container, so the container needs egress rules to each target and credentials supplied through a Secret that the image never contains. A restart handler that works on a VM may do nothing from a container if the service it touches lives on the host. Test each handler from the runtime that will run it, and record what each handler is allowed to change.

Decision path: from team skills to deployment model

The path starts at the current Nagios Core estate and asks three questions in order. First, does the team already run Kubernetes in production? If so, does it operate that cluster day to day? A team that does reaches Kubernetes, where the cluster's existing storage and backup tooling carries over. Otherwise, the path asks whether the team already patches host systems. Teams that do can take VMs with package installs. Teams that do not can take Docker on a managed host, where the host provider handles host patching. Confirm each answer with the people who would be on call before choosing a path.

Decision path from the current Nagios Core estate to one of three deployment models.

What upgrades, backups and monitoring of Nagios Core demand in each model

This table compares what keeping Nagios Core current, recoverable and watched takes on Docker, Kubernetes and virtual machines. Read each row as the work your team owns on that model, and pin version 4.5.14, released August 5, 2026, as the target to test before every change. Confirm each rollback path and backup tool in your own environment before you rely on them.

FactorNagios Core on DockerNagios Core on KubernetesNagios Core on VMs
Upgrade stepsPin 4.5.14 in the image tag, rebuild, test plugins and config, then redeploy the container.Pin 4.5.14 in the Helm values or manifest, roll the Deployment, and test checks and config first.Pin 4.5.14 in your package or source build, stage it on a cloned VM, then upgrade in a maintenance window.
Rollback pathRedeploy the previous image tag. Confirm the config and state volumes still work with the older version.Roll back the Deployment revision or Helm release. Confirm the ConfigMaps, PVCs and plugin images also revert.Restore the pre-upgrade VM snapshot or reinstall the prior package. Confirm the snapshot captures the config directory.
Backup scopeConfig directory, retention and state volumes, custom plugins and the image tag in use.Config objects, PVC data for retention and state, Secrets, and the manifests or Helm values kept in Git.Config directory, retention data, installed plugins and the OS-level settings that Nagios depends on.
Backup methodVolume-level copy of the mounted config and state volumes. Confirm the tool in your environment.Cluster backup tooling you confirm for your storage class and PVC snapshots.Hypervisor snapshots or a file-level backup agent, which you confirm with your backup platform.
Monitoring the monitorContainer health checks and restart events, plus a second check on the Nagios host from another system.Liveness and readiness probes plus an external check from outside the cluster, since cluster failure hides alerts.Host-level checks and a separate watchdog host, since OS or hardware failure stops the monitor silently.
Operating skillsContainer image builds, volume management, and Nagios config and plugin packaging.Kubernetes manifests or Helm, persistent volume handling, RBAC for config changes, and Nagios config.Linux administration, package and patch management, web server configuration, and Nagios config.

How the 2026 Nagios Core release cadence changes upgrade work

Nagios Core published 4.5.11 in January 2026, 4.5.12 in March, 4.5.13 on May 28 and 4.5.14 on August 5, according to the nagioscore releases page. A team that last upgraded in January now has three releases to assess before it reaches the current build, so upgrades become a recurring change task. Build a standing test window that can take the next point release at short notice, and read each release note before the change board decides how much retesting it needs. The Core engine is only one part of the stack, so the window should cover the whole deployment stack.

The retest scope depends on the model. In Docker and Kubernetes, each new Core release means rebuilding the image and then retesting with the new tag, because a floating tag such as latest can change without a review. Confirm that the build argument or image tag setting the Core version is pinned in your Dockerfile or Helm values, and that the configuration files mounted into the container still load before the rollout proceeds. On virtual machines, the change is a package update or a source build, so take a snapshot first, apply the update to a copy, and confirm the service starts and the CGI web interface still logs users in. Whichever model you run, keep the previous image or snapshot until the retest passes.

Plugins need their own retest in every model because the check programs are a separate project. Nagios.org lists Nagios Plugins as the project that provides the programs Core runs, so a Core upgrade does not by itself change the plugins. If your plugins are baked into a Docker or Kubernetes image, a plugin change forces a rebuild, and if they sit on a shared volume or in a VM package set, track them as their own change item. Inventory every check command in your nagios.cfg object configuration, record the plugin version each one depends on, and rerun those checks on a test host after each Core release. Ask the Nagios Plugins project which plugin versions it tests against each Core release, and retest any in-house plugins written against the plugin interface, since your team owns that code and the upstream project will not test it.

Which team should choose which model

A Linux team that already patches, snapshots and backs up virtual machines gets the fewest moving parts from running Nagios Core directly on a VM. The engine, the plugins and the optional CGI interface install like other Linux services, and the team reuses its existing backup and patch routines. Nagios Core is GPL-2.0 licensed and uses manual, text-based configuration, so the configuration files stay easy to inspect and copy.

  • Operating skills: Linux administration, service management, package updates, web server hardening for the CGI interface, and building or installing check plugins.
  • Kept in-house: OS patching, Nagios Core upgrades, plugin maintenance, notification routing, and backups of the configuration directory and monitoring state.
  • Low moving parts: One host and one service stack, with no container runtime or cluster control plane to run alongside it.
  • Where it stops fitting: When the monitoring service must keep running through a host failure without a manual restore. A single VM needs a failover design that the team builds and tests itself, so confirm that approach with your implementer before committing.
  • Growth pressure: When many environments need the same configuration generated from templates and reviewed in pull requests, hand-edited files on one VM become hard to govern.

Confirm your restore time and the upgrade path against your change windows before you commit to a VM build.

How to move a running Nagios Core server without a blind cutover

Moving Nagios Core to a new host is mostly a matter of proving that every check, notification and event handler behaves the same before the old server stops. The sequence runs the target alongside the existing server so each step produces evidence your team can review. Each step names what your team owns and what DeployOpen can deliver under a written scope.

  1. Inventory hosts, checks, plugins and notification paths

    Your team exports host and service definitions, parent host hierarchies, contacts, time periods, commands and event handlers from the current server, then lists every custom plugin with its source, owner and dependencies. Standard checks usually come from the Nagios Plugins project, while in-house plugins need a named owner and a copy stored under version control. A written scope can include the inventory workbook and a dependency review of custom plugins. Done means every notification path traces to a named contact and delivery method, and the team has signed off the list.

  2. Pin the Nagios Core version

    Choose one Nagios Core release and record it in the change record before any build starts. The releases page lists 4.5.14, published August 5, 2026, after 4.5.13 on May 28, 2026, so confirm whether a newer release has appeared and which one your team will support. Record the Nagios Plugins version, the web server and the base image or operating system packages in the same entry, so the target runs the same stack as the source. Done means every component on the target has a recorded version and the team has read the release notes for each change between the current and pinned versions.

  3. Build the target in a test environment

    Build the target from the pinned versions in a test environment that matches the chosen layout, whether that is a container image, a Kubernetes deployment or a virtual machine. Load the exported configuration and run nagios -v against the main configuration file until it validates, then test one host, one service and one notification end to end. Your team owns the platform choice, storage for state and logs, time synchronization and who can reach the web interface. A written scope can include the build, hardening notes and a deployment guide for the chosen layout. Done means the configuration validates cleanly and a test notification reaches a test contact.

  4. Run the target alongside the existing server

    Run both servers against the same hosts with notifications controlled, so only one side sends alerts at any time. Keep notifications off on the target or send them to test contacts, then compare check results, state changes and notification logs across a period your team sets. Doubled check load on monitored hosts is a cost to plan for, so confirm the hosts can absorb it. Your team owns the decision on which side notifies, the test contacts and sign-off on each difference. A written scope can include the comparison method and a discrepancy report. Done means every difference between the two servers is explained or fixed, and a test alert from the target has been confirmed by a person.

  5. Cut over checks and notifications in a planned window

    Agree a change window with the business owners, freeze edits on the old server, move notifications to the target and then disable active checks on the old side. Keep the old server powered on and its configuration unchanged so a rollback follows a known path. Your team owns the window, the rollback decision and who is on call. A written scope can include a cutover runbook, the rollback steps and support during the window. Done means the first live notification comes from the target and is acknowledged by the on-call contact, the old server sends no new notifications, and the rollback steps were rehearsed beforehand.

  6. Retire the old host after a verified backup

    Back up the old server's configuration, state, retention data, custom plugins and event handler scripts, then restore that backup to a separate host and confirm the configuration validates. Only after the restore check passes does the team power down the old host and remove its access. Your team owns retention periods, the retirement decision and the removal of old credentials. A written scope can include backup setup, the restore test and a decommission checklist. Done means the restore test passed, the backup location and retention period are recorded, and the retirement is logged in the change record.

Questions buyers ask before choosing a Nagios Core deployment model

What drives the cost of running Nagios Core on Docker, Kubernetes or VMs?

The model changes the cost mix more than the total. Cost falls into two groups. One-time work covers design, building the platform, migrating the configuration, packaging custom plugins, connecting identity and alert channels, and testing. Recurring work covers patching the host or image, applying Nagios Core releases (4.5.14 was published on August 5, 2026), monitoring the platform itself, maintaining checks and running restore tests.

  • VMs usually need the least new platform skill, but OS patching stays with your team.
  • Docker adds image builds, volume handling and a container host to patch.
  • Kubernetes adds cluster operations, so the recurring cost is high if your team does not already run a cluster.

Ask each provider to label every line as one-time or recurring and to name who is paid for it: your staff, a fixed-scope project, or a retainer for ongoing support.

How long does a Nagios Core deployment take?

Length depends on the estate, so no reliable duration can be given without a written scope. The main drivers are the number of hosts and services, how many checks are custom plugins, how much existing configuration must be rewritten and validated, how many notification and escalation paths exist, and how many environments (test, staging and production) must be built before cutover. Each driver becomes a scope item and a deliverable. Ask for a schedule that lists your dependencies, including access approvals, change windows and sign-off on alert rules, because these often set the pace more than the build does.

What does the client's team need to provide for a Nagios Core project?

Your team supplies access, decisions and a named owner for each one. Expect to provide:

  • Administrative access to the target platform, such as Linux hosts, the hypervisor, the container host or the cluster, plus network paths from the monitoring host to every target.
  • A current inventory of hosts, services and checks, and a list of the Nagios Plugins programs and custom scripts in use.
  • Decisions on alert routing, escalation, on-call rules and who receives notifications.
  • Change windows, credential handling rules and approval steps for production changes.
  • One accountable owner who signs off each deliverable and its acceptance tests.

If these arrive late, the schedule slips, so list them in the written scope as client dependencies.

Can our own team run a Nagios Core deployment without outside help?

Some teams can, provided the knowledge does not sit with one person. Nagios Core is GPL v2 software with manual, text-based configuration and a basic web interface, so the working knowledge lives in the configuration files, the plugins and the people who edit them. A team that already runs Linux services, can read and change text configuration, owns its plugins and has a second person who can cover on-call is in a good position. A team without those skills should plan for outside help on the build, the migration and the first restore test. Whoever helps should hand over documented configuration, runbooks and a tested restore procedure, so your team can run the system after the project ends.

Does Nagios Core have a high availability mode?

The available information does not document a high availability mode for Nagios Core, so confirm this with the project before you design around one. Check the Nagios Core documentation on nagios.org and put the question to Nagios Enterprises in writing. Ask specific questions: whether a standby instance can take over monitoring, how configuration stays identical on both nodes, how state and notification history move on failover, and how duplicate notifications are prevented. Parent host hierarchies help separate down hosts from unreachable ones, which improves diagnosis, but this feature does not provide failover on its own. If the answer is no, design recovery around tested restores with a recovery time set by your own service requirements.

Is there an official Nagios Core container image we can use?

The available information does not confirm an official container image for Nagios Core, so verify this before choosing Docker or Kubernetes. Check the nagioscore project and the nagios.org downloads and documentation, then ask who maintains any image you plan to use. For a community or third-party image, confirm the base OS, how it receives security patches, which plugins it includes and how its tags map to Nagios Core releases such as 4.5.14, published on August 5, 2026. If you need an image built from source and maintained for your environment, put that work in the written scope so the build, patch cycle and test evidence are agreed before work starts.

How should backups be scoped for a Nagios Core deployment?

Scope backups to everything that defines the monitoring state, including the host, container or disk. Include:

  • Nagios configuration files and object definitions, kept under version control with a record of changes.
  • Plugin scripts, custom checks, event handlers and notification scripts, with their versions.
  • Web interface and access control files, if the CGI interface is enabled.
  • Credentials or secrets the scripts reference, held in your secrets system and backed up under its own rules.
  • Retention data such as history and logs, if your audit or compliance needs require it.

For VMs, a disk snapshot helps only if it is consistent. For containers, back up the volumes and build files. For Kubernetes, back up persistent volumes, manifests and secret objects. Then test a restore into a clean environment and record the steps.

What should we ask for in a written quote for Nagios Core?

Ask for a quote built from a written scope that separates one-time work from recurring work. DeployOpen does not publish a price list, so the quote follows from the scope. Ask for:

  • The scope list: hosts, services, custom plugins, notification paths, identity integration and environments.
  • The chosen deployment model, the reasons for it, and the Nagios Core release to be deployed.
  • Deliverables, acceptance criteria and the sign-off owner.
  • Client dependencies and assumptions, such as access, change windows and the quality of existing configuration.
  • One-time items (design, build, migration, testing, documentation, handover) and recurring items (support, upgrades, restore tests, continuous testing), shown separately.
  • Exclusions, and any third-party license or hosting cost the client pays directly.

How DeployOpen scopes, delivers and supports Nagios Core deployments

DeployOpen plans, implements, hardens, backs up, upgrades and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Nagios Core, the choice between Docker, Kubernetes and virtual machines is settled in a written scope before build starts. The four steps below follow the same order for each runtime, with runtime-specific differences agreed up front.

How we scope

  • The written scope names the runtime (Docker, Kubernetes or virtual machines) and the reasons for it.
  • The scope lists monitored hosts, services, plugin checks and notification paths before any build starts.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • Deployment is built inside your cloud accounts, data centers or air-gapped network, on the runtime named in scope.
  • Hardening, access control and backup settings are configured to the written scope and documented.
  • Security testing of the monitoring setup and its admin interfaces can be added to the written scope.

How we hand over

  • Handover includes documentation of the runtime, configuration files, upgrade steps and backup and restore procedures.
  • Evidence for compliance reviews is prepared, while independent auditors issue any audit report.
  • Deliverables are listed in the written scope so you can check what you received.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers.
  • Upgrade work can cover later Nagios Core releases, including 4.5.14 published August 5, 2026.
  • Ask for response times and escalation paths to be written into the quote before you sign.

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.