{"id":3425,"date":"2014-04-08T07:08:12","date_gmt":"2014-04-08T12:08:12","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=3425"},"modified":"2022-06-03T03:47:00","modified_gmt":"2022-06-03T08:47:00","slug":"how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/","title":{"rendered":"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg\"><img decoding=\"async\" class=\"size-medium wp-image-2384 alignleft\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services-300x257.jpg\" alt=\"install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services\" width=\"300\" height=\"257\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services-300x257.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg 320w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>The following article guides through the steps of<strong> installing and configuring <a href=\"http:\/\/www.nagios.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Nagios3<\/a> and <a href=\"https:\/\/checkmk.com\" target=\"_blank\" rel=\"noopener noreferrer\">Check_MK<\/a> on a <a title=\"Ubuntu VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 12.04 LTS VPS<\/a><\/strong>.<\/p>\n<p>Once deployed, you will be able to monitor your <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">virtual servers<\/a> and the services running on them.<\/p>\n<p><strong>Nagios3<\/strong> is a robust and very powerful monitoring system, which in combination with<strong> Check_MK<\/strong> will provide you with a nice and easy way to monitor your <strong>virtual servers<\/strong> and services.<\/p>\n<p><!--more--><\/p>\n<h3><strong>UPDATE THE SYSTEM<\/strong><\/h3>\n<p>Make sure you are in a screen session and check if your <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a> is fully up-to-date by running:<\/p>\n<pre>## screen -U -S nagios-check-mk\r\n## apt-get update\r\n## apt-get upgrade<\/pre>\n<h3><strong>INSTALL DEPENDENCIES<\/strong><\/h3>\n<p>Install some required <i>(useful)<\/i> packages on the system using <code>apt<\/code><\/p>\n<pre>## apt-get install dialog xinetd build-essential apache2 libapache2-mod-python<\/pre>\n<h3><strong>INSTALL NAGIOS<\/strong><\/h3>\n<p>Install Nagios and Nagios NRPE (Nagios Remote Plugin Executor) Plugins on your <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a> by running<\/p>\n<pre>## apt-get install nagios3 nagios-nrpe-plugin<\/pre>\n<p>you should be prompted to enter your nagiosadmin user&#8217;s password as shown below<\/p>\n<p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/nagios-admin-password.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-2386\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/nagios-admin-password-300x45.png\" alt=\"Nagios Admin Password Prompt\" width=\"300\" height=\"45\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/nagios-admin-password-300x45.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/nagios-admin-password-1024x154.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/nagios-admin-password-600x90.png 600w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/nagios-admin-password-624x94.png 624w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/nagios-admin-password.png 1225w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>if for some reason you&#8217;re not, then use the following command to set your nagiosadmin user&#8217;s password:<\/p>\n<pre>## htpasswd -c \/etc\/nagios3\/htpasswd.users nagiosadmin<\/pre>\n<p>proceed with adding Apache&#8217;s <code>www-data<\/code> user to the <code>nagios<\/code> group:<\/p>\n<pre>## usermod -a -G nagios www-data<\/pre>\n<p>edit Nagios3 configuration file in <code>\/etc\/nagios3\/nagios.cfg<\/code> and enable external commands by setting <code>check_external_commands<\/code> from 0 to 1:<\/p>\n<pre>## vim +\/check_external_commands \/etc\/nagios3\/nagios.cfg<\/pre>\n<p>restart Nagios and Apache<\/p>\n<pre>## service apache2 restart\r\n## service nagios3 restart<\/pre>\n<h3><strong>INSTALL CHECK_MK<\/strong><\/h3>\n<p>At the time of writing this article, the latest version of <code>check_mk<\/code> is <code>ver 1.2.4<\/code>. Make sure you check <a href=\"https:\/\/checkmk.com\/download.php\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> if a newer version is available.<\/p>\n<pre>## cd \/opt\r\n## ver=1.2.4\r\n## wget http:\/\/mathias-kettner.com\/download\/check_mk-${ver}.tar.gz\r\n## tar -zxf check_mk-${ver}.tar.gz\r\n## cd check_mk-${ver}<\/pre>\n<p>run the installer by executing the <code>setup.sh<\/code> script<\/p>\n<pre>## .\/setup.sh<\/pre>\n<p>once the installation is completed, check if <code>check_mk<\/code> is installed on the system using:<\/p>\n<pre>## check_mk --version<\/pre>\n<h3><strong>RESTART SERVICES<\/strong><\/h3>\n<p>Restart the Apache webserver and the Nagios monitoring system using the following commands:<\/p>\n<pre>## service nagios3 restart\r\n## service apache2 restart<\/pre>\n<hr \/>\n<h3><strong>INSTALL CHECK_MK AGENT<\/strong><\/h3>\n<p>In order to be able to monitor other servers, you need to install an agent which will communicate with the check_mk server. The easiest way to test the set-up is to install an agent on the Nagios server itself, so since this is an Ubuntu based <strong>virtual server<\/strong>, download the latest version of the agent from <a href=\"https:\/\/checkmk.com\/download.php\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> and install it using:<\/p>\n<pre>## wget -P \/tmp http:\/\/mathias-kettner.com\/download\/check-mk-agent_1.2.4-2_all.deb\r\n## dpkg -i \/tmp\/check-mk-agent_1.2.4-2_all.deb<\/pre>\n<p>edit agent&#8217;s configuration file in <code>\/etc\/xinetd.d\/check_mk<\/code> and set the following:<\/p>\n<pre>## vim \/etc\/xinetd.d\/check_mk\r\nonly_from       = &lt;YOUR_NAGIOS_IP&gt;<\/pre>\n<p>restart <code>xinetd<\/code> for the change to take effect<\/p>\n<pre>## service xinetd restart<\/pre>\n<hr \/>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS hosting<\/a> services, in which case you can simply ask our expert linux admins to install Nagios and Check_MK on your server for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong> <\/span>If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following article guides through the steps of installing and configuring Nagios3 and Check_MK on a Ubuntu 12.04 LTS VPS. &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/#more-3425\" aria-label=\"Read more about How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":2384,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1704,1703,13],"tags":[425,177,324,317,59],"class_list":["post-3425","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-optimization","category-security","category-tutorials","tag-check_mk","tag-linux-vps","tag-monitoring","tag-nagios","tag-ubuntu","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS | RoseHosting\" \/>\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.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS\" \/>\n<meta property=\"og:description\" content=\"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2014-04-08T12:08:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:47:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"320\" \/>\n\t<meta property=\"og:image:height\" content=\"275\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\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:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS\",\"datePublished\":\"2014-04-08T12:08:12+00:00\",\"dateModified\":\"2022-06-03T08:47:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/\"},\"wordCount\":417,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/10\\\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg\",\"keywords\":[\"check_mk\",\"linux vps\",\"monitoring\",\"nagios\",\"ubuntu\"],\"articleSection\":[\"Optimization\",\"Security\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/\",\"name\":\"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/10\\\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg\",\"datePublished\":\"2014-04-08T12:08:12+00:00\",\"dateModified\":\"2022-06-03T08:47:00+00:00\",\"description\":\"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/10\\\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/10\\\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg\",\"width\":320,\"height\":275,\"caption\":\"install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS | RoseHosting","description":"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS | RoseHosting","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.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS","og_description":"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-04-08T12:08:12+00:00","article_modified_time":"2022-06-03T08:47:00+00:00","og_image":[{"width":320,"height":275,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS","datePublished":"2014-04-08T12:08:12+00:00","dateModified":"2022-06-03T08:47:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/"},"wordCount":417,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg","keywords":["check_mk","linux vps","monitoring","nagios","ubuntu"],"articleSection":["Optimization","Security","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/","name":"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg","datePublished":"2014-04-08T12:08:12+00:00","dateModified":"2022-06-03T08:47:00+00:00","description":"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/10\/install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services.jpg","width":320,"height":275,"caption":"install-nagios3-on-ubuntu-13-10-vps-for-monitoring-virtual-servers-and-services"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nagios3-and-check_mk-on-an-ubuntu-12-04-lts-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=3425"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3425\/revisions"}],"predecessor-version":[{"id":42225,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3425\/revisions\/42225"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/2384"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=3425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=3425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=3425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}