首页 > 其他 > 详细

ndomod: Could not open data sink! I'll keep trying, but some output may get lost

时间:2015-04-20 19:15:36      阅读:324      评论:0      收藏:0      [点我收藏+]

错误内容①:

[1429500851] ndomod: Could not open data sink!  I‘ll keep trying, but some output may get lost...

[1429500851] ndomod registered for contact data‘

[1429500851] ndomod registered for contact notification data‘

[1429500851] Event broker module ‘/usr/local/nagios/bin/ndomod.o‘ initialized successfully.

-------------------

错误原因:貌似库cacti没有授权用户cacti@localhost

mysql> use mysql;

mysql> select user,host from user where user=‘cacti‘;

mysql> grant all on cacti.* to cacti@localhost identified by ‘123456‘ ; flush privileges;

mysql> select user,host from user where user=‘cacti‘;

+-------+-----------+

| user  | host      |

+-------+-----------+

| cacti | %         |

| cacti | localhost |

+-------+-----------+

2 rows in set (0.00 sec)

--------------------

按照上面的方法处理之后,还是报错,通过下面的命令,修改一下权限,ok了。

错误原因:cp的两个配置文件权限不对。

[root@kongxl nagios]# chown -R nagios:nagios  /usr/local/nagios/


本文出自 “上山路十八弯” 博客,请务必保留此出处http://kongzi68.blog.51cto.com/1432619/1635975

ndomod: Could not open data sink! I'll keep trying, but some output may get lost

原文:http://kongzi68.blog.51cto.com/1432619/1635975

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!