Hi Simon<br><br>It works perfectly fine when i do the below steps <br><br>$ mysql -u ndouser -p nagios<br>Enter password:<br>Reading table information for completion of table and column names<br>You can turn off this feature to get a quicker startup with -A<br>
<br>Welcome to the MySQL monitor. Commands end with ; or \g.<br>Your MySQL connection id is 135<br>Server version: 5.0.54-log Gentoo Linux mysql-5.0.54<br><br>Type 'help;' or '\h' for help. Type '\c' to clear the buffer.<br>
<br>mysql> \s<br>--------------<br>mysql Ver 14.12 Distrib 5.0.54, for pc-linux-gnu (x86_64) using readline 5.2<br><br>Connection id: 135<br>Current database: nagios<br>Current user: ndouser@localhost<br>
SSL: Not in use<br>Current pager: /usr/bin/less<br>Using outfile: ''<br>Using delimiter: ;<br>Server version: 5.0.54-log Gentoo Linux mysql-5.0.54<br>Protocol version: 10<br>
Connection: Localhost via UNIX socket<br>Server characterset: utf8<br>Db characterset: utf8<br>Client characterset: utf8<br>Conn. characterset: utf8<br>UNIX socket: /var/run/mysqld/mysqld.sock<br>
Uptime: 16 hours 36 min 21 sec<br><br>Threads: 4 Questions: 1905637 Slow queries: 0 Opens: 150 Flush tables: 1 Open tables: 64 Queries per second avg: 31.877<br>--------------<br><br>mysql> quit<br>
<br>Any further clue<br><br>Awaiting your earnest reply.<br><br>Thanks and Regards<br><br>Kaushal<br><br>On Thu, Jul 10, 2008 at 5:49 AM, Simon Finch <<a href="mailto:finchs@stgeorge.com.au">finchs@stgeorge.com.au</a>> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Kaushal,<br>
<br>
The db_user, db_pass and db_name in your ndo2db.cfg file are still set to the defaults of<br>
<br>
db_user=ndouser<br>
db_pass=ndopassword<br>
db_name=nagios<br>
<br>
Did you create the MySql database "nagios" and can you connect to it from the console on your host ?<br>
<br>
mysql -u ndouser -p nagios<br>
<br>
should prompt you for a password, ie, "ndopassword"<br>
<br>
and then give you a mysql prompt.<br>
<br>
"\s" should then show you a status screen with the database and connection details.<br>
<br>
Hope this helps.<br>
<br>
Simon Finch<br>
ESM Team Leader<br>
St.George Bank<br>
Australia<br>
<br>
<br>
>>> "Kaushal Shriyan" <<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>> 10/07/2008 5:17 am >>><br>
<div><div></div><div class="Wj3C7c">Hi<br>
<br>
I get [1215630364] ndomod: Still unable to connect to data sink. 1019216 items lost, 5000 queued items to flush. in nagios.log file<br>
I can see the ndo2db has been started.<br>
<br>
nagios 14086 19676 0 11:24 ? 00:00:02 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg<br>
nagios 15964 19676 0 11:25 ? 00:00:02 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg<br>
nagios 19676 1 0 07:44 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg<br>
nagios 23622 19676 0 08:38 ? 00:00:10 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg<br>
<br>
My NDO2DB DAEMON CONFIG FILE is mentioned here -> <a href="http://www.pastebin.org/50006" target="_blank">http://www.pastebin.org/50006</a><br>
My NDOMOD CONFIG FILE is mentioned here -> <a href="http://www.pastebin.org/50007" target="_blank">http://www.pastebin.org/50007</a><br>
<br>
Any clue as what is going wrong<br>
<br>
Thanks and Regards<br>
<br>
Kaushal<br>
<br>
<br>
<br>
</div></div>*** This is an automatically appended message from St. George ITP. If this email is SPAM please register it with WebSense MailControl by clicking here ( <a href="https://www.mailcontrol.com/sr/kDWEHkhQGD%21TndxI%21oX7UnUYIb7wfOFWhagr5azsOIFSj1TnkEgu%21X53ALSpTnhEATAgmcYJRWld8GUOJKJHvw==" target="_blank">https://www.mailcontrol.com/sr/kDWEHkhQGD!TndxI!oX7UnUYIb7wfOFWhagr5azsOIFSj1TnkEgu!X53ALSpTnhEATAgmcYJRWld8GUOJKJHvw==</a> ). ***<br>
<br>
<br>
**********************************************************************<br>
***** IMPORTANT INFORMATION *****<br>
This document should be read only by those persons to whom it is<br>
addressed and its content is not intended for use by any other<br>
persons. If you have received this message in error, please notify<br>
us immediately. Please also destroy and delete the message from<br>
your computer. Any unauthorised form of reproduction of this message<br>
is strictly prohibited.<br>
<br>
St George Bank Limited AFSL 240997, Advance Asset Management Limited<br>
AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited<br>
AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for<br>
the proper and complete transmission of the information contained in<br>
this communication, nor for any delay in its receipt.<br>
**********************************************************************<br>
<br>
<br>
-------------------------------------------------------------------------<br>
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!<br>
Studies have shown that voting for your favorite open source project,<br>
along with a healthy diet, reduces your potential for chronic lameness<br>
and boredom. Vote Now at <a href="http://www.sourceforge.net/community/cca08" target="_blank">http://www.sourceforge.net/community/cca08</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br>