NDOmod(nagios)::: "ndomod: Error writing to data sink!" error
hi,
How do I fix it? Thanks Code:
grep -v '#' ndo2db.cfg Code:
Code:
Code:
Jan 29 14:33:36 localhost kernel: ndo2db[7845]: segfault at 00007fff2d15dff0 rip 0000003a8e65ff50 rsp 00007fff2d15e008 error 6 |
Quote:
Are you losing any data?? Because the messages we had to wade through, say you're not...it's reconnecting and putting things away. So either it's not a problem, or you ARE missing data. Check the ownership on the ndo.sock file....and since this was covered on the Nagios forums, it should be easy to find there. |
RHEL 5.3
Nagios Core 3.2.0 NDO is version 3. Code:
Code:
|
Quote:
Just shoving a list of things out there, still doesn't give alot for folks to go on, without saying what you've already DONE. |
I did go through nagios forum. Only problem I found close to mine was some one miss-configured ndomod.cfg file.
I did look for ndo2db file could not find it. Is it named some thing other then ndo2db? Code:
find /usr -name "ndo2db*" |
This was fixed.
I was trying to configure Nagvis too. That too had issue connecting DB(nagios). So I just deleted 1-NDO(config/bin) 2-Nagvis 3-DB(agios) 4-user(nagios) And then install every thing again. Its working how :) Thanks. |
Nagios: Error writing to data sink!
Hi all,
me a new member of Nagios. trying to install nagios for cacti npc. I installed nagios ndoutils using nagioswiki.com/wiki/index.php/NDOutils_on_CentOS But when i start nagios service it shows following errors ndomod: Error writing to data sink! Some output may get lost... ndomod: Please check remote ndo2db log, database connection or SSL Parameters Mine configuration files are as:----- ndomod.conf output_type=unixsocket output=/var/run/nagios/ndo.sock ndo2db.conf ndo2db_user=nagios ndo2db_group=nagios socket_type=unix socket_name=/var/run/nagios/ndo.sock db_servertype=mysql db_host=ip of cacti server db_name=cacti db_prefix=npc_ db_user=cactiuser db_pass=cactiuser debug_level=1 nagios.cfg event_broker_options=-1 broker_module=/usr/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg Any one who can help do this favor. Thanks Sourabh |
Quote:
And as we said to the OP of this thread....did you check the logs? Check the DB parameters??? The errors are quite clear. |
All times are GMT -5. The time now is 01:46 PM. |