<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#993399">
Hello all,<br>
<br>
I request your help for this problem of mine.<br>
Please refer this mail down for all the configuration settings.<br>
<br>
I am still getting the same message<br>
<br>
Jun 25 18:23:12 excel-desktop nagios: Nagios 3.0.6 starting... (PID=464)<br>
Jun 25 18:23:12 excel-desktop nagios: Local time is Thu Jun 25 18:23:12
IST 2009<br>
Jun 25 18:23:12 excel-desktop nagios: LOG VERSION: 2.0 <br>
Jun 25 18:23:12 excel-desktop nagios: ndomod: NDOMOD 1.4b7 (10-31-2007)
Copyright (c) 2005-2007 Ethan Galstad (<a class="moz-txt-link-abbreviated" href="mailto:nagios@nagios.org">nagios@nagios.org</a>)<br>
Jun 25 18:23:12 excel-desktop nagios: ndomod: Could not open data
sink!  I'll keep trying, but some output may get lost...<br>
Jun 25 18:23:12 excel-desktop nagios: Event broker module
'/usr/local/nagios/bin/ndomod-3x.o' initialized successfully.<br>
Jun 25 18:23:12 excel-desktop nagios: Finished daemonizing... (New
PID=465) <br>
Jun 25 18:23:28 excel-desktop nagios: ndomod: Still unable to connect
to data sink.  394 items lost, 5000 queued items to flush.<br>
Jun 25 18:23:44 excel-desktop nagios: ndomod: Still unable to connect
to data sink.  482 items lost, 5000 queued items to flush.<br>
Jun 25 18:24:00 excel-desktop nagios: ndomod: Still unable to connect
to data sink.  579 items lost, 5000 queued items to flush.<br>
<br>
Thanks <br>
Rajshekar<br>
<br>
<br>
<br>
rajashekar.s wrote:
<blockquote cite="mid:4A38EB88.50702@excelindia.com" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Dear Kevin,<br>
  <br>
I did as you said, but still it is not connected (same message is
coming)<br>
when I run the command<br>
  <br>
# /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg<br>
Error processing config file '/usr/local/nagios/etc/ndo2db.cfg'.<br>
  <br>
I do not know the what is the error?<br>
  <br>
I restarted both Nagios and MySQL<br>
  <br>
Thanks <br>
Rajshekar<br>
  <br>
Kevin Keane wrote:
  <blockquote cite="mid:4A3784B4.9060904@kkeane.com" type="cite">
    <pre wrap="">OK, that explains it. Use 127.0.01 instead.

MySQL tries to be "smart" and in the process confuses everybody; it 
interprets "localhost" to mean "I want to use Unix sockets". But based 
on your configuration file, you obviously want to use TCP sockets. Using 
the IP address instead tells MySQL to use TCP sockets even when 
connecting locally.

And please respond back to the group so others benefit from the answer 
as well.

rajashekar.s wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">Dear kevin,
Sorry i have missed it while doing copy paste operation
*db_host = localhost*
I have defined in ndo2db.cfg file

Thanks
Rajshekar

Kevin Keane wrote:
    </pre>
      <blockquote type="cite">
        <pre wrap="">I don't see where you specified the db_host in ndo2db.cfg.

rajashekar.s wrote:
  
      </pre>
        <blockquote type="cite">
          <pre wrap="">Hi all,
I have installed Nagios 3.0.6 and Nagios Plugin-1.4.13 and NDO 
Utils1.4b7 as given in the installtion manual. but I get message
ndomod:Still unable to connect to data sink

The following are the related config settings
*_ndo2db.cfg_*

ndo2db_user=nagios
ndo2db_group=nagios
socket_type=tcp
tcp_port=5668
db_servertype=MySQL
db_port=3306
db_name=nagios
db_prefix=nagios_
db_user=nagios
db_pass=nagios
max_timedevents_age=1440
max_systemcommands_age=10080
max_servicechecks_age=10080
max_hostchecks_age=10080
max_eventhandlers_age=44640
debug_level=-1
debug_verbosity=1
debug_file=/usr/local/nagios/var/ndo2db.debug
max_debug_file_size=1000000

*_ndomod_*

instance_name=default
output_type=tcpsocket
output=127.0.0.1
tcp_port=5668
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

*_my.cnf (MySQL)_*

[client]
port        = 3306
socket        = /var/run/mysqld/mysqld.sock

[mysqld_safe]
socket        = /var/run/mysqld/mysqld.sock
nice        = 0

[mysqld]

user        = mysql
pid-file    = /var/run/mysqld/mysqld.pid
socket        = /var/run/mysqld/mysqld.sock
port        = 3306
basedir        = /usr
datadir        = /var/lib/mysql
tmpdir        = /tmp
language    = /usr/share/mysql/english
skip-external-locking

key_buffer        = 16M
max_allowed_packet    = 16M
thread_stack        = 128K
thread_cache_size    = 8
max_connections        = 100
table_cache            = 64
thread_concurrency     = 10

query_cache_limit       = 1M
query_cache_size        = 16M

expire_logs_days    = 10
max_binlog_size         = 100M

skip-bdb

[mysqldump]
quick
quote-names
max_allowed_packet    = 16M

[mysql]

[isamchk]
key_buffer        = 16M

!includedir /etc/mysql/conf.d/

I request you help
-- 
------------------------------------------------------------------------

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://p.sf.net/sfu/businessobjects">http://p.sf.net/sfu/businessobjects</a>
------------------------------------------------------------------------

_______________________________________________
Nagios-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
    
        </pre>
        </blockquote>
        <pre wrap="">  
      </pre>
      </blockquote>
      <pre wrap="">-- 
    </pre>
    </blockquote>
    <pre wrap=""><!---->

  </pre>
  </blockquote>
  <br>
  <br>
  <div class="moz-signature">-- <br>
  <img src="cid:part1.07020004.00030207@excelindia.com" border="0"></div>
  <pre wrap="">
<hr size="4" width="90%">
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/businessobjects">http://p.sf.net/sfu/businessobjects</a></pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part2.00090109.05080706@excelindia.com" border="0"></div>
</body>
</html>