Nagios hangs while performing applying configuration
Nagios hangs while performing applying configuration
One of my coworkers is trying to get his forum account access to the customer section. Instead of doing a double post with the issue all over again, could we continue the issue here as this seems to be more of the offical way for customers to contact you?
Nagios hangs while performing applying configuration:
http://support.nagios.com/forum/viewtop ... f=6&t=7516
Kind Regards,
Doron
Nagios hangs while performing applying configuration:
http://support.nagios.com/forum/viewtop ... f=6&t=7516
Kind Regards,
Doron
Re: Nagios hangs while performing applying configuration
I recall someone telling me that ndoutils comes packaged with Nagios XI, is this accurate?
Also is it okay to run 1.4b9 instead of 1.5.x w/ nagios XI. We had issues getting 1.5.x to work in nagios 3.0, but we got 1.4b9 working with it. I heard in order to get 1.5.x to work in Nagios we might have to modify kernel paramaters. Modifying the kernel is something we are unable to do, due to corporate policies.
Also is it okay to run 1.4b9 instead of 1.5.x w/ nagios XI. We had issues getting 1.5.x to work in nagios 3.0, but we got 1.4b9 working with it. I heard in order to get 1.5.x to work in Nagios we might have to modify kernel paramaters. Modifying the kernel is something we are unable to do, due to corporate policies.
Re: Nagios hangs while performing applying configuration
Our installation scripts actually update the kernel parameters to meet the needs of most installations, so unless the installation is quite large you shouldn't need to make any additional modifications to the kernel parameters. We don't recommend downgrading ndoutils.
Re: Nagios hangs while performing applying configuration
So does ndoutils not come standard w/ Nagios XI? I am a bit confused since I see the ndoutils binary and the init.d script.
Re: Nagios hangs while performing applying configuration
Lets try and keep all questions on this issue on this thread here. There's a duplicate in the general forum here:
http://support.nagios.com/forum/viewtop ... f=6&t=7516
as well as our ticketing system. Lets keep this issue here in the customer forum going forward, it should keep things less confusing for everyone.
Quoted from other thread:
http://support.nagios.com/forum/viewtop ... f=6&t=7516
as well as our ticketing system. Lets keep this issue here in the customer forum going forward, it should keep things less confusing for everyone.
Quoted from other thread:
Ok, lets back up a little bit and clarify a few things. Nagios XI ships with ndoutils, and does all of the setup for you. You should not have to make any modifications to that aspect at all in order for it to work.
Is this a freshly installed system?
Did you install this on a clean system? (Fresh install of CentOS or RHEL, no other previous uses for this machine?)
Re: Nagios hangs while performing applying configuration
No problem, I understand, we posted here as this appears to have quicker resposne than the other one.
To answer your question, this is a fresh install of RHEL that we installed Nagios XI on. The install didn't go as smoothly (proxy settings) as I hoped, though this seems to be the only issue we faced.
To answer your question, this is a fresh install of RHEL that we installed Nagios XI on. The install didn't go as smoothly (proxy settings) as I hoped, though this seems to be the only issue we faced.
Re: Nagios hangs while performing applying configuration
Can you post a directory listing of the following two directories?
If things don't look quite right I may have you reinstall the ndoutils subcomponent.
Code: Select all
ls -l /usr/local/nagios/var
ls -l /usr/local/nagios/etcRe: Nagios hangs while performing applying configuration
Code: Select all
tmproot@usa0300lv725>ls -l /usr/local/nagios/var
total 36476
drwxrwxr-x 2 nagios nagios 4096 Sep 28 00:00 archives
-rw-rw-r-- 1 nagios users 389884 Sep 28 17:20 host-perfdata
-rw-r--r-- 1 nagios nagios 6 Sep 28 15:22 nagios.lock
-rw-r--r-- 1 nagios nagios 35913134 Sep 28 17:21 nagios.log
-rw-r--r-- 1 nagios nagios 5 Sep 28 16:47 ndo2db.lock
-rw-rw-r-- 1 nagios nagios 0 Aug 8 22:57 ndomod.tmp
-rw-r--r-- 1 nagios nagios 2252 Sep 15 05:42 npcd.log
-rw-r--r-- 1 nagios nagios 304655 Sep 28 15:22 objects.cache
-rw-rw-rw- 1 nagios nagios 2086 Jul 27 00:14 perfdata.log
-rw------- 1 nagios nagios 317051 Sep 28 16:22 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Sep 28 15:22 rw
-rw-rw-r-- 1 nagios nagios 0 Sep 28 17:21 service-perfdata
drwxrwxr-x 5 nagios nagios 4096 Jul 25 20:06 spool
drwxr-xr-x 2 nagios nagios 4096 Aug 8 22:57 stats
-rw-rw-r-- 1 nagios nagios 324492 Sep 28 17:21 status.dat
tmproot@usa0300lv725>ls -l /usr/local/nagios/var
total 36476
drwxrwxr-x 2 nagios nagios 4096 Sep 28 00:00 archives
-rw-rw-r-- 1 nagios users 389884 Sep 28 17:20 host-perfdata
-rw-r--r-- 1 nagios nagios 6 Sep 28 15:22 nagios.lock
-rw-r--r-- 1 nagios nagios 35913134 Sep 28 17:21 nagios.log
-rw-r--r-- 1 nagios nagios 5 Sep 28 16:47 ndo2db.lock
-rw-rw-r-- 1 nagios nagios 0 Aug 8 22:57 ndomod.tmp
-rw-r--r-- 1 nagios nagios 2252 Sep 15 05:42 npcd.log
-rw-r--r-- 1 nagios nagios 304655 Sep 28 15:22 objects.cache
-rw-rw-rw- 1 nagios nagios 2086 Jul 27 00:14 perfdata.log
-rw------- 1 nagios nagios 317051 Sep 28 16:22 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Sep 28 15:22 rw
-rw-rw-r-- 1 nagios nagios 0 Sep 28 17:21 service-perfdata
drwxrwxr-x 5 nagios nagios 4096 Jul 25 20:06 spool
drwxr-xr-x 2 nagios nagios 4096 Aug 8 22:57 stats
-rw-rw-r-- 1 nagios nagios 324492 Sep 28 17:21 status.dat
Re: Nagios hangs while performing applying configuration
Okay, I think I see what happen, though I don't know this will completely fix our problem. It looks like the two files: ndomod.cfg & ndo2db.cfg were never copied properly (they didn't exist in the server except in the /tmp install location). I copied them over and ndo2db is starting, at least that is what it says in the console and in the GUI. We will try to apply the configuration to see if all goes well.
Re: Nagios hangs while performing applying configuration
How long should Applying Configuration take?
They waited a couple hours the other day and then quit, it has been running for about 10-15mins so far.
-Doron
Code: Select all
Command submitted for processing...
Waiting for configuration verification...........................n
-Doron