易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 4404|回复: 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!
- ~' s" r* C9 a. T3 ~
Here are some things you should check in order to resolve this error:
: n3 b% G) `' B! \& v+ J
Verify configuration options using the -v command-line option to check for errors.
6 l. [( w% O+ e3 u( s% x0 x
Check the Nagios log file for messages relating to startup or status data errors.

( t. T6 v( L1 P& e+ D6 F' r
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).
) c, C- D- R! r. W# z, {9 r) g
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].
0 s: ~8 O, i' A6 J5 b3 C0 J; g" Q" T& P; V5 v
+ h: ~& `2 n  X2 _
检查发现没有启动nagios的后台服务导致:+ p# V+ n% `+ g
解决办法:9 n$ e% q' r; d
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg ' t, ]- T$ Z  H( z
systemctl start nagios
) M% u$ ]% v* ]6 k2 hsystemctl status nagios
( M: U7 s: C0 N9 G/ S7 C; S
# E: V' L+ {4 u! u* ^( V

) T# s" X# v" K/ h8 v+ F4 J8 c  v1 U8 e/ }

, {9 X* m; x% Y* q/ @登录界面,问题解决:
: b9 v/ G' d$ g* z
: s+ F+ M* W8 R) q& }; m+ u

2 R* Z  E, e3 _4 E3 o: N
- c% F% ^( {1 {$ Y& m
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-9 00:05 , Processed in 0.050288 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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