Page 1 of 1
Capacity Planning Report Question
Posted: Tue Dec 05, 2017 8:36 am
by mhoward6817
So I have two questions.
1. Is there a way to filter by both host group and service group at the same time. For instance I have a service group that runs disk utilization. However it returns all boxes. Is there a way I can run the service group and then narrow down to the host group?
2. Every time I attempt to schedule this report or immediately download the report into PDF or JPG, it times my system out. I then must go in and restart the service. Is there something I can do to retrieve this report?
Thanks in advance.
Re: Capacity Planning Report Question
Posted: Tue Dec 05, 2017 12:16 pm
by eloyd
Re #1 - that's a great feature request!
Re #2 - lots of things could be causing this, but does it only happen when you try to schedule or download the capacity planning report, or is it on any report?
Re: Capacity Planning Report Question
Posted: Tue Dec 05, 2017 3:47 pm
by dwhitfield
A new report management system is coming in XI 6.0. It's too early to say whether this will be in there or not, but keep an eye on
https://www.nagios.com/roadmaps/ to see when XI 6.0 will come out.
As for the issue at hand, in /etc/php.ini. please change the following to the listed numbers (unless the numbers are higher than these):
max_execution_time = 60
max_input_time = 120
memory_limit = 256M
Also, please add the following line:
max_input_vars = 10000
After making these changes you'll need to restart the httpd service:
# service httpd restart
In most circumstances, I would ask for a profile at this point, but since you don't have two approved posts yet, you won't be able to PM a profile. Let us know if the PHP settings resolve things and if not we'll grab a profile. I'm not going to give you instructions for downloading it yet because I want to make sure you make the PHP changes first so the profile captures what happens after you've made the changes.
Re: Capacity Planning Report Question
Posted: Wed Dec 06, 2017 7:26 am
by mhoward6817
@eloyd yes it appears to only be affecting the capacity planning report on the filter I choose. I can run other cap plan reports and it will produce a report either scheduled or downloaded.
@dwhitfield I will forward your recommendations over to my enablement team who manages the script work on the Nagios server and see if that alleviates the problem.
Will post any status updates when available.
Thank you
Re: Capacity Planning Report Question
Posted: Wed Dec 06, 2017 2:31 pm
by lmiltchev
Will post any status updates when available.
Sure. We will keep the thread open for the time being.
Re: Capacity Planning Report Question
Posted: Thu Dec 07, 2017 2:09 pm
by mhoward6817
So the solution provided by dwhitfield was implemented and with that configuration, it allowed for the report to be generated. So that checkbox is now checked off.
However, still attempting to find a solution to filter first by service group and then a subsequent hostgroup filter, so that I can narrow down my targets.
Is this possible or not capable due to the current version of Nagios?
Re: Capacity Planning Report Question
Posted: Thu Dec 07, 2017 5:01 pm
by lmiltchev
Currently, we do not have a way in the UI to filter by both service and hostgroup anywhere.
Re: Capacity Planning Report Question
Posted: Fri Dec 08, 2017 10:05 am
by eloyd
lmiltchev wrote:Currently, we do not have a way in the UI to filter by both service and hostgroup anywhere.
I think we should.

Re: Capacity Planning Report Question
Posted: Fri Dec 08, 2017 11:37 am
by lmiltchev
@mhoward6817 @eloyd I added a new internal feature request for applying multiple filters to reports at the same time, which is currently pending approval. Thank you!