标题: 请教关于nagvis的问题 [打印本页] 作者: bjmqz 时间: 2009-12-28 15:40 标题: 请教关于nagvis的问题 [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.
报错请问这是什么原因的 谢谢各位高手大侠。作者: kns1024wh 时间: 2009-12-28 21:19 标题: 回复 #1 bjmqz 的帖子 应该是配置错误吧
unable to connect to data sink