Page 2 of 2

Re: Difference between reboot en restart of nagios XI ?

Posted: Mon Sep 30, 2013 10:48 am
by DennisPR
@abrist
Restarting ndo2db after a reboot does not solve the issue

@srenhardt : I don't use an offloaded mysql DB. All files are on the system disk in de VMWare Virtual Machine. No othe perfomance changed in place.

Code: Select all

[root@myhost  ~]# ll /usr/local/nagios/var/ | grep cache
-rw-r--r-- 1 nagios nagios 4393645 Sep 30 17:42 objects.cache
[root@myhost  ~]# grep -i 'cache' /usr/local/nagios/etc/nagios.cfg
cached_host_check_horizon=15
cached_service_check_horizon=15
object_cache_file=/usr/local/nagios/var/objects.cache
precached_object_file=/usr/local/nagios/var/objects.precache

Re: Difference between reboot en restart of nagios XI ?

Posted: Mon Sep 30, 2013 11:02 am
by sreinhardt
OH, are you precaching? Let's take a look at how old that file is. This could certainly be causing issues with checks and how nagios is displaying items.

Code: Select all

ll /usr/local/nagios/var/objects.precache

Re: Difference between reboot en restart of nagios XI ?

Posted: Wed Oct 02, 2013 3:11 am
by DennisPR
Precaching ? Is this a default Nagios XI setting ?

the /usr/local/nagios/var/objects.precache file doesn't exist on my server
I only have the /usr/local/nagios/var/objects.cache file

Code: Select all

[root@myhost ~]# ll /usr/local/nagios/var/objects.*
-rw-r--r-- 1 nagios nagios 4535438 Oct  2 09:33 /usr/local/nagios/var/objects.cache

Re: Difference between reboot en restart of nagios XI ?

Posted: Wed Oct 02, 2013 9:14 am
by scottwilkerson
Can you attach your /etc/init.d/nagios so we can verify if any changes have taken place.

Thanks

Re: Difference between reboot en restart of nagios XI ?

Posted: Thu Oct 03, 2013 2:38 am
by DennisPR
I have added the .txt extension to the file to upload it.
nagios.txt

Re: Difference between reboot en restart of nagios XI ?

Posted: Thu Oct 03, 2013 10:09 am
by lmiltchev
This looked OK - I didn't see anything unusual. Go to Admin->System Profile->Download Profile, save the "profile.zip" file, and email it to [email protected]. This will give us more info (config snapshot, various logs, etc.).

Re: Difference between reboot en restart of nagios XI ?

Posted: Thu Mar 13, 2014 12:43 pm
by uidaho
Was a resolution to this ever discovered? We have the same symptoms, and also do not offload MySQL.

Re: Difference between reboot en restart of nagios XI ?

Posted: Thu Mar 13, 2014 1:24 pm
by abrist
I believe the db was corrupt, unrepairable. We had to roll back the db to a previous backup. Could you open a new thread and link this one? We try to keep support requests separate as similar issues could have different causes, and we do not want there to be confusion over which configs/symptoms are yours.

Re: Difference between reboot en restart of nagios XI ?

Posted: Thu Mar 13, 2014 1:26 pm
by lmiltchev
Was a resolution to this ever discovered? We have the same symptoms, and also do not offload MySQL.
We were not able to recreate the issue in house and DennisPR never responded to our email from 10/08/2013 14:17. I am not sure if DennisPR posted a bug report on our bug tracker or not.