Page 7 of 8
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Tue Jun 03, 2014 10:20 am
by tmcdonald
majed wrote:i don't have multiple cores running and it is not wise to reinstall ubuntu. It's better to make a new virtual machine with new ubuntu and install both from source. I will repost after doing it.
Reinstall vs new VM should have the same effect. The multiple Cores was based on your output and the symptoms, almost sounds like the source and repo versions are conflicting.
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Tue Jun 03, 2014 11:09 am
by majed
i wish that were true, it would be an easy fix.
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Tue Jun 03, 2014 11:49 am
by tmcdonald
majed wrote:i wish that were true, it would be an easy fix.
Did the new VM not work?
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Wed Jun 04, 2014 1:06 am
by majed
i will post the results when i have time to do this venture.
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Wed Jun 04, 2014 11:20 am
by tmcdonald
Alright then. I know it's a bit of a hassle, but a clean slate is always easier to work with.
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Thu Jun 26, 2014 7:06 am
by majed
ok i install debian with nagios 4 from source and ndo2db. it worked for a while but after a while the same problem.
in /usr/local/nagios/var/nagios.log
ndomod: Still unable to connect to data sink. 10098 items lost, 5000 queued items to flush
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Thu Jun 26, 2014 4:59 pm
by tmcdonald
What versions of Debian, Nagios, and MySQL are you running? And for that matter, how many checks?
And is this a true Debian install or a derivative like Ubuntu?
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Mon Jun 30, 2014 12:48 pm
by majed
root@oversun:~# uname -r
3.2.0-4-486
installed from debian-live-7.4-i386-lxde-desktop.iso
nagios is the latest version 4.0.7
mysql version : Server version: 5.5.37-0+wheezy1 (Debian)
i am checking 10 hosts
it's probably a true debain install
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Tue Jul 01, 2014 2:25 pm
by lmiltchev
What is the output of:
Try stopping nagios and ndo2db, then run:
Code: Select all
/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
/etc/init.d/nagios start
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Thu Jul 03, 2014 1:37 pm
by majed
root@oversun:~# ps -ef | grep ndo2db
root 26468 26418 0 21:32 pts/0 00:00:00 grep ndo2db
root@oversun:~# /etc/init.d/ndo2db stop
ndo2db was not running... could not stop
root@oversun:~# /etc/init.d/nagios stop
Stopping nagios: .done.
root@oversun:~# /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
Could not bind socket: Address already in use
root@oversun:~# /etc/init.d/ndo2db start Starting ndo2db:Could not bind socket: Address already in use
done.
root@oversun:~# /etc/init.d/nagios start Starting nagios: done.
root@oversun:~#
any ideas?