簡體   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