Website Logo. Upload to /source/logo.png ; disable in /source/_includes/logo.html

Zuzur’s wobleg

technology, Internet, and a bit of this and that (with some dyslexia inside)

Notebook: Nagios / Ndo2db on centOS 5.5 64 Bits

| Comments

Trying to setup nagios 3.1 with ndo2db on a 64bits platform, ndo2bd may not work properly and crash over and over.

The symptoms are:

1
[1286679019] ndomod: Still unable to connect to data sink.  7575 items lost, 5000 queued items to flush.

in the nagios log file and /var/log/messages containing reports of ndo2db segfaults …

1
Oct 10 12:52:26 ip-10-112-41-174 kernel: ndo2db[15666]: segfault at 00007fff8701cff8 rip 00002aaaabf2d211 rsp 00007fff8701d000 error 6

Apparently, this comes from ndo2db being improperly linked to a 32bits version of the mysql client lib.

You need to configure ndo2db like this :

1
./configure --prefix=/opt/nagios --enable-mysql --disable-pgsql --with-ndo2db-user=nagios --with-ndo2db-group=nagios --with-mysql-lib=/usr/lib/mysql

then you can go on and install ndo2db as documented, nagios will happily log events into you supervision database

Comments