监控:Centreon - 如何将centreon用户连接到数据库?

时间:2016-07-11 10:42:16

标签: mysql database apache2 monitoring centos6

我正在运行Centreon Entreprise Server(CES)3.3并添加了NagVis(1.8.x)。它们位于虚拟机(Virtualbox)上。

当我成功获得NagVis获取Centreon数据的权利时,Centreon开始显示:"数据库错误:无法连接到数据库",尽管 centreon用户拥有&的所有权限#34; centreon"和" centreon_storage"

这是我的central-broker-master.log:

[1467987167] error: storage: rebuilder: could not connect to Centreon Storage database: could not open database: Access denied for user 'centreon'@'localhost' (using password: YES) QMYSQL: Unable to connect [1467988484] error: TCP: error while sending data to peer 'localhost:5670': The remote host closed the connection [1467988492] config: module applier: loading directory '/usr/share/centreon/lib/centreon-broker' [1467988492] config: correlation: invalid correlation configuration, correlation engine is NOT loaded [1467988492] config: applier: 14 modules loaded [1467988492] error: could not open database: Access denied for user 'centreon'@'localhost' (using password: YES) QMYSQL: Unable to connect [1467988492] error: TCP: could not connect to localhost:5670: Connection refused [1467988492] error: could not open database: Access denied for user 'centreon'@'localhost' (using password: YES) QMYSQL: Unable to connect

(最后一次错误被写了数百次......)

我无法在不同的日志中找到其他错误。 (或者无法找到正确的日志...)

' centreon'用户拥有数据库的权限,包括我的服务器的IP地址以及我的计算机地址。 (这可能是来自遥远地区的权利问题)

我不知道任何其他方式来授予我的中心'对数据库拥有额外权限的用户 - 授予我的用户所有权限甚至是一个有效的想法吗?

谢谢

编辑:我尝试使用这篇文章来解决问题:MySQL ERROR 1045 (28000): Access denied for user 'bill'@'localhost' (using password: YES)(我实际上有一个'' @' localhost'用户),但我访问了Centreon网站仍被拒绝。

0 个答案:

没有答案