Difference between reboot en restart of nagios XI ?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
DennisPR
Posts: 149
Joined: Mon May 07, 2012 10:34 am

Re: Difference between reboot en restart of nagios XI ?

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Difference between reboot en restart of nagios XI ?

Post 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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
DennisPR
Posts: 149
Joined: Mon May 07, 2012 10:34 am

Re: Difference between reboot en restart of nagios XI ?

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Difference between reboot en restart of nagios XI ?

Post by scottwilkerson »

Can you attach your /etc/init.d/nagios so we can verify if any changes have taken place.

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
DennisPR
Posts: 149
Joined: Mon May 07, 2012 10:34 am

Re: Difference between reboot en restart of nagios XI ?

Post by DennisPR »

I have added the .txt extension to the file to upload it.
nagios.txt
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Difference between reboot en restart of nagios XI ?

Post 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.).
Be sure to check out our Knowledgebase for helpful articles and solutions!
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: Difference between reboot en restart of nagios XI ?

Post by uidaho »

Was a resolution to this ever discovered? We have the same symptoms, and also do not offload MySQL.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Difference between reboot en restart of nagios XI ?

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Difference between reboot en restart of nagios XI ?

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked