SLA Report Slow to Load

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ssoliveira
Posts: 91
Joined: Wed Dec 07, 2016 6:02 pm

SLA Report Slow to Load

Post by ssoliveira »

Good afternoon,

The SLA report page is too slow.
It stays in loading infinite.

We're trying to analyze what I can see.
As the sla.php page is encrypted, I can not see which queries it does.

I believe it could be the database, which needs indexes, etc.

Could you help me by passing me the procedures for evaluating the health of the database, and if I need some optimization in the tables?
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SLA Report Slow to Load

Post by scottwilkerson »

Unfortunately, the SLA report uses very little out if the database, it as well as the availability reports must process the nagios.log files and archives, and having them on fast disks in really the only way to speed up the reports.

We do have a planned re-write of these reports to use info from the database but that is several versions out.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ssoliveira
Posts: 91
Joined: Wed Dec 07, 2016 6:02 pm

Re: SLA Report Slow to Load

Post by ssoliveira »

Hi Scot,

Thank you.

We were using Nagios as part of our high availability processes; together with the ISO 20000/20001 auditors.

I will study moving the data to a faster disk, however, we already have a LUN in a Storage VMAX HighEnd, so I think we can not add more IEE performance.

Is there any kind of log that I can analyze? Even when I request a short period report; as 24 hours; It has taken a long time (sometimes it opens, but most of the time it runs until the browser gives timeout).
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SLA Report Slow to Load

Post by scottwilkerson »

ssoliveira wrote:Is there any kind of log that I can analyze?
This is part of the problem, the calculations are currently done by parsing nagios.log and all of the logs in /usr/local/nagios/var/archives
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked