Error Writing To Data Sink Nagios
Members Icinga PNP Icinga Exchange Monitoring Plugins NagVis Undone Threads Go to Page Bottom Sitemap monitoring-portal.org » Forum » Nagios » NDOUtils » NDO 1.4.7b problem - ndomod: Error writing to data sink! This site uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. More details Your browser has JavaScript disabled. If you would like to use all features of this site, it is mandatory to enable JavaScript. qlman Beginner Posts 6 Number of hosts 2 Number of services 20 Operating Systems CentOS 1 NDO 1.4.7b problem - ndomod: Error writing to data sink! May 8th 2008, 11:05am Hello Nagios 3.0.1, NDO 1.4.7b plugins 1.4.11 OS CentOS 5.1 32 bit I have nagios working with out ndo but when i compiled ndo modules i have in my nagios.log : [1210216381] ndomod: Successfully flushed 75 queued items to data sink. [1210216381] ndomod: Error writing to data sink! Some output may get lost... My netstat -l: Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 45925 /opt/nagios/var/ndo.sock unix 2 [ ACC ] STREAM LISTENING 32156 /data/mysql/mysql.sock Permission on ndo.sock are: srwxr-xr-x 1 nagios nagios 0 May 8 05:10 ndo.sock I can log into mysql with user nagios nad password, i can add data manualy. I also compiled plugins --with-mysql options. I have disabled SElinux. my ndo2db.cfg ndomod.cfg was configured like in NDO documentation. Quote Report Content Go to Page Top einhorn Student Posts 94 Number of hosts x00 Number of services x0000 Operating Systems Suse 9.3 2 May 8th 2008, 1:18pm Hello qlman! Can you read german, too? Then you could read this: Error writing to data sink, ein Erfahrungsbericht Do you get any data in your database from nagios? -- You have the text "successfully flushed" which means, something could be written (to the pipe at first?). Is your installation of ndo a new one? Bernd Quote Report Content Go to Page Top qlman Beginner Posts 6 Number of hosts 2 Number of services 20 Operating Systems CentOS 3 May 8th 2008, 1:23pm I can't read german danke is only word i understand. My ndo instalation is the new one. I also don't have any data in mysql database even: mysql> SELECT * FROM nagios.nagios_conninfo; return: Empty set (0.00 sec) Quote
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop https://monitoring-portal.org/index.php?thread/10194-ndo-1-4-7b-problem-ndomod-error-writing-to-data-sink/ file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse Nagios Core Mailing Lists Nagios Core Nagios network monitoring software is enterprise server monitoring Brought to you by: egalstad, swilkerson Summary Files Reviews Support Wiki Mailing Lists Donate SVN CVS Git â–¾ Nagios BPI Nagios Core Nagios Core Docs Nagios V-Shell NDOUtils NRDP https://sourceforge.net/p/nagios/mailman/nagios-users/thread/b3iw33nyb6ngugtvetlojmlc.1328294050519@email.android.com/ NRPE NSCA NSTI nagios-announce nagios-checkins nagios-devel nagios-devteam nagios-drama nagios-project nagios-users nagios-users-br nagios-users-ru nagios-users [Nagios-users] Fwd: Re: FW: NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush From: Ftlnagios
com> Date: 2012-02-03 17:50:21 Message-ID: CA+1N849kNDfGp7yy_mGOBJP8jfovgQ-wPzF5636ojAuecPcY8g () mail ! gmail ! com [Download message RAW] [Attachment #2 (multipart/alternative)] In ndo2db.cfg, is the username and password to connect to the db correct? db_user=nagios http://marc.info/?l=nagios-users&m=132829172022962 db_pass=nagios I had a similar error, and that was how I fixed it. On Fri, Feb 3, 2012 at 12:37 PM, FTL Nagios
µÄBLOG дÁôÑÔȥѧԺѧϰ·¢ÏûÏ¢ ¼ÓÓÑÇéÁ´½Ó½ø¼ÒÔ° ¼ÓºÃÓÑ 2012Äê¶ÈIT²©¿Í´óÈüÊ®´ó½Ü³öIT²©¿Íµ®Éú ²©¿Íͳ¼ÆÐÅÏ¢ Óû§Ãû£ºylive ÎÄÕÂÊý£º23 ÆÀÂÛÊý£º2 ·ÃÎÊÁ¿£º32137 ÎÞÓDZңº20 ²©¿Í»ý·Ö£º118 ²©¿ÍµÈ¼¶£º2 ×¢²áÈÕÆÚ£º2009-07-30 ÈÈÃÅרÌâ ¸ü¶à>> ÿÌì5·ÖÖÓÍæת OpenStack ÔĶÁÁ¿£º5863 ¡¾51CTOÈýÖÜÄê¡¿ÎÒÔÚѧԺ²»µÃ²»ËµµÄÊÕ»ñ ÔĶÁÁ¿£º12276 ´Ó²ËÄñµ½ÀÏÄñ-½ÌÄãÍæתMac²Ù×÷ϵͳ ÔĶÁÁ¿£º343212 QTѧϰ֮·£º´ÓÈëÃŵ½¾«Í¨ ÔĶÁÁ¿£º1044226 ÈÈÃÅÎÄÕ perl DBIʹÓÃÏê½â mysqlÈÕÆÚº¯Êýʱ¼äº¯Êý¼°.. ʹÓÃNDOUtils½«Nagios¼à.. bind9 ÅäÖÃ˵Ã÷ nagios ntop cacti ÕûºÏ ulimit Cacti/nagios/ntopÕûºÏÖ®.. JS¶þ¼¶Áª¶¯¶àÑ¡¿ò ËÑË÷BLOGÎÄÕ ×î½ü·Ã¿Í china.. nanti.. gdcfjy wenshang wo_sb shori.. jenguo byandong chian.. Gasto.. xjxia.. scqcm ×îÐÂÆÀÂÛ Ö»ÓиüºÃ£ºÄãºÃ£¬ÎÒ°´ÕÕÉÏÃæµÄ²½ÖèÅÅ´íÁË£¬µ«.. yisky£ºÖ§³ÖһϠ51CTOÍƼö²©ÎÄ ¸ü¶à>> ¼¼ÊõÈ˵ÄΣ»ú-·ÇÀíÐԵķ±ÈÙ ×ܱàÏÂÎç²è£º¼¼ÊõÀÏÄÐÈ˵Ĵ´Òµ¾ ²úÆ·ÔËÓª¾Ñé·ÖÏí£ºÎÒ×öÔÚÏß½ÌÓý.. ij´óÐÍÆóҵ˽ÓÐÔƽ¨Éè˼·½âÎö ÈÃVeritasÊý¾Ý¸ß¿ÉÓÃÈÝÔÖÊÍ·ÅÄãµÄ.. ÆÆǽ¶øÈë¿´µçÊÓ 51CTO¸å³ê±ê×¼2016°æÕýʽ·¢²¼£¡ CactiͼÐÎÊý¾Ý×Ô¶¯µ¼³ö½Å±¾(Ò») CheungSSH¹ú²ú×Ô¶¯»¯ÔËά¹¤¾ß¿ªÔ´.. ¡¾×ܱàÏÂÎç²è¡¿Ò»³¡¹ØÓÚËĺÏÔººÍ.. ÄÔ¶´ÎÄ֮ȥ»ðÐǸãIT! ÓÑÇéÁ´½Ó IT¾«Æ·¿Î³Ì 51CTO²©¿Í¿ª·¢ ¼¼ÊõÈ˲ÅÕÐƸ ²©Ö÷µÄ¸ü¶àÎÄÕÂ>> ʹÓÃNDOUtils½«Nagios¼à¿ØÐÅÏ¢´æÈëmysql 2010-10-11 10:12:50 ±êÇ©£ºnagios ndoutils mysql nagios mysql Êý¾Ý¿â ÐÝÏÐ 1.NDOUtils°²×°ÐèÇó nagios mysql cpan DBI #·Ç±ØÐè cpan DBD::mysql #·Ç±ØÐè 2.¹ØÁªmysqlÍ·ÎļþºÍ¿â ²»×ö¹ØÁª¿ÉÄÜÔÚconfig»òmakeʱ³ö´í ln -s /opt/mysql/include/* /usr/include/ ln -s /opt/mysql/lib/* /usr/lib/ echo '/usr/lib' >> /etc/ld.so.conf ldconfig -v 3.°²×°ndoutils http://sourceforge.net/project/showfiles.php?group_id=26589 wget -c http://nchc.dl.sourceforge.net/sourceforge/nagios/ndoutils-1.4b7.tar.gz tar zxvf ndoutils-1.4b7.tar.gz cd ndoutils-1.4b7 ./configure --prefix=/usr/local/nagios --enable-mysql --disable-pgsql LDFLAGS=-L/opt/mysql/lib --with-mysql-inc=/opt/mysql/include/mysql --with-mysql-lib=/opt/mysql/lib/mysql *configʱʹÓÃÒÔÏÂmysql²ÎÊý --with-mysql-inc=/opt/mysql/include --with-mysql-lib=/opt/mysql/lib #config³É¹¦ #make³ö´í *configʱʹÓÃÒÔÏÂmysql²ÎÊý --with-mysql-inc=/opt/mysql/include/mysql --with-mysql-lib=/opt/mysql/lib/mysql #config³ö´í #make³É¹¦²¢Éú³ÉÎļþ #Æô¶¯ndo2db»á³ö´í *ûÓÐLDFLAGS=-L/opt/mysql/lib LDFLAGS=-L/opt/mysql/lib #ndo2db²»Äܵ¼Èëµ½Êý¾Ý¿â Ïà¹Ø´íÎó In file included from io.c:10: ../include/config.h:261:25: mysql/mysql.h: ûÓÐÄǸöÎļþ»òĿ¼ ../include/config.h:262:26: mysql/errmsg.h: ûÓÐÄǸöÎļþ»òĿ¼ make[1]: *** [io.o] ´íÎó 1 checking for mysql/mysql.h... no *** MySQL include file