<br><font size=2 face="sans-serif">sorry Michael & Tom, blame that
on all my testing getting a bit out of sync.</font>
<br>
<br><font size=2 face="sans-serif">I've updated my </font><font size=2><tt>ndomod.cf</tt></font><font size=2 face="sans-serif">g
as below, restarted mysql/nagios/ndo, and my problems persist</font>
<br>
<br><font size=2 face="sans-serif">instance_name=default</font>
<br><font size=2 face="sans-serif">output_type=unixsocket</font>
<br><font size=2 face="sans-serif">output=/usr/local/nagios/var/ndo.sock</font>
<br><font size=2 face="sans-serif">tcp_port=5668</font>
<br><font size=2 face="sans-serif">use_ssl=0</font>
<br><font size=2 face="sans-serif">output_buffer_items=5000</font>
<br><font size=2 face="sans-serif">buffer_file=/usr/local/nagios/var/ndomod.tmp</font>
<br><font size=2 face="sans-serif">file_rotation_interval=14400</font>
<br><font size=2 face="sans-serif">file_rotation_timeout=60</font>
<br><font size=2 face="sans-serif">reconnect_interval=15</font>
<br><font size=2 face="sans-serif">reconnect_warning_interval=15</font>
<br><font size=2 face="sans-serif">data_processing_options=-1</font>
<br><font size=2 face="sans-serif">config_output_options=2</font>
<br>
<br>
<br><font size=2 face="sans-serif">The mysql port is confirmed as 3306</font>
<br>
<br><font size=2 face="sans-serif">tcp        0  
   0 0.0.0.0:3306              
 0.0.0.0:*                
  LISTEN      17380/mysqld</font>
<br><font size=2 face="sans-serif">unix  2      [ ACC
]     STREAM     LISTENING     79686764 17380/mysqld
       /tmp/mysql.sock</font>
<br>
<br><font size=2 face="sans-serif">And the table prefixs are (I think correct
as nagios_)</font>
<br>
<br><font size=2 face="sans-serif">mysql> show tables;</font>
<br><font size=2 face="sans-serif">+----------------------------------------+</font>
<br><font size=2 face="sans-serif">| Tables_in_nagios      
                </font>
<br><font size=2 face="sans-serif">+----------------------------------------+</font>
<br><font size=2 face="sans-serif">| nagios_acknowledgements </font>
<br><font size=2 face="sans-serif">| nagios_commands      
                </font>
<br><font size=2 face="sans-serif">| nagios_commenthistory    
         </font>
<br><font size=2 face="sans-serif">| nagios_comments      
              </font>
<br><font size=2 face="sans-serif">...</font>
<br>
<br><font size=2 face="sans-serif">mysql> show grants for 'ndouser'@'localhost';</font>
<br><font size=2 face="sans-serif">+---------------------------------------------------------------------------------------+</font>
<br><font size=2 face="sans-serif">| Grants for ndouser@localhost  
                     
                     
           </font>
<br><font size=2 face="sans-serif">+---------------------------------------------------------------------------------------+</font>
<br><font size=2 face="sans-serif">| GRANT USAGE ON *.* TO 'ndouser'@'localhost'
IDENTIFIED BY PASSWORD '4da1ca1e5c4de6f2' </font>
<br><font size=2 face="sans-serif">| GRANT ALL PRIVILEGES ON `nagios`.*
TO 'ndouser'@'localhost'              
            </font>
<br><font size=2 face="sans-serif">+---------------------------------------------------------------------------------------+</font>
<br><font size=2 face="sans-serif">2 rows in set (0.00 sec)</font>
<br>
<br><font size=2 face="sans-serif">Many thanks for all your help</font>
<br><font size=2 face="sans-serif"><br>
</font><font size=1 color=#808080 face="Calibri">Nigel Leach</font>
<br><font size=1 color=#808080 face="Calibri">Grid Engineer | Front Office
Risk Systems | BNP Paribas </font>
<br><font size=3> </font>
<br><font size=1 color=#808080 face="Wingdings">,</font><font size=1 color=#808080 face="Calibri">
    5Y021 @ Harewood Avenue</font>
<br><font size=1 color=#808080 face="Wingdings">( </font><font size=1 color=#808080 face="Calibri">Internal
 711 3634 !  Mobile  +44 (0)7789 077 946 !  Direct
Dial  +44 (0)207 595 3634 </font>
<br><font size=1 color=#808080 face="Wingdings">*</font><font size=1 color=#808080 face="Calibri">
    </font><a href=mailto:nigel.leach@bnpparibas.com><font size=1 color=#808080 face="Calibri"><u>nigel.leach@bnpparibas.com</u></font></a>
<br><font size=1 color=#808080 face="Calibri"> </font>
<br><font size=1 color=#808080 face="Calibri">Group Mail: cmitp.fors@bnpparibas.com
| Remedy Requests: CMITP FORS | Pickup  711 0350</font>
<br><font size=1 color=#808080 face="Calibri"> </font>
<br><font size=1 color=#808080 face="Calibri"> </font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=34%><font size=4 face="helv"><b>Internet  </b></font>
<br><font size=1 face="sans-serif"><b>michael.friedrich@univie.ac.at</b></font>
<p><font size=1 face="sans-serif">17/02/2010 12:21</font>
<td width=66%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Nigel LEACH</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">nagios-users@lists.sourceforge.net</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Nagios-users] ndomod: Could not
open data sink</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>NIgel Leach wrote:<br>
> Nothing unfortunately,what ever debug options I set, this file is
always empty<br>
<br>
good. then ndo2db does not fork itsself meaning ndomod cannot connect <br>
over the socket. so the current problem is ndomod and/or the socket from
<br>
which ndo2db should read then.<br>
<br>
>> and ndomod.cfg?<br>
> <br>
> here it is, cheers<br>
> <br>
> instance_name=default<br>
> output_type=tcpsocket<br>
> output=127.0.0.1<br>
> tcp_port=5668<br>
> use_ssl=0<br>
> output_buffer_items=5000<br>
> buffer_file=/usr/local/nagios/var/ndomod.tmp<br>
> file_rotation_interval=14400<br>
> file_rotation_timeout=60<br>
> reconnect_interval=15<br>
> reconnect_warning_interval=15<br>
> data_processing_options=-1<br>
> config_output_options=2<br>
<br>
How does that match with this?<br>
<br>
[ndo2db.cfg]<br>
lock_file=/usr/local/nagios/var/ndo2db.lock<br>
ndo2db_user=nagios<br>
ndo2db_group=nagios<br>
socket_type=unix<br>
socket_name=/usr/local/nagios/var/ndo.sock<br>
<br>
Kind regards,<br>
Michael<br>
<br>
-- <br>
DI (FH) Michael Friedrich<br>
michael.friedrich@univie.ac.at<br>
Tel: +43 1 4277 14359<br>
<br>
Vienna University Computer Center<br>
Universitaetsstrasse 7 A-1010 Vienna, Austria<br>
</tt></font>
<br><pre>
___________________________________________________________
This communication is confidential, may be privileged and is meant only for the intended recipient. If you are not the intended recipient, please notify the sender by reply and delete the message from your system. Any unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, BNP Paribas Commodity Futures Limited, BNP Paribas Asset Management UK Limited and Investment Fund Services Limited are authorised and regulated by the Financial Services Authority.

BNP Paribas London Branch and BNP Paribas Wealth Management London Branch are authorised by the CECEI and supervised by the Commission Bancaire.  

BNP Paribas London Branch is authorised and subject to limited regulation by the Financial Services Authority. Details about the extent of our authorisation and regulation by the Financial Services Authority are available from us on request. BNP Paribas is also a member of the London Stock Exchange.

BNP Paribas Wealth Management London Branch is subject to limited regulation by the Financial Services Authority.  Details about the extent of our authorisation and regulation by the Financial Services Authority are available from us on request.  

BNP Paribas Securities Services London Branch is authorised by the CECEI and supervised by the AMF, and subject to limited regulation by the Financial Services Authority. Details on the extent of our regulation by the Financial Services Authority are available from us on request. BNP Paribas Securities Services is also a member of the London Stock Exchange.

BNP Paribas Trust Corporation UK Limited is registered in England and Wales (registered no. 4042668) at registered office 55 Moorgate, London EC2R 6PA.

BNP Paribas UK Limited is registered in England and Wales (registered no. 1488108) at registered office 10 Harewood Avenue, London NW1 6AA.

BNP Paribas Commodity Futures Limited is registered in England and Wales (registered no. 2391477) at registered office 10 Harewood Avenue, London NW1 6AA.

BNP Paribas Asset Management UK Limited is registered in England and Wales (registered no. 2474627) at registered office 10 Harewood Avenue, London NW1 6AA.

Investment Fund Services Limited is registered in England and Wales (registered no. 6110770) at registered office 55 Moorgate, London EC2R 6PA.

BNP Paribas London Branch is registered in England and Wales (registered no. FC13447) at registered office 10 Harewood Avenue, London NW1 6AA.

BNP Paribas Wealth Management London Branch is registered in England and Wales (registered no. FC023926) at registered office 10 Harewood Avenue, London NW1 6AA.

BNP Paribas Securities Services London Branch is registered in England and Wales (registered no. BR006393) at registered office 55 Moorgate, London, EC2R 6PA.

BNP Paribas Lease Group Plc  is registered in England and Wales (registered no. 2341989) at registered office Northern Cross, Basing View, Basingstoke, Hampshire RG21 4HL.
____________________________________________________________

</pre>