Re: [Nagios-users] unable to connect to data sink

2008-07-14 Thread Alan Cooper
What version of nagios are you running? If you're running nagios 3.x you'll need ndo2db-3x Kaushal Shriyan wrote: Hi I get [1215630364] ndomod: Still unable to connect to data sink. 1019216 items lost, 5000 queued items to flush. in nagios.log file I can see the ndo2db has been started.

Re: [Nagios-users] unable to connect to data sink

2008-07-11 Thread Kaushal Shriyan
On Thu, Jul 10, 2008 at 6:32 PM, Kaushal Shriyan [EMAIL PROTECTED] wrote: On Thu, Jul 10, 2008 at 6:19 PM, Thomas Guyot-Sionnest [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/07/08 06:52 AM, Kaushal Shriyan wrote: Hi Thomas The permissions on

Re: [Nagios-users] unable to connect to data sink

2008-07-10 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/07/08 01:56 AM, Kaushal Shriyan wrote: Hi Simon It works perfectly fine when i do the below steps Do you have the ndodb daemon (or something similar) running? You should have a socket in /var/nagios/ndo.sock if you type (as root): fuser

Re: [Nagios-users] unable to connect to data sink

2008-07-10 Thread Kaushal Shriyan
On Thu, Jul 10, 2008 at 3:06 PM, Thomas Guyot-Sionnest [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/07/08 01:56 AM, Kaushal Shriyan wrote: Hi Simon It works perfectly fine when i do the below steps Do you have the ndodb daemon (or something similar)

Re: [Nagios-users] unable to connect to data sink

2008-07-10 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/07/08 06:11 AM, Kaushal Shriyan wrote: Hi Thomas Its running fine. $ sudo fuser /var/nagios/ndo.sock /var/nagios/ndo.sock: 7592 7639 7640 7711 7833 19676 $ ps -aef | grep ndo2db nagios7592 19676 0 03:06 ?00:00:00

Re: [Nagios-users] unable to connect to data sink

2008-07-10 Thread Kaushal Shriyan
On Thu, Jul 10, 2008 at 4:03 PM, Thomas Guyot-Sionnest [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/07/08 06:11 AM, Kaushal Shriyan wrote: Hi Thomas Its running fine. $ sudo fuser /var/nagios/ndo.sock /var/nagios/ndo.sock: 7592 7639 7640 7711

Re: [Nagios-users] unable to connect to data sink

2008-07-10 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/07/08 06:52 AM, Kaushal Shriyan wrote: Hi Thomas The permissions on nagios.lock are as below $ ls -l /var/nagios/nagios.lock -rw-r--r-- 1 nagios nagios 6 Jul 9 07:45 /var/nagios/nagios.lock $ I said the perms of the socket file. You

Re: [Nagios-users] unable to connect to data sink

2008-07-10 Thread Kaushal Shriyan
On Thu, Jul 10, 2008 at 6:19 PM, Thomas Guyot-Sionnest [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/07/08 06:52 AM, Kaushal Shriyan wrote: Hi Thomas The permissions on nagios.lock are as below $ ls -l /var/nagios/nagios.lock -rw-r--r-- 1 nagios

[Nagios-users] unable to connect to data sink

2008-07-09 Thread Kaushal Shriyan
Hi I get [1215630364] ndomod: Still unable to connect to data sink. 1019216 items lost, 5000 queued items to flush. in nagios.log file I can see the ndo2db has been started. nagios 14086 19676 0 11:24 ?00:00:02 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 15964 19676

Re: [Nagios-users] unable to connect to data sink

2008-07-09 Thread Simon Finch
Hi Kaushal, The db_user, db_pass and db_name in your ndo2db.cfg file are still set to the defaults of db_user=ndouser db_pass=ndopassword db_name=nagios Did you create the MySql database nagios and can you connect to it from the console on your host ? mysql -u ndouser -p nagios should

Re: [Nagios-users] unable to connect to data sink

2008-07-09 Thread Kaushal Shriyan
Hi Simon It works perfectly fine when i do the below steps $ mysql -u ndouser -p nagios Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g.