{"id":633,"date":"2017-04-20T08:31:37","date_gmt":"2017-04-20T08:31:37","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2017\/04\/20\/starting-and-stopping-nagios-core\/"},"modified":"2021-02-27T09:49:35","modified_gmt":"2021-02-27T09:49:35","slug":"starting-and-stopping-nagios-core","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/","title":{"rendered":"How to Start and Stop Nagios Core | Nagios Tutorial"},"content":{"rendered":"<div><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2919 aligncenter\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/04\/starting-and-stopping-nagio.png\" alt=\"starting-and-stopping-nagios-core\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/04\/starting-and-stopping-nagio.png 600w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/04\/starting-and-stopping-nagio-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/div>\n<div><\/div>\n<div><strong>Starting Nagios Core<\/strong><\/div>\n<div><\/div>\n<div><strong>Init Script:<\/strong> The easiest way to start the Nagios Core daemon is by using the init script like so:<\/div>\n<div>\/etc\/rc.d\/init.d\/nagios start<\/div>\n<div><\/div>\n<div><strong>Manually:<\/strong> You can start the Nagios daemon manually with the -d command line option like so:<\/div>\n<div>\/usr\/local\/nagios\/bin\/nagios -d \/usr\/local\/nagios\/etc\/nagios.cfg<\/div>\n<div><\/div>\n<div><strong>Restarting Nagios Core<\/strong><\/div>\n<div><\/div>\n<div>Restarting\/reloading is nececessary when you modify your configuration files and want those changes to take effect.<\/div>\n<div><\/div>\n<div><strong>Init Script:<\/strong> The easiest way to restart the Nagios Core daemon is by using the init script like so:<\/div>\n<div>\/etc\/rc.d\/init.d\/nagios reload<\/div>\n<div><\/div>\n<div><strong>Web Interface:<\/strong> You can restart the Nagios Core through the web interface by clicking the &#8220;Process Info&#8221; navigation link and selecting &#8220;Restart the Nagios process&#8221;:<\/div>\n<div><\/div>\n<div><strong>Manually:<\/strong> You can restart the Nagios Core process by sending it a SIGHUP signal like so:<\/div>\n<div>kill -HUP &lt;nagios_pid&gt;<\/div>\n<div><\/div>\n<div><strong>Stopping Nagios Core<\/strong><\/div>\n<div><\/div>\n<div><strong>Init Script:<\/strong> The easiest way to stop the Nagios Core daemon is by using the init script like so:<\/div>\n<div>\/etc\/rc.d\/init.d\/nagios stop<\/div>\n<div><\/div>\n<div><strong>Web Interface:<\/strong> You can stop the Nagios Core through the web interface by clicking the &#8220;Process Info&#8221; navigation link and selecting &#8220;Shutdown the Nagios process&#8221;:<\/div>\n<div><\/div>\n<div><strong>Manually:<\/strong> You can stop the Nagios Core process by sending it a SIGTERM signal like so:<\/div>\n<div>kill &lt;nagios_pid&gt;<\/div>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Starting Nagios Core Init Script: The easiest way to start the Nagios Core daemon is by using the init script [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2919,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[84,539],"tags":[378,545,721,722,724,723,725,729,728,719,726,720,727],"class_list":["post-633","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it-infrastructure-monitoring-tools","category-network","tag-commands","tag-how","tag-nagios","tag-nagios-core","tag-nagios-guide","tag-nagios-tutorial","tag-network-monitoring","tag-restart","tag-restarting-nagios-core","tag-start","tag-starting-nagios-core","tag-stop","tag-stopping-nagios-core"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Start and Stop Nagios Core | Nagios Tutorial - scmGalaxy<\/title>\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.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Start and Stop Nagios Core | Nagios Tutorial - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Starting Nagios Core Init Script: The easiest way to start the Nagios Core daemon is by using the init script [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-20T08:31:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:49:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/04\/starting-and-stopping-nagio.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"How to Start and Stop Nagios Core | Nagios Tutorial\",\"datePublished\":\"2017-04-20T08:31:37+00:00\",\"dateModified\":\"2021-02-27T09:49:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/\"},\"wordCount\":234,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/starting-and-stopping-nagio.png\",\"keywords\":[\"commands\",\"How\",\"Nagios\",\"Nagios Core\",\"Nagios Guide\",\"Nagios Tutorial\",\"Network monitoring\",\"Restart\",\"Restarting Nagios Core\",\"Start\",\"Starting Nagios Core\",\"Stop\",\"Stopping Nagios Core\"],\"articleSection\":[\"IT Infrastructure Monitoring Tools\",\"Network\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/\",\"name\":\"How to Start and Stop Nagios Core | Nagios Tutorial - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/starting-and-stopping-nagio.png\",\"datePublished\":\"2017-04-20T08:31:37+00:00\",\"dateModified\":\"2021-02-27T09:49:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/starting-and-stopping-nagio.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/starting-and-stopping-nagio.png\",\"width\":600,\"height\":400,\"caption\":\"starting-and-stopping-nagios-core\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/starting-and-stopping-nagios-core\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Start and Stop Nagios Core | Nagios Tutorial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Start and Stop Nagios Core | Nagios Tutorial - scmGalaxy","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.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/","og_locale":"en_US","og_type":"article","og_title":"How to Start and Stop Nagios Core | Nagios Tutorial - scmGalaxy","og_description":"Starting Nagios Core Init Script: The easiest way to start the Nagios Core daemon is by using the init script [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/","og_site_name":"scmGalaxy","article_published_time":"2017-04-20T08:31:37+00:00","article_modified_time":"2021-02-27T09:49:35+00:00","og_image":[{"width":600,"height":400,"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/04\/starting-and-stopping-nagio.png","type":"image\/png"}],"author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"How to Start and Stop Nagios Core | Nagios Tutorial","datePublished":"2017-04-20T08:31:37+00:00","dateModified":"2021-02-27T09:49:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/"},"wordCount":234,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/04\/starting-and-stopping-nagio.png","keywords":["commands","How","Nagios","Nagios Core","Nagios Guide","Nagios Tutorial","Network monitoring","Restart","Restarting Nagios Core","Start","Starting Nagios Core","Stop","Stopping Nagios Core"],"articleSection":["IT Infrastructure Monitoring Tools","Network"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/","name":"How to Start and Stop Nagios Core | Nagios Tutorial - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/04\/starting-and-stopping-nagio.png","datePublished":"2017-04-20T08:31:37+00:00","dateModified":"2021-02-27T09:49:35+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/04\/starting-and-stopping-nagio.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2017\/04\/starting-and-stopping-nagio.png","width":600,"height":400,"caption":"starting-and-stopping-nagios-core"},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/starting-and-stopping-nagios-core\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Start and Stop Nagios Core | Nagios Tutorial"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=633"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/633\/revisions"}],"predecessor-version":[{"id":2920,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/633\/revisions\/2920"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media\/2919"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}