免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2635 | 回复: 1

请教关于nagvis的问题 [复制链接]

论坛徽章:
0
发表于 2009-12-28 15:40 |显示全部楼层
[root@localhost nagvis]# tail -f /var/log/messages
Dec 19 18:34:27 localhost nagios: ndomod: Still unable to connect to data sink.  58040 items lost, 5000 queued items to flush.
Dec 19 18:34:43 localhost nagios: ndomod: Still unable to connect to data sink.  58121 items lost, 5000 queued items to flush.
Dec 19 18:34:59 localhost nagios: ndomod: Still unable to connect to data sink.  58208 items lost, 5000 queued items to flush.
Dec 19 18:35:15 localhost nagios: ndomod: Still unable to connect to data sink.  58283 items lost, 5000 queued items to flush.
Dec 19 18:35:31 localhost nagios: ndomod: Still unable to connect to data sink.  58367 items lost, 5000 queued items to flush.
Dec 19 18:35:47 localhost nagios: ndomod: Still unable to connect to data sink.  58458 items lost, 5000 queued items to flush.
Dec 19 18:36:03 localhost nagios: ndomod: Still unable to connect to data sink.  58532 items lost, 5000 queued items to flush.
Dec 19 18:36:19 localhost nagios: ndomod: Still unable to connect to data sink.  58620 items lost, 5000 queued items to flush.
Dec 19 18:36:35 localhost nagios: ndomod: Still unable to connect to data sink.  58694 items lost, 5000 queued items to flush.
Dec 19 18:36:51 localhost nagios: ndomod: Still unable to connect to data sink.  58784 items lost, 5000 queued items to flush.
这是ndo2db.cfg配置文件
lock_file=/usr/local/nagios/var/ndo2db.lock
ndo2db_user=nagios
ndo2db_group=nagios
socket_type=unix
socket_name=/usr/local/nagios/var/ndo.sock
tcp_port=5668
use_ssl=0
db_servertype=mysql
db_port=3306
db_name=nagios
db_prefix=nagios_
db_user=root
db_pass=123
max_timedevents_age=1440
max_systemcommands_age=10080
max_servicechecks_age=10080
max_hostchecks_age=10080
max_eventhandlers_age=44640
max_externalcommands_age=44640
max_debug_file_size=1000000
这是ndomod.cfg配置文件的内容

instance_name=default
output_type=unixsocket
output=/usr/local/nagios/var/ndo.sock
tcp_port=5668
use_ssl=0
output_buffer_items=5000
buffer_file=/usr/local/nagios/var/ndomod.tmp
file_rotation_interval=14400
file_rotation_timeout=60
reconnect_interval=15
reconnect_warning_interval=15
data_processing_options=-1
config_output_options=2
启动ndo2db/usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg
Support for the specified database server is either not yet supported, or was not found on your system.
报错请问这是什么原因的 谢谢各位高手大侠。

论坛徽章:
0
发表于 2009-12-28 21:19 |显示全部楼层

回复 #1 bjmqz 的帖子

应该是配置错误吧
unable to connect to data sink
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP