【发布时间】:2012-10-07 04:46:37
【问题描述】:
我在 ubuntu 12.04 上安装了全新的 nagios3。在我登录到 Web 界面并单击任何链接后,我收到错误:
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.
我用 -v 选项运行它,它没有报告错误:
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
nagios 日志和 apache 错误日志和调试日志都与此无关。有谁知道如何打开日志,这会给我一些有用的错误?或者,如果有人知道如何在不进行额外日志记录的情况下解决此特定问题,我想也可以。
谢谢!
【问题讨论】:
-
您使用的是什么用户帐户?您是否配置了 cgi.cfg 文件?运行您的 httpd 服务器的用户是否有权访问您的 nagios.cfg 文件??
标签: error-logging nagios