Page 1 of 2
Capacity Planning Charts Missing, Planning Broken
Posted: Thu Oct 17, 2013 2:55 pm
by GldRush98
Didn't the Capacity Planning report used to draw charts?
It also seems like the analysis portion of it is broken and not actually putting out any prediction values.
Capacity Planning isn't something I use all the time so I'm not sure when this changed... but I know there used to be a graph that would graphically draw out and give you a decent predicted path of your growth/shrinkage.
I.E. here is a report for disk usage cap planning that is just giving me a text table with what seems to be broken data:
cap-planning-broke.png
Re: Capacity Planning Charts Missing, Planning Broken
Posted: Thu Oct 17, 2013 3:04 pm
by sreinhardt
That definitely does not appear correct. You are 100% right there was a nice pretty graph that should be at the top. Are you seeing anything in your apache error logs? What browser, and version of XI are you using?
Re: Capacity Planning Charts Missing, Planning Broken
Posted: Thu Oct 17, 2013 3:36 pm
by GldRush98
These 3 errors popped up in my log when I reloaded the Cap Planning page. Not sure if they're related or not...
Code: Select all
[Thu Oct 17 15:32:56 2013] [error] [client redacted] PHP Warning: arsort() expects parameter 1 to be array, null given in /usr/local/nagiosxi/html/includes/components/latestalerts/latestalerts.inc.php on line 517, referer: https://nagios.site.com/nagiosxi//includes/page-home-main.php?&=
[Thu Oct 17 15:32:56 2013] [error] [client redacted] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/latestalerts/latestalerts.inc.php on line 518, referer: https://nagios.site.com/nagiosxi//includes/page-home-main.php?&=
[Thu Oct 17 15:32:56 2013] [error] [client redacted] PHP Notice: Undefined variable: c in /usr/local/nagiosxi/html/includes/components/latestalerts/latestalerts.inc.php on line 521, referer: https://nagios.site.com/nagiosxi//includes/page-home-main.php?&=
Those might have been from someone else who had an operations screen up or something and unrelated to my reload... but those were the only things that popped up when I reloaded.
I am using Chrome 30. I just tried it in IE10 and it looks the same.
XI 2012R2.5
Re: Capacity Planning Charts Missing, Planning Broken
Posted: Thu Oct 17, 2013 3:40 pm
by GldRush98
It looks like the div where the graphic is supposed to be is just empty? Weird...
cap-planning-broke2.png
Re: Capacity Planning Charts Missing, Planning Broken
Posted: Thu Oct 17, 2013 4:59 pm
by yancy
GldRush98,
Can you verify the following exists:
Code: Select all
usr/local/nagiosxi/html/includes/components/highcharts/js/highcharts.js
-Yancy
Re: Capacity Planning Charts Missing, Planning Broken
Posted: Mon Oct 21, 2013 4:25 pm
by GldRush98
She's there:
-rw-r----- 1 nagios nagios 120K Oct 15 08:36 highcharts.js
Re: Capacity Planning Charts Missing, Planning Broken
Posted: Tue Oct 22, 2013 1:16 pm
by abrist
What version of the capacity planning component are you running? (go to Admin --> Manage Components for version number)
Re: Capacity Planning Charts Missing, Planning Broken
Posted: Tue Oct 22, 2013 2:18 pm
by GldRush98
1.5
Capacity Planning Report
Provides data extrapolation and capacity planning capability. Requires host authorization to view report.
Version: 1.5 Author: Nagios Enterprises, LLC
Re: Capacity Planning Charts Missing, Planning Broken
Posted: Tue Oct 22, 2013 2:26 pm
by nscott
Well since you've got the developer tools cracked open is there any errors showing up in the JS console? Are there any failures under the 'Network' tab of the Dev utils when you request the graph?
Also, you could take a gander at /usr/local/nagiosxi/var/components/capacityPlanning/capacityPlanning.log to see if thats got any indication of whats going on.
Re: Capacity Planning Charts Missing, Planning Broken
Posted: Thu Oct 24, 2013 4:35 pm
by GldRush98
nscott wrote:Well since you've got the developer tools cracked open is there any errors showing up in the JS console? Are there any failures under the 'Network' tab of the Dev utils when you request the graph?
Also, you could take a gander at /usr/local/nagiosxi/var/components/capacityPlanning/capacityPlanning.log to see if thats got any indication of whats going on.
No JS Console errors.
No network failures, all "200 OK".
The log file is completely empty
Code: Select all
-rw-r--r-- 1 apache nagios 0 Oct 24 16:30 /usr/local/nagiosxi/var/components/capacityplanning/capacityPlanning.log
I have also tried different browsers just to make sure it isn't browser related.