找回密码
 注册
查看: 4408|回复: 0

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-6-25 08:01:33 | 显示全部楼层 |阅读模式
Nagios报Error: Could not read object configuration data!解决方法
Error: Could not read object configuration data!

/ K  W! ?: g3 T2 ~
Here are some things you should check in order to resolve this error:

# p8 M, G+ N5 ]" u
Verify configuration options using the -v command-line option to check for errors.
) X- b# i& Y' T- I7 H" h( ]$ [
Check the Nagios log file for messages relating to startup or status data errors.

/ ^/ L/ R2 E3 d! F" k, m4 a
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).

7 U( K/ ^: s( T6 @7 M
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].
1 A+ Y9 l6 t4 X; _, p  [4 \3 i' k* N1 I; J. W) N( s4 W6 s# b

" w0 r& t9 K8 Y, l, E检查发现没有启动nagios的后台服务导致:, i( ~/ _* j4 U
解决办法:0 t- Q' j# A3 B2 W
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg ( F) {% e& Z" Y2 v% O+ _8 W" O
systemctl start nagios
% S# _; i8 N# b  v- ~9 N" t+ r4 zsystemctl status nagios! X6 ^+ f3 d% \4 U
% i1 G& t+ V. q8 f' ]9 t
% f9 k; M% i5 C" }/ g, x
% q; ]4 @3 Q6 J* g$ T

* a& Z+ T7 v4 S% }& F  R/ Z- a登录界面,问题解决:3 P. F2 b+ N' c4 @; {0 V. L

/ T) {  [: m0 M0 C  H6 a( c
2 l. O' o, z* Q& w5 {

& |2 s5 a8 N! w" g9 ^% Q8 \) f2 w! i. e
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 04:24 , Processed in 0.023888 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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