0

How should I enable the IDO MySQL module?

Asked 4 years ago (Jan 12, 2021) in the field of Operating Systems by Tim Raducci

I have Installed Icinga 2 on my Ubuntu 20.04. Now, I need to enable the IDO MySQL module. Could anybody answer, please?


Answers


0
Answered 4 years ago (Jan 12, 2021) by Eldernode Staff

This module creates a new configuration file that can be install in /etc/icinga2/features-available/ido-mysql.conf. Execute the following commands to do this:

$ sudo vim /etc/icinga2/features-available/ido-mysql.conf  /**  * The db_ido_mysql library implements IDO functionality  * for MySQL.  */  library "db_ido_mysql"  object IdoMysqlConnection "ido-mysql" {  user = "icinga",  password = "icinga",  host = "localhost",  database = "icinga"  }

You should now enable the ido-mysql configuration file using the following commands, which represent the icinga2 attribute:

$ sudo icinga2 feature enable ido-mysql  Enabling feature ido-mysql. Make sure to restart Icinga 2 for these changes to take effect

Finally, restart Icinga 2 with the following command:

sudo systemctl restart icinga2

See How to Install Icinga 2 on Linux Ubuntu 20.04 LTS for more information.

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day