目前没有icinga实例写入IDO

Modified on: Thu, 19 Sep 2019 12:40:02 +0800

我有来自官方文档的安装程序icinga2和icingaweb2:

icinga2:
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started#!/icinga2/latest/doc/module/icinga2/chapter / get-started#setting-up-icinga2

和icingaweb2:https://github.com/Icinga/icingaweb2 /blob/master/doc/installation.md

在设置过程中,当在“监控IDO资源”页面中设置监控模块时,我插入数据库的凭据,我有这个错误:

There is currently no icinga instance writing to the IDO. Make sure that a icinga instance is configured and able to write to the IDO.

有什么想法吗?

作者:hellb0y77

最佳答案

我解决了,需要编辑文件/etc/icinga2/features-enabled/ido-mysql.conf并插入db / user / passwd

我的档案是:

library "db_ido_mysql"

object IdoMysqlConnection "ido-mysql" {
  user = "icinga",
  password = "password",
  host = "localhost",
  database = "icinga"
}
作者:,hellb0y77

相关问答

添加新评论