{"id":20199,"date":"2016-09-19T07:53:33","date_gmt":"2016-09-19T12:53:33","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=20199"},"modified":"2022-06-03T03:42:39","modified_gmt":"2022-06-03T08:42:39","slug":"install-icinga-2-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/","title":{"rendered":"Install Icinga 2 on Ubuntu 16.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"size-full wp-image-24093 alignnone\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg\" alt=\"Install Icinga 2 on Ubuntu 16.04\" width=\"1200\" height=\"600\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg 1200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04-768x384.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04-1024x512.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04-860x430.jpg 860w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04-680x340.jpg 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04-500x250.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04-400x200.jpg 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04-200x100.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04-50x25.jpg 50w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>We&#8217;ll show you, how to install Icinga 2 on Ubuntu 16.04. Icinga 2 is an open source network monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting. Icinga 2 is scalable and extensible and it can monitor large, complex environments across multiple locations. Installing\u00a0Icinga 2 on Ubuntu 16.04 is an easy task, follow our tutorial bellow and you should have it installed and configured in less then 15 min<!--more--><\/p>\n<p>It supports Graphite and InfluxDB natively which thanks to a direct TCP connection, you can enjoy real-time performance graphing with little system load.<\/p>\n<p>The Icinga 2 branch is constantly in development with the below design goals set:<\/p>\n<ul>\n<li>Code quality<\/li>\n<li>Interoperability with external interfaces<\/li>\n<li>Scalability<\/li>\n<li>Clear-cut, object-based configuration<\/li>\n<li>Intelligent checks and commands &amp; agent-based checks<\/li>\n<li>Dynamic notifications<\/li>\n<li>Business processes out of the box<\/li>\n<\/ul>\n<p>In this article, we will install and configure Icinga 2 with a web interface on a <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\">Ubuntu 16.04 VPS<\/a>. We assume that you have a <strong>LAMP (Apache, MySQL, PHP)<\/strong> stack installed on your server. This tutorial is written for Ubuntu 16.04 and it should work on other Debian-based distros too. We have another <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-icinga-network-monitoring-system-on-a-centos-7-vps\/\">tutorial on how to install Icinga on CentOS<\/a>.<\/p>\n<h4>REQUIREMENTS<\/h4>\n<p>We will be using our SSD 1 <a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\">Linux VPS hosting<\/a> plan for this tutorial.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_1 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69c3ffa33f308\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69c3ffa33f308\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#1-LOG-IN-TO-YOUR-SERVER-VIA-SSH\" >1. LOG IN TO YOUR SERVER VIA SSH<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#2-UPDATE-THE-SYSTEM\" >2. UPDATE THE SYSTEM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#3-Install-Icinga-2\" >3. Install Icinga 2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#4-Enable-Icinga-2\" >4. Enable Icinga 2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#5-Install-IDO-Modul\" >5. Install IDO Modul<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#6-Install-Web2-Plugin\" >6. Install Web2 Plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#7-Configure-Monitoring-Module\" >7. Configure Monitoring Module<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-LOG-IN-TO-YOUR-SERVER-VIA-SSH\"><\/span>1. LOG IN TO YOUR SERVER VIA SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre># ssh root@server_ip<\/pre>\n<p>You can check whether you have the proper Ubuntu version installed on your server with the following command:<\/p>\n<pre># lsb_release -a<\/pre>\n<p>You should get this output:<\/p>\n<pre>Distributor ID: Ubuntu\nDescription:    Ubuntu 16.04.1 LTS\nRelease:        16.04\nCodename:       xenial<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2-UPDATE-THE-SYSTEM\"><\/span>2. UPDATE THE SYSTEM<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Make sure your server is fully up to date using:<\/p>\n<pre># apt update &amp;&amp; apt upgrade<\/pre>\n<p>Enable the add-repository feature and add the repository for Icinga with the below commands:<\/p>\n<pre># apt install software-properties-common\n\n# add-apt-repository ppa:formorer\/icinga<\/pre>\n<p>Update the package index:<\/p>\n<pre># apt update<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"3-Install-Icinga-2\"><\/span>3. Install Icinga 2<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre># apt install icinga2<\/pre>\n<p>Once the installation is completed you should check whether Icinga 2 is working:<\/p>\n<pre># systemctl status icinga2.service<\/pre>\n<p>after which you should get the below output:<\/p>\n<pre>\u25cf icinga2.service - LSB: icinga2 host\/service\/network monitoring and management system\n   Loaded: loaded (\/etc\/init.d\/icinga2; bad; vendor preset: enabled)\n   Active: <span style=\"color: #008000;\">active (running)<\/span> since Sat 2016-09-17 15:05:41 UTC; 28s ago\n     Docs: man:systemd-sysv-generator(8)\n   CGroup: \/system.slice\/icinga2.service\n           \u2514\u250028794 \/usr\/lib\/x86_64-linux-gnu\/icinga2\/sbin\/icinga2 --no-stack-rlimit daemon -d -e \/var\/log\/icinga2\/icinga2.err\n\nSep 17 15:05:40 vps systemd[1]: Starting LSB: icinga2 host\/service\/network monitoring and management system...\nSep 17 15:05:40 vps icinga2[28739]:  * checking Icinga2 configuration\nSep 17 15:05:40 vps icinga2[28739]:    ...done.\nSep 17 15:05:40 vps icinga2[28739]:  * Starting icinga2 monitoring daemon icinga2\nSep 17 15:05:41 vps icinga2[28739]:    ...done.\nSep 17 15:05:41 vps systemd[1]: Started LSB: icinga2 host\/service\/network monitoring and management system.<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4-Enable-Icinga-2\"><\/span>4. Enable Icinga 2<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Enable Icinga 2 to start on boot:<\/p>\n<pre># systemctl enable icinga2.service<\/pre>\n<p>Icinga 2 has the following features enabled by default:<\/p>\n<pre>- checker;\n- mainlog;\n- notification.<\/pre>\n<p>Furthermore, you can check the enabled and disabled features with:<\/p>\n<pre># icinga2 feature list<\/pre>\n<p>Icinga 2 collects service info based on the monitoring plugins which are not installed. You can remedy this by installing them with:<\/p>\n<pre># apt install nagios-plugins<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5-Install-IDO-Modul\"><\/span>5. Install IDO Modul<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Next, you need to install the IDO module which is crucial for the Icinga 2 web interface. It will export all configuration and status information into its database. Execute the following command:<\/p>\n<pre># apt install icinga2-ido-mysql<\/pre>\n<p>During the installation, you will be asked whether you would like the database to be configured. It is totally up to you but for the sake of avoiding the later database creation for the module, you should choose for <strong>dbconfig-common<\/strong> to configure the database.<\/p>\n<p>Once the installation is finished, enable the module:<\/p>\n<pre># icinga2 feature enable ido-mysql<\/pre>\n<p>Then restart Icinga 2 for the changes to take effect.<\/p>\n<pre># systemctl restart icinga2.service<\/pre>\n<p>You can check the database credentials you&#8217;ve set from the <strong>ido-mysql.conf<\/strong> file or in command terms:<\/p>\n<pre># cat \/etc\/icinga2\/features-enabled\/ido-mysql.conf<\/pre>\n<p>OK. We&#8217;ve now installed Icinga 2 and enabled some modules. What everyone is probably asking is: Do I have some kind of GUI\/web access to Icinga 2?<\/p>\n<h2><span class=\"ez-toc-section\" id=\"6-Install-Web2-Plugin\"><\/span>6. Install Web2 Plugin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Not yet. And for that to be enabled we will install the Web2 plugin. That can be done using the underneath command:<\/p>\n<pre># apt-get install icingaweb2<\/pre>\n<p>Once the installation is complete, enter your MySQL service as root and create a database for the web interface:<\/p>\n<pre># mysql -u root -p\n\nmysql&gt; create database icingaweb;\n\nmysql&gt; grant all privileges on icingaweb.* to icingaweb@localhost identified by 'your_password';\n\nmysql&gt; flush privileges;\n\nmysql&gt; exit<\/pre>\n<p>Now finish the Web2 plugin installation and configuration by opening your web browser and navigating to: <strong>http:\/\/your_server_IP\/icingaweb2\/setup<\/strong>.<\/p>\n<p>You will be welcomed by the configuration page as shown as in the below picture:<\/p>\n<p><img decoding=\"async\" class=\"alignleft wp-image-20201\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_config.png\" alt=\"icinga_config\" width=\"750\" height=\"350\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_config.png 1858w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_config-300x140.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_config-768x358.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_config-1024x478.png 1024w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>The wizard is pretty straightforward and your next step is to generate a setup token. As the instructions indicate, on your server execute:<\/p>\n<pre># icingacli setup config directory --group icingaweb2;\n\n# icingacli setup token create;<\/pre>\n<p>Copy the token and paste it in the &#8216;<strong>Setup Token<\/strong>&#8216; field and click on <strong>Next<\/strong>.<\/p>\n<p>In the following window, you can select which module to be enabled. Monitoring is enabled by default, but the others are not. Once you are done click <strong>Next<\/strong>.<\/p>\n<p>You are now in the requirements page where the installation is verifying your PHP settings. You should configure your PHP timezone setting and install the missing modules, if any. Then after meeting the required settings, click <strong>Next<\/strong>.<\/p>\n<p>Now you can choose the authentication method. Leave it to <strong>Database<\/strong> and proceed to the next step. Now fill out the database details that you created for the web interface previously. Click on <strong>Nex<\/strong>t and then setup your <strong>Backend Name<\/strong> accordingly. Once done, you&#8217;ve guessed it, click on <strong>Next<\/strong> again.<\/p>\n<p>The follow-up window is for the configuration of your first administrative user for Icinga Web 2. Enter your username and password and proceed.<\/p>\n<p>Next, setup your application configuration options to fit your needs.<\/p>\n<p>In the following window all your settings are reviewed and if you&#8217;re ok with what you&#8217;ve configured so far, proceed further.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"7-Configure-Monitoring-Module\"><\/span>7. Configure Monitoring Module<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Next step is to configure the monitoring module. The Icinga 2 IDO module should be selected and then properly configure the database settings.<\/p>\n<p>You should enter the database credentials that you configured previously during the installation of the IDO module. If you do not recall the settings, check them from the <strong>ido-mysql.conf<\/strong> file:<\/p>\n<pre># cat \/etc\/icinga2\/features-enabled\/ido-mysql.conf<\/pre>\n<p>Once you are done click on <strong>Next<\/strong> and then choose the transport type, name and command file accordingly. You should go with the default ones, but it is totally up to you.<\/p>\n<p>Proceed and then click on <strong>Next<\/strong> from the Monitoring Security window.<\/p>\n<p>Review the Monitoring module config and proceed if you are satisfied with the settings you&#8217;ve configured.<\/p>\n<p>Once you click on Next, you should be welcomed by the finished installation window as the picture below:<\/p>\n<p><img decoding=\"async\" class=\"alignleft wp-image-20202\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_finish.png\" alt=\"icinga_finish\" width=\"720\" height=\"210\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_finish.png 1843w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_finish-300x88.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_finish-768x224.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_finish-1024x299.png 1024w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/p>\n<p>Click on <strong>Login to Icinga Web 2<\/strong> and log into your newly installed Icinga 2 web interface with the credentials you&#8217;ve configured previously:<\/p>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-20203\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_login.png\" alt=\"icinga_login\" width=\"364\" height=\"515\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_login.png 364w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/icinga_login-212x300.png 212w\" sizes=\"(max-width: 364px) 100vw, 364px\" \/><\/p>\n<p>Congratulations. You successfully installed and configured Icinga 2 with a web interface on your Ubuntu 16.04 server. For further Icinga 2 tweaks and information, you should check their official <a href=\"https:\/\/icinga.com\/learn\/#docs\">documentation<\/a>.<\/p>\n<p>Of course, you don\u2019t have to\u00a0Install Icinga 2 on Ubuntu 16.04 if you use one of our <a href=\"https:\/\/www.rosehosting.com\/icinga-hosting.html\">Icinga VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install and configure Icinga 2 on Ubuntu 16.04. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\">PS.<\/span> If you liked this post, on how to install Icinga 2 on Ubuntu 16.04, 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>We&#8217;ll show you, how to install Icinga 2 on Ubuntu 16.04. Icinga 2 is an open source network monitoring system &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Install Icinga 2 on Ubuntu 16.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#more-20199\" aria-label=\"Read more about Install Icinga 2 on Ubuntu 16.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":24093,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1701,13,1698],"tags":[540,500,1373,1221],"class_list":["post-20199","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-networking-and-domains","category-tutorials","category-ubuntu","tag-icinga","tag-network-monitoring","tag-service-monitoring","tag-ubuntu-16-04","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.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Install Icinga 2 on Ubuntu 16.04<\/title>\n<meta name=\"description\" content=\"How to Install Icinga 2 on Ubuntu 16.04? Installing Icinga 2 on Ubuntu is an easy task if you carefully follow our tutorial below, you should be done in 15 min.\" \/>\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\/install-icinga-2-on-ubuntu-16-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Icinga 2 on Ubuntu 16.04\" \/>\n<meta property=\"og:description\" content=\"Install Icinga 2 on Ubuntu 16.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/\" \/>\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=\"2016-09-19T12:53:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:42:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\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=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Install Icinga 2 on Ubuntu 16.04\",\"datePublished\":\"2016-09-19T12:53:33+00:00\",\"dateModified\":\"2022-06-03T08:42:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/\"},\"wordCount\":1041,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg\",\"keywords\":[\"icinga\",\"network monitoring\",\"service monitoring\",\"ubuntu 16.04\"],\"articleSection\":[\"Networking and Domains\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/\",\"name\":\"Install Icinga 2 on Ubuntu 16.04\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg\",\"datePublished\":\"2016-09-19T12:53:33+00:00\",\"dateModified\":\"2022-06-03T08:42:39+00:00\",\"description\":\"How to Install Icinga 2 on Ubuntu 16.04? Installing Icinga 2 on Ubuntu is an easy task if you carefully follow our tutorial below, you should be done in 15 min.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#primaryimage\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg\",\"width\":1200,\"height\":600,\"caption\":\"Install Icinga 2 on Ubuntu 16.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.rosehosting.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Icinga 2 on Ubuntu 16.04\"}]},{\"@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":"Install Icinga 2 on Ubuntu 16.04","description":"How to Install Icinga 2 on Ubuntu 16.04? Installing Icinga 2 on Ubuntu is an easy task if you carefully follow our tutorial below, you should be done in 15 min.","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\/install-icinga-2-on-ubuntu-16-04\/","og_locale":"en_US","og_type":"article","og_title":"Install Icinga 2 on Ubuntu 16.04","og_description":"Install Icinga 2 on Ubuntu 16.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2016-09-19T12:53:33+00:00","article_modified_time":"2022-06-03T08:42:39+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.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":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Install Icinga 2 on Ubuntu 16.04","datePublished":"2016-09-19T12:53:33+00:00","dateModified":"2022-06-03T08:42:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/"},"wordCount":1041,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg","keywords":["icinga","network monitoring","service monitoring","ubuntu 16.04"],"articleSection":["Networking and Domains","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/","url":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/","name":"Install Icinga 2 on Ubuntu 16.04","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg","datePublished":"2016-09-19T12:53:33+00:00","dateModified":"2022-06-03T08:42:39+00:00","description":"How to Install Icinga 2 on Ubuntu 16.04? Installing Icinga 2 on Ubuntu is an easy task if you carefully follow our tutorial below, you should be done in 15 min.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/09\/install-Icinga-2-on-Ubuntu-16.04.jpg","width":1200,"height":600,"caption":"Install Icinga 2 on Ubuntu 16.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-icinga-2-on-ubuntu-16-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Icinga 2 on Ubuntu 16.04"}]},{"@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\/20199","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=20199"}],"version-history":[{"count":2,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/20199\/revisions"}],"predecessor-version":[{"id":39503,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/20199\/revisions\/39503"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/24093"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=20199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=20199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=20199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}