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.

 nagios   14086 19676  0 11:24 ?00:00:02 
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 nagios   15964 19676  0 11:25 ?00:00:02 
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 nagios   19676 1  0 07:44 ?00:00:00 
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 nagios   23622 19676  0 08:38 ?00:00:10 
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg

 My NDO2DB DAEMON CONFIG FILE is mentioned here  - 
 http://www.pastebin.org/50006
 My NDOMOD CONFIG FILE is mentioned here - http://www.pastebin.org/50007

 Any clue as what is going wrong

 Thanks and Regards

 Kaushal
 

 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness
 and boredom. Vote Now at http://www.sourceforge.net/community/cca08
 

 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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 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 should also check if there's no
 stale process as I suggested in my earlier mail.

 Thomas
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFIdgVU6dZ+Kt5BchYRAjkHAKDgdVLckZXpOzINBabrC9utNPzeXgCfVz/x
 xuzPrzbOGiVRBVojwos8kvE=
 =hIrr
 -END PGP SIGNATURE-


 Hi Thomas

 The permission of the ndo.sock file are as below

 srwxr-xr-x 1 nagios nagios  0 Jul  9 07:44 ndo.sock

 The error seems to have gone now, But I have still this below error in the
 /var/log/nagios/nagios.log
 [1215694636] ndomod: Error writing to data sink!  Some output may get
 lost...

 Thanks and Regards

 Kaushal



 Hi Thomas

Any updates regarding [1215761427] ndomod: Error writing to data sink!
Some output may get lost... in /var/log/nagios/nagios.log

Thanks and Regards

Kaushal
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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 /var/nagios/ndo.sock

It should return you the pid of the daemon.


P.S.: I never user or even looked at ndodb, but this is obvious by
looking at your config files.

Thomas

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIddgV6dZ+Kt5BchYRAtVDAKDM/5HyLvhFA+BW4t6h9yEi90YfzwCfaGt1
qI97BXOG+i3Rf9dCBgsH3xE=
=c1r1
-END PGP SIGNATURE-

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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) running?

 You should have a socket in /var/nagios/ndo.sock

 if you type (as root):
 fuser /var/nagios/ndo.sock

 It should return you the pid of the daemon.


 P.S.: I never user or even looked at ndodb, but this is obvious by
 looking at your config files.

 Thomas

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFIddgV6dZ+Kt5BchYRAtVDAKDM/5HyLvhFA+BW4t6h9yEi90YfzwCfaGt1
 qI97BXOG+i3Rf9dCBgsH3xE=
 =c1r1
 -END PGP SIGNATURE-


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 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios7639 19676  0 03:06 ?00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios7640 19676  0 03:06 ?00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios7711 19676  0 03:06 ?00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios7833 19676  0 03:07 ?00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
kaushal  14691 24061  0 03:10 pts/000:00:00 grep --colour=auto ndo2db
nagios   19676 1  0 Jul09 ?00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
$

Any further ideas

Thanks and Regards

Kaushal
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 nagios7639 19676  0 03:06 ?00:00:00
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 nagios7640 19676  0 03:06 ?00:00:00
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 nagios7711 19676  0 03:06 ?00:00:00
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 nagios7833 19676  0 03:07 ?00:00:00
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 kaushal  14691 24061  0 03:10 pts/000:00:00 grep --colour=auto ndo2db
 nagios   19676 1  0 Jul09 ?00:00:00
 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
 $

 Any further ideas

Maybe a permission problem on the socket file?

One of your ndodb processes is much older than the others... are you
sure you don't have a stale ndo2db-2x running? You can try shutting down
the daemon, doing a killall -9 ndo2db-2x as root and starting it again...

NDODB users might have a better idea what could go wrong...


Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIdeWL6dZ+Kt5BchYRAua0AKCyWSoSg/LM6tymaa1HIUJj0VDrigCfWGa+
ygNRwm8VYD4ElSPDUp6rhuk=
=7mCy
-END PGP SIGNATURE-

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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  7833 19676
  $ ps -aef | grep ndo2db
  nagios7592 19676  0 03:06 ?00:00:00
  /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
  nagios7639 19676  0 03:06 ?00:00:00
  /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
  nagios7640 19676  0 03:06 ?00:00:00
  /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
  nagios7711 19676  0 03:06 ?00:00:00
  /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
  nagios7833 19676  0 03:07 ?00:00:00
  /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
  kaushal  14691 24061  0 03:10 pts/000:00:00 grep --colour=auto ndo2db
  nagios   19676 1  0 Jul09 ?00:00:00
  /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg
  $

  Any further ideas

 Maybe a permission problem on the socket file?

 One of your ndodb processes is much older than the others... are you
 sure you don't have a stale ndo2db-2x running? You can try shutting down
 the daemon, doing a killall -9 ndo2db-2x as root and starting it again...

 NDODB users might have a better idea what could go wrong...


 Thomas
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFIdeWL6dZ+Kt5BchYRAua0AKCyWSoSg/LM6tymaa1HIUJj0VDrigCfWGa+
 ygNRwm8VYD4ElSPDUp6rhuk=
 =7mCy
 -END PGP SIGNATURE-


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
$

Thanks and Regards

Kaushal
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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 should also check if there's no
stale process as I suggested in my earlier mail.

Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIdgVU6dZ+Kt5BchYRAjkHAKDgdVLckZXpOzINBabrC9utNPzeXgCfVz/x
xuzPrzbOGiVRBVojwos8kvE=
=hIrr
-END PGP SIGNATURE-

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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 6 Jul  9 07:45 /var/nagios/nagios.lock
  $

 I said the perms of the socket file. You should also check if there's no
 stale process as I suggested in my earlier mail.

 Thomas
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFIdgVU6dZ+Kt5BchYRAjkHAKDgdVLckZXpOzINBabrC9utNPzeXgCfVz/x
 xuzPrzbOGiVRBVojwos8kvE=
 =hIrr
 -END PGP SIGNATURE-


Hi Thomas

The permission of the ndo.sock file are as below

srwxr-xr-x 1 nagios nagios  0 Jul  9 07:44 ndo.sock

The error seems to have gone now, But I have still this below error in the
/var/log/nagios/nagios.log
[1215694636] ndomod: Error writing to data sink!  Some output may get
lost...

Thanks and Regards

Kaushal
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[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  0 11:25 ?00:00:02 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios   19676 1  0 07:44 ?00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios   23622 19676  0 08:38 ?00:00:10 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg

My NDO2DB DAEMON CONFIG FILE is mentioned here  -
http://www.pastebin.org/50006
My NDOMOD CONFIG FILE is mentioned here - http://www.pastebin.org/50007

Any clue as what is going wrong

Thanks and Regards

Kaushal
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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 prompt you for a password, ie, ndopassword

and then give you a mysql prompt.

\s should then show you a status screen with the database and connection 
details.

Hope this helps.

Simon Finch
ESM Team Leader
St.George Bank
Australia
 

 Kaushal Shriyan [EMAIL PROTECTED] 10/07/2008 5:17 am 
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  0 11:25 ?00:00:02 /usr/nagios/bin/ndo2db-2x -c 
/etc/nagios/ndo2db.cfg
nagios   19676 1  0 07:44 ?00:00:00 /usr/nagios/bin/ndo2db-2x -c 
/etc/nagios/ndo2db.cfg
nagios   23622 19676  0 08:38 ?00:00:10 /usr/nagios/bin/ndo2db-2x -c 
/etc/nagios/ndo2db.cfg

My NDO2DB DAEMON CONFIG FILE is mentioned here  - 
http://www.pastebin.org/50006 
My NDOMOD CONFIG FILE is mentioned here - http://www.pastebin.org/50007 

Any clue as what is going wrong

Thanks and Regards

Kaushal



*** This is an automatically appended message from St. George ITP.  If this 
email is SPAM please register it with WebSense MailControl by clicking here ( 
https://www.mailcontrol.com/sr/kDWEHkhQGD!TndxI!oX7UnUYIb7wfOFWhagr5azsOIFSj1TnkEgu!X53ALSpTnhEATAgmcYJRWld8GUOJKJHvw==
 ). ***


**
*   IMPORTANT INFORMATION*
This document should be read only by those persons to whom it is 
addressed and its content is not intended for use by any other 
persons.  If you have received this message in error, please notify 
us immediately.  Please also destroy and delete the message from 
your computer.  Any unauthorised form of reproduction of this message 
is strictly prohibited.

St George Bank Limited AFSL 240997, Advance Asset Management Limited 
AFSL 240902,  St George Life Limited AFSL 240900, ASGARD Capital Management 
Limited 
AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for 
the proper and complete transmission of the information contained in 
this communication, nor for any delay in its receipt.
**


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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.
Your MySQL connection id is 135
Server version: 5.0.54-log Gentoo Linux mysql-5.0.54

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql \s
--
mysql  Ver 14.12 Distrib 5.0.54, for pc-linux-gnu (x86_64) using readline
5.2

Connection id:  135
Current database:   nagios
Current user:   [EMAIL PROTECTED]
SSL:Not in use
Current pager:  /usr/bin/less
Using outfile:  ''
Using delimiter:;
Server version: 5.0.54-log Gentoo Linux mysql-5.0.54
Protocol version:   10
Connection: Localhost via UNIX socket
Server characterset:utf8
Db characterset:utf8
Client characterset:utf8
Conn.  characterset:utf8
UNIX socket:/var/run/mysqld/mysqld.sock
Uptime: 16 hours 36 min 21 sec

Threads: 4  Questions: 1905637  Slow queries: 0  Opens: 150  Flush tables:
1  Open tables: 64  Queries per second avg: 31.877
--

mysql quit

Any further clue

Awaiting your earnest reply.

Thanks and Regards

Kaushal

On Thu, Jul 10, 2008 at 5:49 AM, Simon Finch [EMAIL PROTECTED] wrote:

 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 prompt you for a password, ie, ndopassword

 and then give you a mysql prompt.

 \s should then show you a status screen with the database and connection
 details.

 Hope this helps.

 Simon Finch
 ESM Team Leader
 St.George Bank
 Australia


  Kaushal Shriyan [EMAIL PROTECTED] 10/07/2008 5:17 am 
 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  0 11:25 ?00:00:02 /usr/nagios/bin/ndo2db-2x
 -c /etc/nagios/ndo2db.cfg
 nagios   19676 1  0 07:44 ?00:00:00 /usr/nagios/bin/ndo2db-2x
 -c /etc/nagios/ndo2db.cfg
 nagios   23622 19676  0 08:38 ?00:00:10 /usr/nagios/bin/ndo2db-2x
 -c /etc/nagios/ndo2db.cfg

 My NDO2DB DAEMON CONFIG FILE is mentioned here  -
 http://www.pastebin.org/50006
 My NDOMOD CONFIG FILE is mentioned here - http://www.pastebin.org/50007

 Any clue as what is going wrong

 Thanks and Regards

 Kaushal



 *** This is an automatically appended message from St. George ITP.  If this
 email is SPAM please register it with WebSense MailControl by clicking here
 (
 https://www.mailcontrol.com/sr/kDWEHkhQGD!TndxI!oX7UnUYIb7wfOFWhagr5azsOIFSj1TnkEgu!X53ALSpTnhEATAgmcYJRWld8GUOJKJHvw==https://www.mailcontrol.com/sr/kDWEHkhQGD%21TndxI%21oX7UnUYIb7wfOFWhagr5azsOIFSj1TnkEgu%21X53ALSpTnhEATAgmcYJRWld8GUOJKJHvw==).
  ***


 **
 *   IMPORTANT INFORMATION*
 This document should be read only by those persons to whom it is
 addressed and its content is not intended for use by any other
 persons.  If you have received this message in error, please notify
 us immediately.  Please also destroy and delete the message from
 your computer.  Any unauthorised form of reproduction of this message
 is strictly prohibited.

 St George Bank Limited AFSL 240997, Advance Asset Management Limited
 AFSL 240902,  St George Life Limited AFSL 240900, ASGARD Capital Management
 Limited
 AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable
 for
 the proper and complete transmission of the information contained in
 this communication, nor for any delay in its receipt.
 **


 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness
 and boredom. Vote Now at http://www.sourceforge.net/community/cca08
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!