{"id":1019,"date":"2019-09-12T08:01:18","date_gmt":"2019-09-12T13:01:18","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1019"},"modified":"2019-09-12T08:01:18","modified_gmt":"2019-09-12T13:01:18","slug":"how-to-install-icinga-2-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/","title":{"rendered":"How to Install Icinga 2 on Ubuntu 18.04"},"content":{"rendered":"<p>In this tutorial, you will learn how to install Icinga 2 and Icinga Web 2 and all their necessary components on an <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">Ubuntu 18.04 Cloud VPS<\/a>.<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-1023\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/configuration-install-guide-icinga2-monitoring-software-ubuntu18.04-cloud-vps.jpg\" alt=\"\" width=\"150\" height=\"150\" \/>Icinga 2 is a free and open-source server monitoring system. It helps its users to check the availability of their network resources, notifies them about outages, and generates performance data which allows reports to be created.<\/p>\n<p><!--more--><\/p>\n<h3><strong>Features:<\/strong><\/h3>\n<ul>\n<li>Different types of logging: File logging, Syslog and Console logging<\/li>\n<li>External command pipe for processing commands triggering specific actions<\/li>\n<li>Performance data<\/li>\n<li>Clear-cut, object-based configuration<\/li>\n<li>Dynamic notifications<\/li>\n<li>Elasticsearch Writer<\/li>\n<\/ul>\n<h3><strong>Prerequisites:<\/strong><\/h3>\n<ul>\n<li>VPS with Ubuntu 18.04 OS template<\/li>\n<li>System user with root privileges<\/li>\n<\/ul>\n<h3><strong>Step 1. Log in to your server via SSH<\/strong><\/h3>\n<p>In order to start with the installation, we have to login to the Ubuntu 18.04 VPS via SSH as user root<\/p>\n<pre>ssh root@&lt;span style=&quot;color: #ff0000;&quot;&gt;IP_Address&lt;\/span&gt; -p &lt;span style=&quot;color: #ff0000;&quot;&gt;Port_number&lt;\/span&gt;<\/pre>\n<p>where <span style=\"color: #ff0000;\">IP_Address<\/span> and <span style=\"color: #ff0000;\">Port_number<\/span> are the actual IP address and SSH port number of your server.<\/p>\n<h3><strong>Step 2. Update theServer<\/strong><\/h3>\n<p>Once you are logged in, run the following command to make sure that all installed packages are updated to the latest available version:<\/p>\n<pre>apt update &amp;&amp; apt upgrade<\/pre>\n<h3><strong>Step 3. Install Icinga 2<\/strong><\/h3>\n<p>The preferred way of installing Icinga 2 is by using their official package repositories for the appropriate operating system. In our case we will use the repositories for Ubuntu. By installing Icinga using this method, we will always have the latest available version of Icinga 2 maintained by their team.<\/p>\n<p>First, we&#8217;ll need to install CURL and the API transport packages, which are necessary for downloading files via the HTTP Secure protocol:<\/p>\n<pre>apt install -y apt-transport-https curl<\/pre>\n<p>Next, add the Icinga 2 public signing key and official repository to your server.<\/p>\n<pre>wget -O - https:\/\/packages.icinga.com\/icinga.key | apt-key add -\r\n\r\nDIST=$(awk -F&quot;[)(]+&quot; &#039;\/VERSION=\/ {print $2}&#039; \/etc\/os-release); \\\r\n echo &quot;deb https:\/\/packages.icinga.com\/raspbian icinga-${DIST} main&quot; &gt; \\\r\n \/etc\/apt\/sources.list.d\/icinga.list\r\n echo &quot;deb-src https:\/\/packages.icinga.com\/raspbian icinga-${DIST} main&quot; &gt;&gt; \\\r\n \/etc\/apt\/sources.list.d\/icinga.list<\/pre>\n<p>Update the repositories list again:<\/p>\n<pre>apt update<\/pre>\n<p>We can now install Icinga 2 using the apt package manager:<\/p>\n<pre>apt -y install icinga2<\/pre>\n<p>Once the installation is complete, you can issue the following command to check the Icinga 2 version, currently it is version r2.10.4-1 (at the time of writing this tutorial). Additionally, we get several other useful types of information about the monitoring tool and the server configuration:<\/p>\n<pre>icinga2 --version<\/pre>\n<p>Output:<\/p>\n<pre>icinga2 - The Icinga 2 network monitoring daemon (version: r2.10.4-1)\r\n\r\nCopyright (c) 2012-2019 Icinga GmbH (https:\/\/icinga.com\/)\r\nLicense GPLv2+: GNU GPL version 2 or later &lt;http:\/\/gnu.org\/licenses\/gpl2.html&gt;\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.\r\n\r\nSystem information:\r\n  Platform: Ubuntu\r\n  Platform version: 18.04.2 LTS (Bionic Beaver)\r\n  Kernel: Linux\r\n  Kernel version: 4.15.0-39-generic\r\n  Architecture: x86_64<\/pre>\n<p>Here are the commands for Systemd to start Icinga 2 as well as enable the service to automatically start on server boot:<\/p>\n<pre>systemctl start icinga2\r\nsystemctl enable icinga2<\/pre>\n<p>To make sure that the service is up and running, check its status using the following command:<\/p>\n<pre>systemctl status icinga2<\/pre>\n<p>Output:<\/p>\n<pre>icinga2.service - Icinga host\/service\/network monitoring system\r\n   Loaded: loaded (\/lib\/systemd\/system\/icinga2.service; enabled; vendor preset: enabled)\r\n  Drop-In: \/etc\/systemd\/system\/icinga2.service.d\r\n           \u00e2\u00e2limits.conf\r\n   Active: active (running) since Sun 2019-05-12 04:05:06 CDT; 31min ago\r\n Main PID: 31825 (icinga2)\r\n    Tasks: 8\r\n   CGroup: \/system.slice\/icinga2.service\r\n           \u00e2\u00e231825 \/usr\/lib\/x86_64-linux-gnu\/icinga2\/sbin\/icinga2 --no-stack-rlimit daemon --close-stdio -e \/var\/log\/icinga2\/error.log\r\n           \u00e2\u00e231859 \/usr\/lib\/x86_64-linux-gnu\/icinga2\/sbin\/icinga2 --no-stack-rlimit daemon --close-stdio -e \/var\/log\/icinga2\/error.log\r\n<\/pre>\n<p>Icinga 2 collects information about the services based on monitoring plugins. Without these plugins, Icinga 2 does not know how to check the services. For this purpose we will use the Monitoring Plugins Project. They maintain a collection of monitoring plugins including plugins for Icinga 2. To install the monitoring-tools package, run the following command:<\/p>\n<pre>apt -y install monitoring-plugins<\/pre>\n<p>The initial installation of Icinga 2 has three features enabled by default: checker, notification, and mainlog. You can check all enabled and disabled features using the following command:<\/p>\n<pre>icinga2 feature list\r\nDisabled features: api command compatlog debuglog elasticsearch gelf graphite influxdb livestatus opentsdb perfdata statusdata syslog\r\nEnabled features: checker mainlog notification<\/pre>\n<h3><strong>Step 4. Install IDO Modules for MySQL<\/strong><\/h3>\n<p>In order to configure Icinga 2 to be able to use MySQL, we&#8217;ll have to install IDO modules. It can be easily done using Ubuntu&#8217;s default package manager:<\/p>\n<pre>apt install icinga2-ido-mysql<\/pre>\n<p>During the installation, you will be prompted to enter a password for the Icinga 2 MySQL user and whether you would like the database to be configured.<\/p>\n<p>Once the installation is finished, enable the IDO MySQL module:<\/p>\n<pre>icinga2 feature enable ido-mysql<\/pre>\n<p>Restart Icinga 2 for the changes to take effect:<\/p>\n<pre>systemctl restart icinga2.service<\/pre>\n<h3><strong>Step 5. Install Icinga Web 2<\/strong><\/h3>\n<p>In order to be able to monitor the server and check statistics through a web browser, we will install Icinga Web 2. It is a powerful PHP framework with a clean and user-friendly design. It can be easily installed from the official Icinga 2 repository that we already added to the server. Please note that <strong>Icinga Web 2 requires a LAMP stack<\/strong> installed on the server prior to installing this web package.<\/p>\n<pre>apt install icingaweb2 libapache2-mod-php icingacli<\/pre>\n<p>Icinga Web 2 can be configured through the Icinga Web 2 setup wizard, which can be accessed using your preferred web browser. When using the web setup wizard, you are required to authenticate using a token. To generate a token, run the following command:<\/p>\n<pre>icingacli setup token create\r\nThe newly generated setup token is: 64b889fd4e6830a5<\/pre>\n<p>Now, navigate to <code>http:\/\/IP_Address\/icingaweb2\/setup<\/code> to start the web setup wizard and complete the installation. The setup will run only if your server meets the requirements. Don&#8217;t forget to use the token you got earlier for the setup process.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1027\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/install-icinga2-tutorial-ubuntu18.04.png\" alt=\"\" width=\"1027\" height=\"937\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/install-icinga2-tutorial-ubuntu18.04.png 1027w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/install-icinga2-tutorial-ubuntu18.04-329x300.png 329w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/install-icinga2-tutorial-ubuntu18.04-768x701.png 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/install-icinga2-tutorial-ubuntu18.04-970x885.png 970w\" sizes=\"(max-width: 1027px) 100vw, 1027px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>That&#8217;s it! You have successfully installed Icinga 2 on your Ubuntu 18.04 server. For detailed instructions on how to configure and use Icinga 2, please check their official documentation.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-1024\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/expert-help-support-with-icinga2-for-cloud-vps-ubuntu18.04.jpg\" alt=\"\" width=\"150\" height=\"155\" \/>Of course, you don\u2019t have to install Icinga 2 on Ubuntu 18.04 if you use one of our <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">Managed Cloud VPS<\/a> services, in which case you can simply ask our expert Linux admins to install and configure Icinga 2 on your Ubuntu 18.04 server for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS.<\/span>\u00a0<\/strong>If you liked this post on <strong>how to install Icinga 2 on Ubuntu 18.04<\/strong>, or if you found it helpful, please share it with your friends on the social networks using the social media share shortcuts, or simply leave a reply below. Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to install Icinga 2 and Icinga Web 2 and all their necessary components on an Ubuntu 18.04 Cloud VPS. Icinga 2 is a free and open-source server monitoring system. It helps its users to check the availability of their network resources, notifies them about outages, and generates performance &#8230; <a title=\"How to Install Icinga 2 on Ubuntu 18.04\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/\" aria-label=\"More on How to Install Icinga 2 on Ubuntu 18.04\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1021,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1019","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Icinga 2 on Ubuntu 18.04 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"In this tutorial, you will learn how to install Icinga 2 and Icinga Web 2 and all their necessary components on an Ubuntu 18.04 Cloud VPS. Icinga 2 is a\" \/>\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.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Icinga 2 on Ubuntu 18.04 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, you will learn how to install Icinga 2 and Icinga Web 2 and all their necessary components on an Ubuntu 18.04 Cloud VPS. Icinga 2 is a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-12T13:01:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-icinga2-on-ubuntu18.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install Icinga 2 on Ubuntu 18.04\",\"datePublished\":\"2019-09-12T13:01:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/\"},\"wordCount\":800,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/how-to-install-icinga2-on-ubuntu18.04.jpg\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/\",\"name\":\"How to Install Icinga 2 on Ubuntu 18.04 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/how-to-install-icinga2-on-ubuntu18.04.jpg\",\"datePublished\":\"2019-09-12T13:01:18+00:00\",\"description\":\"In this tutorial, you will learn how to install Icinga 2 and Icinga Web 2 and all their necessary components on an Ubuntu 18.04 Cloud VPS. Icinga 2 is a\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/how-to-install-icinga2-on-ubuntu18.04.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/how-to-install-icinga2-on-ubuntu18.04.jpg\",\"width\":750,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-icinga-2-on-ubuntu-18-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Icinga 2 on Ubuntu 18.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Icinga 2 on Ubuntu 18.04 | LinuxCloudVPS Blog","description":"In this tutorial, you will learn how to install Icinga 2 and Icinga Web 2 and all their necessary components on an Ubuntu 18.04 Cloud VPS. Icinga 2 is a","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.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Icinga 2 on Ubuntu 18.04 | LinuxCloudVPS Blog","og_description":"In this tutorial, you will learn how to install Icinga 2 and Icinga Web 2 and all their necessary components on an Ubuntu 18.04 Cloud VPS. Icinga 2 is a","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2019-09-12T13:01:18+00:00","og_image":[{"width":750,"height":360,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-icinga2-on-ubuntu18.04.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install Icinga 2 on Ubuntu 18.04","datePublished":"2019-09-12T13:01:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/"},"wordCount":800,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-icinga2-on-ubuntu18.04.jpg","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/","name":"How to Install Icinga 2 on Ubuntu 18.04 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-icinga2-on-ubuntu18.04.jpg","datePublished":"2019-09-12T13:01:18+00:00","description":"In this tutorial, you will learn how to install Icinga 2 and Icinga Web 2 and all their necessary components on an Ubuntu 18.04 Cloud VPS. Icinga 2 is a","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-icinga2-on-ubuntu18.04.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-icinga2-on-ubuntu18.04.jpg","width":750,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-icinga-2-on-ubuntu-18-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Icinga 2 on Ubuntu 18.04"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1019"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1019\/revisions"}],"predecessor-version":[{"id":1031,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1019\/revisions\/1031"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1021"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}