I'm trying to set up Icinga 2 on my Raspberry Pi 3, but the installation is just not really working. I tried different solutions etc. but nothing really seems to fit.
I mainly followed this tutorial (it's german), but i also tried a few other ones...
Everything works fine, until i get to the "Monitoring IDO Ressource".
The Page looks like this:
https://i.stack.imgur.com/QnvWO.png
Error: There is currently no Icinga instance writing to the IDO. Make sure that an Icinga instance is configured and can write to the IDO.
My /etc/icinga2/features-enabled/ido-mysql.conf looks like this:
/**
* The db_ido_mysql library implements IDO functionality
* for MySQL.
*/
library "db_ido_mysql"
object IdoMysqlConnection "ido-mysql" {
user = "root",
password = "censored",
host = "localhost",
database = "icinga_ido"
}
And I imported the database-structure with this:
mysql -u root -p icinga_ido < /usr/share/icinga2-ido-mysql/schema/mysql.sql
Thanks for your help!