Page 1 of 3

Cannot Generate Graphs using Capacity Planning

Posted: Tue Jul 16, 2019 7:53 pm
by nym240
Hi,

We had an issue when we try to view graphs on "Capacity Planning". It only shows blank. Performance Graphs were working fine though.
Could you please help me with this?

Thanks!

Re: Cannot Generate Graphs using Capacity Planning

Posted: Wed Jul 17, 2019 3:52 pm
by benjaminsmith
Hi @nym240,

Check the time period on the capacity planning report by clicking the gear icon in the right hand side of the chart. In order to generate the report, Nagios XI must have twice as much data for the time period. If you have had issues with performance graphs this will affect the capacity planning report.

Also, send us your system profile so we can check the logs for errors. Thanks.

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.

Re: Cannot Generate Graphs using Capacity Planning

Posted: Fri Jul 26, 2019 9:27 am
by nym240
Hi,

I've tried to download the system profile but it is failing, it might be an internal network issue. We are checking with our team to fix this, once done we will provide you the needed information. Please have this post alive until then. :)

Re: Cannot Generate Graphs using Capacity Planning

Posted: Fri Jul 26, 2019 1:10 pm
by benjaminsmith
Please have this post alive until then. :)
Absolutely! We'll keep it open.

Re: Cannot Generate Graphs using Capacity Planning

Posted: Tue Jul 30, 2019 8:35 pm
by nym240
Hi Again!

Back with some more issues :(


I tried to export the system profile as you have requested but i've got an error when downloading it. Just to let you know we are using proxy server as a gateway for this Nagios server to connect to the internet. I collected some logs from it when trying to generate capacity report and downloading the system profile but im getting TCP_MISS with some of the scripts from the application. May you advise if this was related to the network structure that we are using or have it had been caused by something else?

Thanks

Logs attached FYI.

Re: Cannot Generate Graphs using Capacity Planning

Posted: Wed Jul 31, 2019 4:02 pm
by benjaminsmith
Hi @nym240,
I tried to export the system profile as you have requested but i've got an error when downloading it
What was the error messge from the web interface? Can you post a screenshot.

There are known issues when you using a proxy server such as issues with upgrades and internal HTTP calls to apply configuration, process AJAX requests, etc.

Please refer to the following guide for solutions:
Nagios XI - Problems Using Nagios Xi with Proxies

Re: Cannot Generate Graphs using Capacity Planning

Posted: Thu Aug 01, 2019 1:24 pm
by nym240
Hi,

The error on the profile is on the last document I uploaded. It says "Failed to retrieve zip file".

For the proxy, i will check this and update you once done.

Thanks

Re: Cannot Generate Graphs using Capacity Planning

Posted: Thu Aug 01, 2019 3:45 pm
by nym240
Hi,

Got some news, found error on "/var/log/httpd/error_log" file with regards to capacity planning.
[root@XXXXXXX conf.d]# ls -ld /usr/local/nagiosxi/var/components/capacityplanning.log
-rw-rw-rw- 1 apache nagios 24284329 Jul 1 15:27 /usr/local/nagiosxi/var/components/capacityplanning.log

IOError: [Errno 13] Permission denied: '/usr/local/nagiosxi/var/components/capacityplanning.log'
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanning.py", line 26, in <module>
filemode='a')
File "/usr/lib64/python2.6/logging/__init__.py", line 1410, in basicConfig
hdlr = FileHandler(filename, mode)
File "/usr/lib64/python2.6/logging/__init__.py", line 835, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.6/logging/__init__.py", line 854, in _open
stream = open(self.baseFilename, self.mode)

Re: Cannot Generate Graphs using Capacity Planning

Posted: Mon Aug 05, 2019 8:33 am
by scottwilkerson
Can you show the permission of this file

Code: Select all

ls -l /usr/local/nagiosxi/var/components/capacityplanning.log

Re: Cannot Generate Graphs using Capacity Planning

Posted: Wed Aug 07, 2019 6:58 pm
by nym240
Hi,

Please see below result.


[root@nagios~]# ls -l /usr/local/nagiosxi/var/components/capacityplanning.log
-rwxrwxrwx 1 apache nagios 28845716 Aug 2 11:10 /usr/local/nagiosxi/var/components/capacityplanning.log
[root@nagios ~]#