{"id":6314,"date":"2021-04-09T13:55:30","date_gmt":"2021-04-09T08:25:30","guid":{"rendered":"https:\/\/www.skynats.com\/?p=6314"},"modified":"2024-12-11T17:43:27","modified_gmt":"2024-12-11T12:13:27","slug":"configuration-verification-failed-in-nagios","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/","title":{"rendered":"Configuration verification failed in Nagios"},"content":{"rendered":"\n<p>Need assistance to configuration verification failed in Nagios. Here is our technical team support will help you to fix the problem on your behalf under our <a href=\"https:\/\/www.skynats.com\/linux-server-management\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span style=\"color:#03709e\" class=\"has-inline-color\">server management services<\/span><\/a> plan.<\/p>\n\n\n\n<p>Let&#8217;s dig deeper into the reason that caused configuration verification to fail in Nagios. Have a glance at one of our client report which displays the below error message in the core configuration manager (ccm) when try to apply the configuration verification in Nagios. An error arises when he tries to apply a configuration to Nagios core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.<\/p>\n\n\n\n<p>Will then clicking on the link (error), a pop-up message shows that the problem is in the config files along with a line number for the config file.&nbsp;&nbsp;<\/p>\n\n\n\n<p>While looking that the config file in a text editor, the line number does not appear to relate to the problem.<\/p>\n\n\n\n<p>Error: Service has no hosts and\/or service_description (config file \u2018\/usr\/local\/nagios\/etc\/services\/centos01.cfg, starting on line 32)<\/p>\n\n\n\n<p>Here is the process of Apply Configuration.<\/p>\n\n\n\n<p>The first and the foremost is&nbsp;<strong>temporarily written<\/strong>&nbsp;new config files to disk<\/p>\n\n\n\n<p>Later,&nbsp;<strong>verifying&nbsp;<\/strong>the files whether<strong>&nbsp;valid or not<\/strong>&nbsp;in Nagios<\/p>\n\n\n\n<p>Then<strong>&nbsp;&gt;&gt;<\/strong>&nbsp;temporary config files<strong>&nbsp;&gt;&gt;<\/strong>&nbsp;made permanent files.<\/p>\n\n\n\n<p>Finally, restart the Nagios services.<\/p>\n\n\n\n<p>&nbsp;If the verification step fails then the files will be discarded, if you check the line number in the file as it displays invalid as the temporary files has no longer exist.&nbsp;<\/p>\n\n\n\n<p>What to do when configuration verification failed in Nagios<\/p>\n\n\n\n<p>Follow the steps to force the config files to be written to disk.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First, open\u00a0<strong>>><\/strong>\u00a0CCM.<\/li>\n\n\n\n<li>Later, access Tools\u00a0<strong>>><\/strong>\u00a0Config File Management<\/li>\n\n\n\n<li>Then, click\u00a0<strong>>>\u00a0<\/strong>Delete Files button<strong>\u00a0>>\u00a0<\/strong>display \u201cSuccessfully deleted all Host\/Service Config Files\u201d<\/li>\n\n\n\n<li>Click<strong>\u00a0>>\u00a0<\/strong>Write Configs Button. It shows an output that contains all the files it creates.<\/li>\n\n\n\n<li>Click\u00a0<strong>>>\u00a0<\/strong>Verify Files button<\/li>\n\n\n\n<li>As a result, the output should end with the error message.<\/li>\n<\/ul>\n\n\n\n<p>Open an SSH to the Nagios XI server and then open the file in a text editor for further investigation.<\/p>\n\n\n\n<p><strong>Example Error:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Service has no hosts and\/or service_description (config file \u2018\/usr\/local\/nagios\/etc\/services\/centos01.cfg\u2019, starting on line 32)<\/code><\/pre>\n\n\n\n<p>Through this, we can determine that it is a config of service for centos01.<\/p>\n\n\n\n<p>For this problem, there is no host assign to the service, You need to update the service in the CCM by following the write and the verify steps above.<\/p>\n\n\n\n<p>For the different problem, there may be multiple config errors for various objects, repeat the process until the verify is successful.<\/p>\n\n\n\n<p>After the Verify is successful:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Quick Tools > Apply Configuration<\/li>\n\n\n\n<li>Click the Apply Configuration button<\/li>\n<\/ul>\n\n\n\n<p><strong>&nbsp;Conclusion<\/strong><\/p>\n\n\n\n<p>In short, follow the steps to solve Nagios problem. You can take our <a href=\"https:\/\/www.skynats.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span style=\"color:#026e9c\" class=\"has-inline-color\">technical team support<\/span><\/a> for further assistance in fixing Nagios errors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Need assistance to configuration verification failed in Nagios. Here is our technical team support will help you to fix the problem on your behalf under our server management services plan. Let&#8217;s dig deeper into the reason that caused configuration verification to fail in Nagios. Have a glance at one of our client report which displays [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,208,277,309,68],"tags":[102,25,26,310,72,22],"class_list":["post-6314","post","type-post","status-publish","format-standard","hentry","category-blog","category-centos-7","category-centos-8","category-nagios","category-server-management","tag-centos7","tag-cloud-management","tag-cloud-service-providers","tag-nagios","tag-server-management","tag-server-support"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Configuration verification failed in Nagios | Skynats<\/title>\n<meta name=\"description\" content=\"An error arises when he tries to apply a configuration to Nagios core. Monitoring engine configuration files have been rolled back to their\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuration verification failed in Nagios\" \/>\n<meta property=\"og:description\" content=\"An error arises when he tries to apply a configuration to Nagios core. Monitoring engine configuration files have been rolled back to their\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/\" \/>\n<meta property=\"og:site_name\" content=\"Server Management Services | Cloud Management | Skynats\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/skynats\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-09T08:25:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-11T12:13:27+00:00\" \/>\n<meta name=\"author\" content=\"Pooja V\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@skynatstech\" \/>\n<meta name=\"twitter:site\" content=\"@skynatstech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pooja V\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/configuration-verification-failed-in-nagios\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/configuration-verification-failed-in-nagios\\\/\"},\"author\":{\"name\":\"Pooja V\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/person\\\/030d5856dd5166055eecc07218d2455e\"},\"headline\":\"Configuration verification failed in Nagios\",\"datePublished\":\"2021-04-09T08:25:30+00:00\",\"dateModified\":\"2024-12-11T12:13:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/configuration-verification-failed-in-nagios\\\/\"},\"wordCount\":468,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\"},\"keywords\":[\"centos7\",\"cloud management\",\"cloud service providers\",\"nagios\",\"server management\",\"server support\"],\"articleSection\":[\"Blog\",\"CentOs 7\",\"CentOS 8\",\"Nagios\",\"server management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.skynats.com\\\/blog\\\/configuration-verification-failed-in-nagios\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/configuration-verification-failed-in-nagios\\\/\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/configuration-verification-failed-in-nagios\\\/\",\"name\":\"Configuration verification failed in Nagios | Skynats\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#website\"},\"datePublished\":\"2021-04-09T08:25:30+00:00\",\"dateModified\":\"2024-12-11T12:13:27+00:00\",\"description\":\"An error arises when he tries to apply a configuration to Nagios core. Monitoring engine configuration files have been rolled back to their\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/configuration-verification-failed-in-nagios\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.skynats.com\\\/blog\\\/configuration-verification-failed-in-nagios\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/configuration-verification-failed-in-nagios\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuration verification failed in Nagios\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\",\"name\":\"Server Management Services | Cloud Management | Skynats\",\"description\":\"Server Management and Cloud Management\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\",\"name\":\"Skynats Technologies\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Sknats-Logo-New-whole.png\",\"contentUrl\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Sknats-Logo-New-whole.png\",\"width\":989,\"height\":367,\"caption\":\"Skynats Technologies\"},\"image\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/skynats\",\"https:\\\/\\\/x.com\\\/skynatstech\",\"https:\\\/\\\/www.instagram.com\\\/skynatstech\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/skynats-technologies\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCvTAjrFJ4_E2MJKwlDHomlg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/person\\\/030d5856dd5166055eecc07218d2455e\",\"name\":\"Pooja V\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g\",\"caption\":\"Pooja V\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Configuration verification failed in Nagios | Skynats","description":"An error arises when he tries to apply a configuration to Nagios core. Monitoring engine configuration files have been rolled back to their","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:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/","og_locale":"en_US","og_type":"article","og_title":"Configuration verification failed in Nagios","og_description":"An error arises when he tries to apply a configuration to Nagios core. Monitoring engine configuration files have been rolled back to their","og_url":"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/","og_site_name":"Server Management Services | Cloud Management | Skynats","article_publisher":"https:\/\/www.facebook.com\/skynats","article_published_time":"2021-04-09T08:25:30+00:00","article_modified_time":"2024-12-11T12:13:27+00:00","author":"Pooja V","twitter_card":"summary_large_image","twitter_creator":"@skynatstech","twitter_site":"@skynatstech","twitter_misc":{"Written by":"Pooja V","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/#article","isPartOf":{"@id":"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/"},"author":{"name":"Pooja V","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/person\/030d5856dd5166055eecc07218d2455e"},"headline":"Configuration verification failed in Nagios","datePublished":"2021-04-09T08:25:30+00:00","dateModified":"2024-12-11T12:13:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/"},"wordCount":468,"commentCount":0,"publisher":{"@id":"https:\/\/www.skynats.com\/blog\/#organization"},"keywords":["centos7","cloud management","cloud service providers","nagios","server management","server support"],"articleSection":["Blog","CentOs 7","CentOS 8","Nagios","server management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/","url":"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/","name":"Configuration verification failed in Nagios | Skynats","isPartOf":{"@id":"https:\/\/www.skynats.com\/blog\/#website"},"datePublished":"2021-04-09T08:25:30+00:00","dateModified":"2024-12-11T12:13:27+00:00","description":"An error arises when he tries to apply a configuration to Nagios core. Monitoring engine configuration files have been rolled back to their","breadcrumb":{"@id":"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.skynats.com\/blog\/configuration-verification-failed-in-nagios\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.skynats.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Configuration verification failed in Nagios"}]},{"@type":"WebSite","@id":"https:\/\/www.skynats.com\/blog\/#website","url":"https:\/\/www.skynats.com\/blog\/","name":"Server Management Services | Cloud Management | Skynats","description":"Server Management and Cloud Management","publisher":{"@id":"https:\/\/www.skynats.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.skynats.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.skynats.com\/blog\/#organization","name":"Skynats Technologies","url":"https:\/\/www.skynats.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2021\/08\/Sknats-Logo-New-whole.png","contentUrl":"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2021\/08\/Sknats-Logo-New-whole.png","width":989,"height":367,"caption":"Skynats Technologies"},"image":{"@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/skynats","https:\/\/x.com\/skynatstech","https:\/\/www.instagram.com\/skynatstech\/","https:\/\/www.linkedin.com\/company\/skynats-technologies","https:\/\/www.youtube.com\/channel\/UCvTAjrFJ4_E2MJKwlDHomlg"]},{"@type":"Person","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/person\/030d5856dd5166055eecc07218d2455e","name":"Pooja V","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g","caption":"Pooja V"}}]}},"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/6314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=6314"}],"version-history":[{"count":0,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/6314\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=6314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=6314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=6314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}