繁体   English   中英

Nagios-无法访问Nagios Web界面上的主机和服务

[英]Nagios - Can't access the hosts and services on nagios web interface

我正在尝试安装Nagios。 我在安装Ambari + Nagios +的Amazon CentOS上使用AMI。

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和nagios组一起运行)(一切都在nagios组中) )。 我还检查了/ var / nagios /中的文件status.dat和objects.cache。

我真的找不到问题所在...有人可以帮助我吗?

好的,我终于找到了问题。 配置错误(即使检查成功),因为Ambari将某些int值设置为0.5。 – nimporte51

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM