nagios upgrade from 4.0.7 to 4.2 interface very slow

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
chrislewis28
Posts: 11
Joined: Tue Jun 04, 2013 6:49 am

nagios upgrade from 4.0.7 to 4.2 interface very slow

Post by chrislewis28 »

Hi,

After upgrading from nagios 4.0.7 to Nagios 4.2 the web interface is extremely slow. Accessing e.g. the "problems" page takes around 60 seconds to load previously it was less than 5 seconds. The instance is large as it has 800 hosts and > 30k services.

Any ideas if this is normal behavior or how to debug further?

Chris
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: nagios upgrade from 4.0.7 to 4.2 interface very slow

Post by Box293 »

There is a known issue with 4.2.0 and the verify taking a long time, this could be related.

The maint branch on GitHub has a fix for it:

https://github.com/NagiosEnterprises/na ... tree/maint

4.2.1 is due to be released early September.

Are you seeing any errors in /var/log/httpd/*_log ?

What OS is Nagios running on?

Do you use http or https in your apache config?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
chrislewis28
Posts: 11
Joined: Tue Jun 04, 2013 6:49 am

Re: nagios upgrade from 4.0.7 to 4.2 interface very slow

Post by chrislewis28 »

Hi,

I did see that bug in my research but it doesn't fit as the verify command works fine for me.

I didn't check the http logs before rolling back.

Nagios is running on Ubuntu 14.04 LTS 64 bit

Only use http.

Chris
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: nagios upgrade from 4.0.7 to 4.2 interface very slow

Post by rkennedy »

The apache logs would help out quite a bit as to see if it's looping on a timeout or what not.

I did see the maint branch working for another customer as well, which seems to be a similar issue to yours. https://support.nagios.com/forum/viewto ... 99#p194887

Could you test the maint branch in development, to see if this fixes your issue? Even if the -v works, it could still be related.
Former Nagios Employee
Locked