我正在尝试安装Nagios。我在安装Ambari + Nagios +的Amazon CentOS上使用AMI ......除Nagios接口外,一切正常。
Nagios正在运行,没有任何问题。 但是,当我尝试访问Web界面时,如果我继续右侧的任何链接,我总是收到消息:
Whoops!
Error: Could not read object configuration data!
Here are some things you should check in order to resolve this error:
Verify configuration options using the -v command-line option to check for errors.
Check the Nagios log file for messages relating to startup or status data errors.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.
我已经运行了命令/ usr / sbin / nagios -v /etc/nagios/nagios.cfg
...
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 2
Total Errors: 0
我还在/ usr / lib / nagios / cgi /,/ usr / share / nagios和/ usr / lib64 / nagios(所有内容)上检查了权限(我的apache正在运行用户apache和group nagios)是在小组nagios)。 我还检查了/ var / nagios /中的文件status.dat和objects.cache。
我真的无法找到问题所在......有人可以帮助我吗?
答案 0 :(得分:0)
好的,我终于找到了问题。配置错误(即使检查成功)因为一些int值由Ambari设置为0.5。 - nimporte51