Page 8 of 8
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Thu Jul 03, 2014 2:39 pm
by lmiltchev
OK, try running:
Code: Select all
rm -f /usr/local/nagios/var/ndo.sock
/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Thu Jul 03, 2014 4:04 pm
by majed
root@oversun:~# rm -f /usr/local/nagios/var/ndo.sock
root@oversun:~# /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
root@oversun:~# /etc/init.d/ndo2db start
ndo2db already started...
root@oversun:~# /etc/init.d/ndo2db restart
Stopping ndo2db: head: cannot open `/usr/local/nagios/var/ndo2db.lock' for reading: No such file or directory
done.
Starting ndo2db: done.
root@oversun:~# /etc/init.d/nagios restart
Running configuration check...
Stopping nagios: .done.
Starting nagios: done.
root@oversun:~#
log file /usr/local/nagios/var/nagios.log
Code: Select all
ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1404421290] ndomod: Successfully connected to data sink. 4589 queued items to flush.
i guess it worked. i will see for how long
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Mon Jul 07, 2014 9:55 am
by tmcdonald
Still holding up?
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Tue Jul 08, 2014 1:12 am
by majed
today i checked, i isn't working since july 6
still unable to connect to data sink. must be because the system restarted. so must i remove the socket every time i restart the system?
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Tue Jul 08, 2014 11:03 am
by sreinhardt
You should only have to remove a socket file if the application using it was not stopped properly. A proper reboot should stop all services gracefully, it sounds like you are having issues with hard reboots that are not doing this, which will absolutely cause issues such as this.
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Wed Jul 09, 2014 6:37 pm
by majed
well you are right, it is not a normal shutdown, the virtual machine is being closed/ beyond my knowledge by whom. buy nothing is affected except mrtg and ndo2db. i presume enhancements need to be made to this software. So much time has passed since i installed ndo2db, what is it supposed to do again?
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Thu Jul 10, 2014 3:02 pm
by slansing
Yeah, NDO will not be happy when the power is pulled, I suggest you research NDO2DB before continuing to set it up as there will be pointers in there as well.
http://nagios.sourceforge.net/docs/ndou ... OUtils.pdf
Re: problem installing ndo2db/ndoutils on nagios 3.2.3
Posted: Fri Jul 11, 2014 9:30 am
by slansing
So much time has passed since i installed ndo2db, what is it supposed to do again?
Well... that is what you asked for.
I'm going to split your question off to a new thread as it sounds like NDO itself has been installed properly now. In your new thread, let us know if this is not the case.
The new thread is here:
http://support.nagios.com/forum/viewtop ... =7&t=28185