Capacity Planning Charts Missing, Planning Broken
Capacity Planning Charts Missing, Planning Broken
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:
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:
You do not have the required permissions to view the files attached to this post.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Capacity Planning Charts Missing, Planning Broken
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?
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.
Re: Capacity Planning Charts Missing, Planning Broken
These 3 errors popped up in my log when I reloaded the Cap Planning page. Not sure if they're related or not...
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
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?&=
I am using Chrome 30. I just tried it in IE10 and it looks the same.
XI 2012R2.5
Last edited by GldRush98 on Thu Oct 17, 2013 3:45 pm, edited 2 times in total.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Re: Capacity Planning Charts Missing, Planning Broken
It looks like the div where the graphic is supposed to be is just empty? Weird...
You do not have the required permissions to view the files attached to this post.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Re: Capacity Planning Charts Missing, Planning Broken
GldRush98,
Can you verify the following exists:
-Yancy
Can you verify the following exists:
Code: Select all
usr/local/nagiosxi/html/includes/components/highcharts/js/highcharts.js
Re: Capacity Planning Charts Missing, Planning Broken
She's there:
-rw-r----- 1 nagios nagios 120K Oct 15 08:36 highcharts.js
-rw-r----- 1 nagios nagios 120K Oct 15 08:36 highcharts.js
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Re: Capacity Planning Charts Missing, Planning Broken
What version of the capacity planning component are you running? (go to Admin --> Manage Components for version number)
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.
"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.
Re: Capacity Planning Charts Missing, Planning Broken
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
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Re: Capacity Planning Charts Missing, Planning Broken
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.
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.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Capacity Planning Charts Missing, Planning Broken
No JS Console errors.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 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.logProd XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2