{"id":46162,"date":"2026-11-25T22:08:27","date_gmt":"2026-11-25T22:08:27","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=46162"},"modified":"2026-11-25T22:08:27","modified_gmt":"2026-11-25T22:08:27","slug":"icinga-install-and-configuration","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/icinga-install-and-configuration\/","title":{"rendered":"Icinga Install and Configuration"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This guide shows how to set up Icinga 2 with a MariaDB backend on Ubuntu. It covers preparing MariaDB, resetting a lost root password on a system install or a XAMPP install, writing a working client configuration, and installing Icinga 2, Icinga DB and Icinga Web 2. It fills in the headings above that have no content and fixes the problems in the <code>.my.cnf<\/code> example.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Xampp installation<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">MySql Root Password Reset<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Ensure Correct Client Configuration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure that your MySQL client is configured to connect to the MariaDB server. This involves specifying the host, port, user, and password that the MariaDB server uses. These configurations can be set in the MySQL client configuration file (typically <code>.my.cnf<\/code> in your home directory) as follows:<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">&#91;client]\nhost = <span class=\"hljs-number\">127.0<\/span><span class=\"hljs-number\">.0<\/span><span class=\"hljs-number\">.1<\/span>\nuser = root\npassword = your_password\nport = <span class=\"hljs-number\">3306<\/span>  <span class=\"hljs-comment\"># default MariaDB\/MySQL port<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-devopsschool-com wp-block-embed-devopsschool-com\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"20kToV0koc\"><a href=\"https:\/\/www.devopsschool.com\/blog\/icinga-how-to-install-icinga-2-on-ubuntu\/\">Icinga: How to Install Icinga 2 on Ubuntu<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Icinga: How to Install Icinga 2 on Ubuntu&#8221; &#8212; \" src=\"https:\/\/www.devopsschool.com\/blog\/icinga-how-to-install-icinga-2-on-ubuntu\/embed\/#?secret=dvICt1FSEo#?secret=20kToV0koc\" data-secret=\"20kToV0koc\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What the Icinga stack needs and where XAMPP fits<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A current Icinga installation has several parts. Icinga 2 runs the checks. Icinga DB moves the monitoring state into a SQL database. Icinga Web 2 is the PHP web interface. MariaDB holds both the Icinga DB data and the Icinga Web 2 configuration database.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Component<\/th><th>Package (Ubuntu)<\/th><th>Role<\/th><\/tr><\/thead><tbody><tr><td>Icinga 2<\/td><td><code>icinga2<\/code>, <code>monitoring-plugins<\/code><\/td><td>Monitoring daemon that runs checks and the REST API<\/td><\/tr><tr><td>Icinga DB Redis<\/td><td><code>icingadb-redis<\/code><\/td><td>Fast state cache, listens on port 6380<\/td><\/tr><tr><td>Icinga DB<\/td><td><code>icingadb<\/code><\/td><td>Writes state from Redis into MariaDB or MySQL<\/td><\/tr><tr><td>Icinga Web 2<\/td><td><code>icingaweb2<\/code>, <code>icingadb-web<\/code>, <code>icingacli<\/code><\/td><td>Web UI served by Apache and PHP<\/td><\/tr><tr><td>MariaDB<\/td><td><code>mariadb-server<\/code><\/td><td>Databases <code>icingadb<\/code> and <code>icingaweb2<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> XAMPP is a bundle for local development. It ships its own Apache, PHP and MariaDB under <code>\/opt\/lampp<\/code>. The Icinga packages expect the distribution&#039;s Apache, PHP and MariaDB, so running XAMPP next to them causes port clashes on 80 and 3306. On an Icinga server, use the distribution packages and keep XAMPP to desktops or labs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install and prepare MariaDB<\/h2>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">sudo apt update\nsudo apt install -y mariadb-server mariadb-client\nsudo systemctl enable --now mariadb\nsudo mariadb-secure-installation<\/code><\/span><\/pre>\n\n\n<p class=\"wp-block-paragraph\">On Ubuntu, <code>root@localhost<\/code> logs in with the <code>unix_socket<\/code> plugin by default. This means <code>sudo mariadb<\/code> gets you in with no password. Many &quot;forgotten root password&quot; cases are solved simply by running <code>sudo mariadb<\/code>. Use it to create separate databases and users for Icinga, and never connect Icinga as root:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">sudo mariadb &lt;&lt;<span class=\"hljs-string\">'SQL'<\/span>\nCREATE DATABASE icingadb;\nCREATE USER <span class=\"hljs-string\">'icingadb'<\/span>@<span class=\"hljs-string\">'localhost'<\/span> IDENTIFIED BY <span class=\"hljs-string\">'ChangeMe_DB1'<\/span>;\nGRANT ALL ON icingadb.* TO <span class=\"hljs-string\">'icingadb'<\/span>@<span class=\"hljs-string\">'localhost'<\/span>;\n\nCREATE DATABASE icingaweb2;\nCREATE USER <span class=\"hljs-string\">'icingaweb2'<\/span>@<span class=\"hljs-string\">'localhost'<\/span> IDENTIFIED BY <span class=\"hljs-string\">'ChangeMe_Web1'<\/span>;\nGRANT ALL ON icingaweb2.* TO <span class=\"hljs-string\">'icingaweb2'<\/span>@<span class=\"hljs-string\">'localhost'<\/span>;\nFLUSH PRIVILEGES;\nSQL<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Reset the MariaDB root password<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use this only when <code>sudo mariadb<\/code> does not work, for example because root was switched to password-only login and the password is lost. The server restarts with no permission checks and no network access, so nobody else can connect while it is open.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Stop the service: <code>sudo systemctl stop mariadb<\/code><\/li>\n\n\n<li>Create the socket directory if it is missing: <code>sudo mkdir -p \/run\/mysqld &amp;&amp; sudo chown mysql:mysql \/run\/mysqld<\/code><\/li>\n\n\n<li>Start without grant tables: <code>sudo mysqld_safe --skip-grant-tables --skip-networking &amp;<\/code><\/li>\n\n\n<li>Connect with <code>mariadb -u root<\/code>, then run the SQL below.<\/li>\n\n\n<li>Stop the temporary server with <code>sudo mysqladmin shutdown<\/code>, then run <code>sudo systemctl start mariadb<\/code>.<\/li>\n<\/ol>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">FLUSH PRIVILEGES;\nALTER USER <span class=\"hljs-string\">'root'<\/span>@<span class=\"hljs-string\">'localhost'<\/span>\n  IDENTIFIED VIA mysql_native_password USING PASSWORD(<span class=\"hljs-string\">'NewStrongPassword'<\/span>)\n  OR unix_socket;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">The first <code>FLUSH PRIVILEGES<\/code> loads the grant tables again so that <code>ALTER USER<\/code> is allowed. The <code>OR unix_socket<\/code> clause keeps <code>sudo mariadb<\/code> working as well as the new password.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>XAMPP on Linux:<\/strong> the root account has no password after a fresh install. Run <code>sudo \/opt\/lampp\/lampp security<\/code> to set passwords for MariaDB, phpMyAdmin and the XAMPP pages. To reset a lost password, stop the database with <code>sudo \/opt\/lampp\/lampp stopmysql<\/code> and add <code>skip-grant-tables<\/code> under <code>[mysqld]<\/code> in <code>\/opt\/lampp\/etc\/my.cnf<\/code>. Then start it with <code>startmysql<\/code>, connect with <code>\/opt\/lampp\/bin\/mysql -u root<\/code>, run the same SQL with only the <code>mysql_native_password<\/code> part, remove the option and restart.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Corrected client configuration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>.my.cnf<\/code> example above has two problems. <code>host = 127.0.0.1<\/code> forces a TCP connection, while the Ubuntu default for root is socket authentication. As a result the file fails with <code>ERROR 1698<\/code> or <code>ERROR 1045<\/code> even when the password is right. The file also puts the root password in plain text with no protection. The version below uses a dedicated account and locks down the file permissions:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># ~\/.my.cnf  (read by the mysql and mariadb clients)<\/span>\n&#91;client]\nuser     = icingadb\npassword = ChangeMe_DB1\n<span class=\"hljs-comment\"># 'localhost' uses the Unix socket; use 127.0.0.1 only when you need TCP<\/span>\nhost     = localhost\nsocket   = \/run\/mysqld\/mysqld.sock\n<span class=\"hljs-comment\"># For XAMPP use: socket = \/opt\/lampp\/var\/mysql\/mysql.sock<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">chmod <span class=\"hljs-number\">600<\/span> ~\/.my.cnf\nmariadb -e <span class=\"hljs-string\">\"SELECT CURRENT_USER();\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Expected output is a single row showing <code>icingadb@localhost<\/code>. The client ignores the file if it is world-writable, so <code>chmod 600<\/code> is required, not just good practice.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Icinga 2 and Icinga DB<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Add the official Icinga repository. The Ubuntu archive packages are older and do not include Icinga DB. For the full walkthrough, see <a href=\"https:\/\/www.devopsschool.com\/blog\/icinga-how-to-install-icinga-2-on-ubuntu\/\">How to Install Icinga 2 on Ubuntu<\/a>.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">sudo apt install -y wget gnupg apt-transport-https\nwget -qO - https:<span class=\"hljs-comment\">\/\/packages.icinga.com\/icinga.key \\<\/span>\n  | sudo gpg --dearmor -o \/usr\/share\/keyrings\/icinga-archive-keyring.gpg\n. \/etc\/os-release\n<span class=\"hljs-keyword\">echo<\/span> <span class=\"hljs-string\">\"deb &#91;signed-by=\/usr\/share\/keyrings\/icinga-archive-keyring.gpg] https:\/\/packages.icinga.com\/ubuntu icinga-${VERSION_CODENAME} main\"<\/span> \\\n  | sudo tee \/etc\/apt\/sources.<span class=\"hljs-keyword\">list<\/span>.d\/icinga.<span class=\"hljs-keyword\">list<\/span>\nsudo apt update\n\nsudo apt install -y icinga2 monitoring-plugins icingadb-redis icingadb\nsudo systemctl enable --now icinga2 icingadb-redis\nsudo icinga2 feature enable icingadb\n\n<span class=\"hljs-comment\"># Import the Icinga DB schema<\/span>\nsudo mariadb icingadb &lt; \/usr\/share\/icingadb\/schema\/mysql\/schema.sql<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Edit the <code>database<\/code> block in <code>\/etc\/icingadb\/config.yml<\/code> so it matches the user created earlier, then start the services:<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">database:\n  type: mysql\n  host: localhost\n  port: 3306\n  database: icingadb\n  user: icingadb\n  password: ChangeMe_DB1\n\nredis:\n  host: localhost\n  port: 6380<\/code><\/span><\/pre>\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">sudo systemctl enable --now icingadb\nsudo icinga2 api setup\nsudo systemctl restart icinga2<\/code><\/span><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Install Icinga Web 2 and run the setup wizard<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Icinga Web 2 sends commands, such as rescheduling a check, through the Icinga 2 API. Create an API user for it in <code>\/etc\/icinga2\/conf.d\/api-users.conf<\/code>. The <a href=\"https:\/\/www.devopsschool.com\/blog\/icinga2-how-to-enable-api-in-icinga\/\">enable the Icinga API<\/a> guide explains this in more detail.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">object ApiUser <span class=\"hljs-string\">\"icingaweb2\"<\/span> {\n  password = <span class=\"hljs-string\">\"ChangeMe_Api1\"<\/span>\n  permissions = &#91; <span class=\"hljs-string\">\"actions\/*\"<\/span>, <span class=\"hljs-string\">\"objects\/modify\/*\"<\/span>, <span class=\"hljs-string\">\"objects\/query\/*\"<\/span>, <span class=\"hljs-string\">\"status\/query\"<\/span> ]\n}<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">sudo icinga2 daemon -C &amp;&amp; sudo systemctl restart icinga2\nsudo apt install -y icingaweb2 icingadb-web icingacli libapache2-mod-php php-mysql\nsudo icingacli setup token create<\/code><\/span><\/pre>\n\n\n<ol class=\"wp-block-list\">\n<li>Open <code>http:\/\/&lt;server-ip&gt;\/icingaweb2\/setup<\/code> and paste the token.<\/li>\n\n\n<li>Enable the <strong>Icinga DB<\/strong> module.<\/li>\n\n\n<li>Configuration database: type MySQL, host <code>localhost<\/code>, database <code>icingaweb2<\/code>, user <code>icingaweb2<\/code>.<\/li>\n\n\n<li>Create the first admin user for the web UI.<\/li>\n\n\n<li>Icinga DB resource: database <code>icingadb<\/code>, user <code>icingadb<\/code>. Redis: <code>localhost<\/code>, port <code>6380<\/code>.<\/li>\n\n\n<li>Command transport: API on <code>localhost:5665<\/code> with the <code>icingaweb2<\/code> API user, then finish and log in.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Verify the installation<\/h2>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-8\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">sudo systemctl is-active icinga2 icingadb icingadb-redis mariadb apache2\nsudo icinga2 daemon -C | tail -n <span class=\"hljs-number\">3<\/span>\nsudo mariadb icingadb -e <span class=\"hljs-string\">\"SELECT name FROM host LIMIT 5;\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-8\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">All five services should print <code>active<\/code>. The configuration check should end with <code>Finished validating the configuration file(s).<\/code> The query should list your local host. If the <code>host<\/code> table is empty, Icinga DB is not receiving data, so check <code>journalctl -u icingadb<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common errors and fixes<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Error<\/th><th>Cause<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td><code>ERROR 1698 (28000): Access denied for user &#039;root&#039;@&#039;localhost&#039;<\/code><\/td><td>root uses <code>unix_socket<\/code> authentication<\/td><td>Use <code>sudo mariadb<\/code>, or add password login as shown in the reset section<\/td><\/tr><tr><td><code>ERROR 1045 ... (using password: YES)<\/code><\/td><td>Wrong password, or the user exists for <code>localhost<\/code> but you connected via <code>127.0.0.1<\/code><\/td><td>Check the <code>.my.cnf<\/code> values and use <code>host = localhost<\/code><\/td><\/tr><tr><td><code>ERROR 2002 Can&#039;t connect ... through socket<\/code><\/td><td>Server not running, or the client points at the wrong socket (XAMPP vs system)<\/td><td>Start the right server and set <code>socket<\/code> in <code>.my.cnf<\/code><\/td><\/tr><tr><td>MariaDB fails to start: port 3306 in use<\/td><td>XAMPP MariaDB and system MariaDB running together<\/td><td>Stop one: <code>sudo \/opt\/lampp\/lampp stop<\/code><\/td><\/tr><tr><td>Web UI: <code>Failed to send external Icinga command<\/code><\/td><td>API user missing or wrong permissions<\/td><td>Check <code>api-users.conf<\/code>, restart Icinga 2, then fix the command transport<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Can I run Icinga with XAMPP&#039;s MariaDB?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">It can work if you point Icinga DB at XAMPP&#039;s socket or port, but it is not recommended. Icinga packages are built for the distribution&#039;s MariaDB, Apache and PHP, and XAMPP is meant for local development.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Should I still use the IDO MySQL feature?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No, not for new installations. Icinga DB replaces the IDO database backend, which is deprecated, and Icinga Web 2 uses it through the Icinga DB Web module.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is the default URL for Icinga Web 2?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">With the Apache configuration from the package, the UI is at <code>http:\/\/&lt;server&gt;\/icingaweb2\/<\/code>, and the first-run wizard is at <code>\/icingaweb2\/setup<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">I lost the Icinga Web 2 setup token. How do I get it back?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run <code>sudo icingacli setup token show<\/code> to print it again, or <code>sudo icingacli setup token create<\/code> to make a new one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Which databases does Icinga DB support?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Icinga DB supports MySQL, MariaDB and PostgreSQL. The schema files are under <code>\/usr\/share\/icingadb\/schema\/<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related tutorials<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/icinga-how-to-install-icinga-2-on-ubuntu\/\">Icinga: How to Install Icinga 2 on Ubuntu<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/icinga2-how-to-enable-api-in-icinga\/\">icinga2: How to enable Api in icinga?<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/icinga-step-by-step-installing-icinga-director-in-ubuntu\/\">icinga: Step by Step installing Icinga Director in ubuntu<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/icinga-tutorials-how-to-monitor-mysql-server-using-icinga-agent\/\">icinga tutorials: How to monitor Mysql server using icinga agent<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/category\/monitoring-observability\/icinga\/\">More Icinga tutorials<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This guide shows how to set up Icinga 2 with a MariaDB backend on Ubuntu. It covers preparing MariaDB, resetting a lost root password on a system&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[8217],"tags":[26348,5356],"class_list":["post-46162","post","type-post","status-publish","format-standard","hentry","category-icinga","tag-mariadb","tag-xampp"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/46162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=46162"}],"version-history":[{"count":6,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/46162\/revisions"}],"predecessor-version":[{"id":80248,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/46162\/revisions\/80248"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=46162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=46162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=46162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}