Cannot Generate Graphs using Capacity Planning

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nym240
Posts: 11
Joined: Thu Feb 15, 2018 5:56 pm

Cannot Generate Graphs using Capacity Planning

Post 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!
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Cannot Generate Graphs using Capacity Planning

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
nym240
Posts: 11
Joined: Thu Feb 15, 2018 5:56 pm

Re: Cannot Generate Graphs using Capacity Planning

Post 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. :)
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Cannot Generate Graphs using Capacity Planning

Post by benjaminsmith »

Please have this post alive until then. :)
Absolutely! We'll keep it open.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
nym240
Posts: 11
Joined: Thu Feb 15, 2018 5:56 pm

Re: Cannot Generate Graphs using Capacity Planning

Post 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.
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Cannot Generate Graphs using Capacity Planning

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
nym240
Posts: 11
Joined: Thu Feb 15, 2018 5:56 pm

Re: Cannot Generate Graphs using Capacity Planning

Post 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
nym240
Posts: 11
Joined: Thu Feb 15, 2018 5:56 pm

Re: Cannot Generate Graphs using Capacity Planning

Post 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)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Cannot Generate Graphs using Capacity Planning

Post by scottwilkerson »

Can you show the permission of this file

Code: Select all

ls -l /usr/local/nagiosxi/var/components/capacityplanning.log
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
nym240
Posts: 11
Joined: Thu Feb 15, 2018 5:56 pm

Re: Cannot Generate Graphs using Capacity Planning

Post 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 ~]#
Locked