Page 1 of 1

Capacity Planning Report - Spinning wheel thing...

Posted: Thu Oct 11, 2012 5:41 pm
by scobi
Greetings! Just upgraded to 2012R1.0 and trying to use the highly anticipated Capacity Planning Report. When I press "Calculate", I get a spinning wheel icon and the report never completes.

Thoughts or suggestions?

Thanks!

Re: Capacity Planning Report - Spinning wheel thing...

Posted: Fri Oct 12, 2012 9:11 am
by mguthrie
Are you getting this for all hosts and services, or just a single one?

Lets start by making sure all of the files for it are executable.

Code: Select all

chmod -R +x /usr/local/nagiosxi/html/includes/components/capacityplanning
Also, do you get any errors in /var/log/httpd/error_log when accessing one of the reports?

Re: Capacity Planning Report - Spinning wheel thing...

Posted: Fri Oct 12, 2012 12:08 pm
by scobi
Hi! If I let the report auto generate it displays fine. If I try to adjust the settings then click "Calclute" is when I have the issue.

Ran permissions command, no change.

Logs show the following notice when I try to calculate: [notice] child pid 500 exit signal Segmentation fault (11)

Thanks!

Re: Capacity Planning Report - Spinning wheel thing...

Posted: Fri Oct 12, 2012 1:10 pm
by mguthrie
Just to test a theory, can you install this version of the component and see if the issue is resolved?

Re: Capacity Planning Report - Spinning wheel thing...

Posted: Fri Oct 12, 2012 1:47 pm
by scobi
My hero!

A couple devices work (but most still don't).
I can click calculate on some and only receive the data, just the chart gets a spinning wheel and doesn't draw...
Other services have the original behavior.

Making progress!

:-)

Re: Capacity Planning Report - Spinning wheel thing...

Posted: Fri Oct 12, 2012 2:39 pm
by mguthrie
So just to verify, some services are working, but some still generate a segfault error in /var/log/httpd/error_log?

If you're still getting the segfault then the actual source of the issue may be elsewhere...

Re: Capacity Planning Report - Spinning wheel thing...

Posted: Fri Oct 12, 2012 3:56 pm
by scobi
Hi!

On the items that can't calculate and and draw graph, we still generate the segfault notice...

Thanks for looking into this!

Re: Capacity Planning Report - Spinning wheel thing...

Posted: Mon Oct 15, 2012 11:43 am
by mguthrie
I resent the Capacity Planning component to you in a PM. I attached the wrong report the first time, sorry about that :?

Re: Capacity Planning Report - Spinning wheel thing...

Posted: Mon Oct 15, 2012 2:09 pm
by scobi
"Flawless victory".... :-)

The updated module fixed the issue, I can now run Capacity Planning Reports!!!

Sweet!

Thanks for your support!