{"id":7829,"date":"2020-03-19T16:26:11","date_gmt":"2020-03-19T13:26:11","guid":{"rendered":"http:\/\/unihost.com\/help\/?p=7829"},"modified":"2026-11-06T15:17:41","modified_gmt":"2026-11-06T12:17:41","slug":"upgrade-nagios-core-to-the-latest-version","status":"publish","type":"post","link":"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/","title":{"rendered":"How to Upgrade Nagios Core to the Latest Version"},"content":{"rendered":"<div style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55\">\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">To upgrade Nagios Core without losing configuration, check your installed version, back up the existing installation, download the latest stable source release, and run configure, make all, and make install. Validate the configuration using nagios -v before restarting the monitoring service. This procedure applies to existing source-based Nagios Core installations.<\/p>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\"><strong>Compatibility: Ubuntu 22.04\/24.04, Debian 12, Rocky Linux 9 and AlmaLinux 9; source-installed Nagios Core 4.x. Commands use standard Nagios Core and Linux utilities.<\/strong><\/p>\n<h2 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:18pt;line-height:1.35;margin:22px 0 10px\">Requirements<\/h2>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">You need SSH or console access with sudo privileges, a source-installed Nagios Core under \/usr\/local\/nagios, available disk space, build tools, and a maintenance window. Back up custom plugins and system integration files as well.<\/p>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\"><strong>Ubuntu 22.04\/24.04 and Debian 12:<\/strong><\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">sudo apt update\r\nsudo apt install -y build-essential wget tar libgd-dev libssl-dev<\/pre>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\"><strong>Rocky Linux 9 and AlmaLinux 9:<\/strong><\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">sudo dnf install -y gcc make wget tar gd-devel openssl-devel<\/pre>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">This procedure is for source-based installations. For Nagios Core installed through a package manager, use the distribution packages instead. Nagios XI has a separate upgrade procedure.<\/p>\n<h2 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:18pt;line-height:1.35;margin:22px 0 10px\">Steps<\/h2>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Step 1. Check your installed version<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Check the current Nagios Core version and validate its configuration before changing any files.<\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">\/usr\/local\/nagios\/bin\/nagios --version\r\nsudo \/usr\/local\/nagios\/bin\/nagios -v \/usr\/local\/nagios\/etc\/nagios.cfg<\/pre>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Check the latest stable release on the official Nagios Core versions page. Set the version variable for the release you intend to install: <a href=\"https:\/\/assets.nagios.com\/downloads\/nagioscore\/versions.php\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">Official Nagios Core releases<\/a><\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">NAGIOS_VERSION=&quot;4.5.14&quot;<\/pre>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Step 2. Back up Nagios<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Back up configuration, runtime data, and a full copy of the installation. Keep a copy outside the server. The full archive is needed if you must restore the previous binaries.<\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">sudo tar -czf \/root\/nagios-backup.tar.gz -C \/ usr\/local\/nagios\/etc usr\/local\/nagios\/var\r\nsudo tar -czf \/root\/nagios-full-backup.tar.gz -C \/ usr\/local\/nagios<\/pre>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Step 3. Download the source release<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Download the selected official source archive using the version variable. The commands run from a temporary working directory.<\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">cd \/tmp\r\nwget -O nagioscore.tar.gz &quot;https:\/\/github.com\/NagiosEnterprises\/nagioscore\/archive\/refs\/tags\/nagios-${NAGIOS_VERSION}.tar.gz&quot;\r\ntar -xzf nagioscore.tar.gz\r\ncd &quot;nagioscore-nagios-${NAGIOS_VERSION}&quot;<\/pre>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Step 4. Compile and install<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Use the same configure options as your existing installation, including any custom command group. Stop Nagios just before installing the new binaries. Do not run make install-config during a routine upgrade, because existing settings must be retained.<\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">.\/configure\r\nmake all\r\nsudo systemctl stop nagios\r\nsudo make install<\/pre>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Step 5. Validate and start Nagios<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Verify the configuration before starting the updated daemon. If verification fails, correct the errors or restore your backup instead of starting the service.<\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">sudo \/usr\/local\/nagios\/bin\/nagios -v \/usr\/local\/nagios\/etc\/nagios.cfg\r\nsudo systemctl start nagios<\/pre>\n<h2 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:18pt;line-height:1.35;margin:22px 0 10px\">Verify<\/h2>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Check the installed release, service status, and the web interface. Confirm hosts, service checks, and notifications still work.<\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">\/usr\/local\/nagios\/bin\/nagios --version\r\nsystemctl is-active nagios<\/pre>\n<h2 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:18pt;line-height:1.35;margin:22px 0 10px\">Troubleshooting<\/h2>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Nagios fails to start<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Validate nagios.cfg and inspect the systemd log for configuration, permission, or module errors.<\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">sudo \/usr\/local\/nagios\/bin\/nagios -v \/usr\/local\/nagios\/etc\/nagios.cfg\r\nsudo journalctl -u nagios -n 50 --no-pager<\/pre>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Compilation fails<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Review the configure or make error and confirm required development libraries are installed. Reuse any non-default configure flags from the old installation.<\/p>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Rollback after an unsuccessful upgrade<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Stop Nagios, restore the complete installation from the saved archive, validate the old configuration, and start the service again. A server snapshot is preferable when external plugins or system service files were changed.<\/p>\n<pre style=\"font-family:Ubuntu,monospace;font-size:12pt;line-height:1.45;background:#f4f4f4;color:#222;padding:10px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px\">sudo systemctl stop nagios\r\nsudo tar -xzf \/root\/nagios-full-backup.tar.gz -C \/\r\nsudo \/usr\/local\/nagios\/bin\/nagios -v \/usr\/local\/nagios\/etc\/nagios.cfg\r\nsudo systemctl start nagios<\/pre>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Nagios Core vs Nagios XI<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Nagios Core is an open-source monitoring engine, usually configured through files. Nagios XI is a commercial product with additional management and reporting tools. Never use these Core source-upgrade steps on Nagios XI; follow the official Nagios XI update procedure.<\/p>\n<h2 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:18pt;line-height:1.35;margin:22px 0 10px\">FAQ<\/h2>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Will the upgrade overwrite my configuration?<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">A normal source upgrade with make install preserves existing configuration. Do not run make install-config, and always take a backup first.<\/p>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">How do I check my Nagios version?<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Run \/usr\/local\/nagios\/bin\/nagios &#8211;version on the server.<\/p>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">How do I roll back a failed upgrade?<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Stop Nagios, restore the full installation or server snapshot, validate nagios.cfg, and start Nagios.<\/p>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">What is the difference between Nagios Core and Nagios XI?<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Nagios Core is an open-source monitoring engine. Nagios XI is a commercial management and reporting product and uses a separate upgrade procedure.<\/p>\n<h2 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:18pt;line-height:1.35;margin:22px 0 10px\">Related Articles<\/h2>\n<ul style=\"list-style-type:disc;padding-left:26px;margin:8px 0 15px\">\n<li style=\"display:list-item;font-family:Ubuntu,Arial,sans-serif;font-size:12pt;margin:4px 0\"><a href=\"https:\/\/unihost.com\/help\/installing-zabbix-with-portainer\/\">Installing Zabbix with Portainer<\/a><\/li>\n<li style=\"display:list-item;font-family:Ubuntu,Arial,sans-serif;font-size:12pt;margin:4px 0\"><a href=\"https:\/\/unihost.com\/help\/installing-netdata-with-portainer\/\">Installing NetData with Portainer<\/a><\/li>\n<li style=\"display:list-item;font-family:Ubuntu,Arial,sans-serif;font-size:12pt;margin:4px 0\"><a href=\"https:\/\/unihost.com\/help\/installing-gatus-with-portainer\/\">Installing Gatus with Portainer<\/a><\/li>\n<li style=\"display:list-item;font-family:Ubuntu,Arial,sans-serif;font-size:12pt;margin:4px 0\"><a href=\"https:\/\/library.nagios.com\/docs\/nagios-core\/configuration\/Nagios-Core-Upgrading-Nagios-Core-From-Source\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">Official upgrade guide<\/a><\/li>\n<\/ul>\n<h3 style=\"font-family:Ubuntu,Arial,sans-serif;font-size:14pt;line-height:1.35;margin:16px 0 10px\">Monitor servers with Unihost<\/h3>\n<p style=\"font-family:Ubuntu,Arial,sans-serif;font-size:12pt;line-height:1.55;margin:0 0 12px\">Run monitoring services on Unihost infrastructure and get assistance managing your servers.<\/p>\n<ul style=\"list-style-type:disc;padding-left:26px;margin:8px 0 15px\">\n<li style=\"display:list-item;font-family:Ubuntu,Arial,sans-serif;font-size:12pt;margin:4px 0\"><a href=\"https:\/\/unihost.com\/vps\/\">VPS Hosting<\/a><\/li>\n<li style=\"display:list-item;font-family:Ubuntu,Arial,sans-serif;font-size:12pt;margin:4px 0\"><a href=\"https:\/\/unihost.com\/management\/\">Server Management<\/a><\/li>\n<\/ul>\n<\/div>\n<p><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"headline\":\"How to Upgrade Nagios Core to the Latest Version\",\"description\":\"Upgrade Nagios Core from source without losing configuration: back up \/usr\/local\/nagios, download the latest release, compile, verify the config and restart.\",\"inLanguage\":\"en\",\"author\":{\"@type\":\"Organization\",\"name\":\"Unihost\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Unihost\",\"url\":\"https:\/\/unihost.com\/\"},\"dateModified\":\"2026-11-06\",\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/\"}},{\"@type\":\"FAQPage\",\"inLanguage\":\"en\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Will the upgrade overwrite my configuration?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"A normal source upgrade with make install preserves existing configuration. Do not run make install-config, and always take a backup first.\"}},{\"@type\":\"Question\",\"name\":\"How do I check my Nagios version?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Run \/usr\/local\/nagios\/bin\/nagios --version on the server.\"}},{\"@type\":\"Question\",\"name\":\"How do I roll back a failed upgrade?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Stop Nagios, restore the full installation or server snapshot, validate nagios.cfg, and start Nagios.\"}},{\"@type\":\"Question\",\"name\":\"What is the difference between Nagios Core and Nagios XI?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Nagios Core is an open-source monitoring engine. Nagios XI is a commercial management and reporting product and uses a separate upgrade procedure.\"}}]}]}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To upgrade Nagios Core without losing configuration, check your installed version, back up the existing installation, download the latest stable source release, and run configure, make all, and make install. Validate the configuration using nagios -v before restarting the monitoring service. This procedure applies to existing source-based Nagios Core installations. Compatibility: Ubuntu 22.04\/24.04, Debian 12, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[158],"tags":[],"class_list":["post-7829","post","type-post","status-publish","format-standard","hentry","category-dedicated-servers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Upgrade Nagios Core to the Latest Version: Step-by-Step (2026) | Unihost<\/title>\n<meta name=\"description\" content=\"Upgrade Nagios Core from source without losing configuration: back up \/usr\/local\/nagios, download the latest release, compile, verify the config and restart.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Upgrade Nagios Core to the Latest Version: Step-by-Step (2026) | Unihost\" \/>\n<meta property=\"og:description\" content=\"Upgrade Nagios Core from source without losing configuration: back up \/usr\/local\/nagios, download the latest release, compile, verify the config and restart.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/\" \/>\n<meta property=\"og:site_name\" content=\"Unihost.FAQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/unihost\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-19T13:26:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-06T12:17:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unihost.com\/help\/minio.php?.\/unihost-logo-alt.png\" \/>\n\t<meta property=\"og:image:width\" content=\"250\" \/>\n\t<meta property=\"og:image:height\" content=\"141\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Unihost Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@unihost\" \/>\n<meta name=\"twitter:site\" content=\"@unihost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Unihost Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/upgrade-nagios-core-to-the-latest-version\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/upgrade-nagios-core-to-the-latest-version\\\/\"},\"author\":{\"name\":\"Unihost Support\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/#\\\/schema\\\/person\\\/bb5ae95f38577c920e6a7507888b715a\"},\"headline\":\"How to Upgrade Nagios Core to the Latest Version\",\"datePublished\":\"2020-03-19T13:26:11+00:00\",\"dateModified\":\"2026-11-06T12:17:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/upgrade-nagios-core-to-the-latest-version\\\/\"},\"wordCount\":602,\"publisher\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/#organization\"},\"articleSection\":[\"02. Dedicated servers\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/upgrade-nagios-core-to-the-latest-version\\\/\",\"url\":\"https:\\\/\\\/unihost.com\\\/help\\\/upgrade-nagios-core-to-the-latest-version\\\/\",\"name\":\"Upgrade Nagios Core to the Latest Version: Step-by-Step (2026) | Unihost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/#website\"},\"datePublished\":\"2020-03-19T13:26:11+00:00\",\"dateModified\":\"2026-11-06T12:17:41+00:00\",\"description\":\"Upgrade Nagios Core from source without losing configuration: back up \\\/usr\\\/local\\\/nagios, download the latest release, compile, verify the config and restart.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/upgrade-nagios-core-to-the-latest-version\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/unihost.com\\\/help\\\/upgrade-nagios-core-to-the-latest-version\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/upgrade-nagios-core-to-the-latest-version\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unihost\",\"item\":\"https:\\\/\\\/unihost.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help\",\"item\":\"https:\\\/\\\/unihost.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Upgrade Nagios Core to the Latest Version\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/unihost.com\\\/help\\\/\",\"name\":\"Unihost.FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/unihost.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/#organization\",\"name\":\"Unihost\",\"alternateName\":\"Unihost\",\"url\":\"https:\\\/\\\/unihost.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/unihost.com\\\/help\\\/minio.php?2026\\\/01\\\/minio.png\",\"contentUrl\":\"https:\\\/\\\/unihost.com\\\/help\\\/minio.php?2026\\\/01\\\/minio.png\",\"width\":300,\"height\":300,\"caption\":\"Unihost\"},\"image\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/unihost\\\/\",\"https:\\\/\\\/x.com\\\/unihost\",\"https:\\\/\\\/www.instagram.com\\\/unihost\\\/?hl=en\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/unihost-com\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCITKsxMDnslQY8brN3advgw\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/#\\\/schema\\\/person\\\/bb5ae95f38577c920e6a7507888b715a\",\"name\":\"Unihost Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"caption\":\"Unihost Support\"},\"sameAs\":[\"https:\\\/\\\/unihost.com\\\/\"],\"url\":\"https:\\\/\\\/unihost.com\\\/help\\\/author\\\/support\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Upgrade Nagios Core to the Latest Version: Step-by-Step (2026) | Unihost","description":"Upgrade Nagios Core from source without losing configuration: back up \/usr\/local\/nagios, download the latest release, compile, verify the config and restart.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/","og_locale":"en_US","og_type":"article","og_title":"Upgrade Nagios Core to the Latest Version: Step-by-Step (2026) | Unihost","og_description":"Upgrade Nagios Core from source without losing configuration: back up \/usr\/local\/nagios, download the latest release, compile, verify the config and restart.","og_url":"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/","og_site_name":"Unihost.FAQ","article_publisher":"https:\/\/www.facebook.com\/unihost\/","article_published_time":"2020-03-19T13:26:11+00:00","article_modified_time":"2026-11-06T12:17:41+00:00","og_image":[{"width":250,"height":141,"url":"https:\/\/unihost.com\/help\/minio.php?.\/unihost-logo-alt.png","type":"image\/png"}],"author":"Unihost Support","twitter_card":"summary_large_image","twitter_creator":"@unihost","twitter_site":"@unihost","twitter_misc":{"Written by":"Unihost Support","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/#article","isPartOf":{"@id":"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/"},"author":{"name":"Unihost Support","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a"},"headline":"How to Upgrade Nagios Core to the Latest Version","datePublished":"2020-03-19T13:26:11+00:00","dateModified":"2026-11-06T12:17:41+00:00","mainEntityOfPage":{"@id":"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/"},"wordCount":602,"publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"articleSection":["02. Dedicated servers"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/","url":"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/","name":"Upgrade Nagios Core to the Latest Version: Step-by-Step (2026) | Unihost","isPartOf":{"@id":"https:\/\/unihost.com\/help\/#website"},"datePublished":"2020-03-19T13:26:11+00:00","dateModified":"2026-11-06T12:17:41+00:00","description":"Upgrade Nagios Core from source without losing configuration: back up \/usr\/local\/nagios, download the latest release, compile, verify the config and restart.","breadcrumb":{"@id":"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/unihost.com\/help\/upgrade-nagios-core-to-the-latest-version\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Unihost","item":"https:\/\/unihost.com\/"},{"@type":"ListItem","position":2,"name":"Help","item":"https:\/\/unihost.com\/help\/"},{"@type":"ListItem","position":3,"name":"How to Upgrade Nagios Core to the Latest Version"}]},{"@type":"WebSite","@id":"https:\/\/unihost.com\/help\/#website","url":"https:\/\/unihost.com\/help\/","name":"Unihost.FAQ","description":"","publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unihost.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/unihost.com\/help\/#organization","name":"Unihost","alternateName":"Unihost","url":"https:\/\/unihost.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","width":300,"height":300,"caption":"Unihost"},"image":{"@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/unihost\/","https:\/\/x.com\/unihost","https:\/\/www.instagram.com\/unihost\/?hl=en","https:\/\/www.linkedin.com\/company\/unihost-com","https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw"]},{"@type":"Person","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a","name":"Unihost Support","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","caption":"Unihost Support"},"sameAs":["https:\/\/unihost.com\/"],"url":"https:\/\/unihost.com\/help\/author\/support\/"}]}},"_links":{"self":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/7829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/comments?post=7829"}],"version-history":[{"count":7,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/7829\/revisions"}],"predecessor-version":[{"id":20508,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/7829\/revisions\/20508"}],"wp:attachment":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/media?parent=7829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/categories?post=7829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/tags?post=7829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}