易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 4403|回复: 0
收起左侧

Nagios报Error: Could not read object configuration data!解决方法

[复制链接]
发表于 2018-6-25 08:01:33 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
Nagios报Error: Could not read object configuration data!解决方法
Error: Could not read object configuration data!
* S6 ]: }% U% W4 q  \
Here are some things you should check in order to resolve this error:
& U; Y4 p$ _/ L
Verify configuration options using the -v command-line option to check for errors.

$ d% |( q4 c0 W3 p+ C3 a
Check the Nagios log file for messages relating to startup or status data errors.
0 t- ^% H0 [2 m4 _' X5 B7 O
Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file).
' Z/ S" f2 s4 m6 E
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:[url=http://www.nagios.org][/url][url=http://www.nagios.org][/url][url=http://www.nagios.org][url=http://www.nagios.org][/url][/url][url=http://www.nagios.org][/url][url=][url=http://www.nagios.org][/url][/url][url=http://www.nagios.org][url=http://www.nagios.org][url=http://www.nagios.org][url=http://www.nagios.org]//www.nagios.org[/url][/url][/url][/url].# U" L, E) k3 u# {
! m& _# D+ n; D  X$ ~( ?1 v" u1 W
5 [9 |3 c9 ^5 I& d4 Y- W$ ?* k
检查发现没有启动nagios的后台服务导致:
$ L, U/ n7 O8 d! e7 f5 B解决办法:
+ ?/ \/ H( u* C4 j /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
! @. _. h& q( E4 P+ X5 Zsystemctl start nagios
) M4 H$ G  V- Q0 x3 Rsystemctl status nagios
# F& A, x7 p3 p. r" ^& Y: L) }/ j% i( Z

- m+ I9 F: \# D4 i! a
% M0 F  h3 f: i$ C# O7 a& ?8 N

5 ?; i7 q4 @8 Z; G3 k3 v1 E登录界面,问题解决:
' o/ \- o8 ^- W7 m7 |  d$ r
, T5 j) {5 [/ C+ a! n

  J2 W  ?9 ~7 Z3 O  X

+ ?8 L- O/ H/ ~( `: d
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 23:52 , Processed in 0.047318 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表