Page 1 of 1

Capacity planning graphs are blank

Posted: Mon Sep 17, 2018 3:11 am
by opsadmin
Hi

We're running Nagios XI version 5.5.1.

We recently resolved an issue with performance graphs not populating. As part of this fix i thought capacity planning may have started to work but it hasn't

When i go to Reports > Capacity Planning, the hosts/services which have perf data are not showing any data on the capacity planning graph - they're all blank.

I'm not sure what logs to check etc, any help much appreciated.

Thanks
Sarah

Re: Capacity planning graphs are blank

Posted: Mon Sep 17, 2018 1:02 pm
by cdienger
How long has the perf graph issue been fixed and what time period is the report running for? Issues with performance graphing can impact capacity planning until enough valid data is collected again. Per https://assets.nagios.com/downloads/nag ... anning.pdf:
You must have twice as much solid data as the period you wish to use. A caveat of this is that if the data that
you are gathering is spotty, capacity planning will not work. Capacity planning also requires that 66% of the
period you wish to extrapolate with must have real values. If Nagios goes down, or the plugin that you're
using starts malfunctioning and performance data does not get recorded, that starts adding to the 66% of
values that are not acceptable values for number crunching.

Re: Capacity planning graphs are blank

Posted: Wed Sep 19, 2018 3:02 am
by opsadmin
Ok great i thnik that explains it - it's on the default setting of 1 week period.

The issue was fixed this time last week so we'll need another week for this to start appearing.

Thanks again
Sarah

Re: Capacity planning graphs are blank

Posted: Wed Sep 19, 2018 2:03 pm
by scottwilkerson
opsadmin wrote:Ok great i thnik that explains it - it's on the default setting of 1 week period.

The issue was fixed this time last week so we'll need another week for this to start appearing.

Thanks again
Sarah
Let us know if they don't start once the amount of time has passed.

Re: Capacity planning graphs are blank

Posted: Tue Oct 16, 2018 2:59 am
by opsadmin
Hi Scott

Unfortunately the capacity planning graphs are still blank.

Would you like me to PM you our Nagios system profile?

Thanks
Sarah

Re: Capacity planning graphs are blank

Posted: Tue Oct 16, 2018 11:31 am
by lmiltchev
You can PM the profile to any member of the Nagios Support team. Thanks!

Re: Capacity planning graphs are blank

Posted: Sun Oct 21, 2018 4:34 am
by opsadmin
Perfect thanks, I've received your reply to my PM. Look forward to seeing what the issue could be and resolving it :)

Re: Capacity planning graphs are blank

Posted: Mon Oct 22, 2018 2:40 pm
by ssax

Code: Select all

ImportError: No module named numpy
Traceback (most recent call last):
  File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanning.py", line 7, in <module>
    import rrddatastore
  File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/rrddatastore.py", line 3, in <module>
    import numpy as np
Please run this command to install numpy:

Code: Select all

yum install numpy
Then see if capacity planning is working for you.

If it's not, please run this tail command (and leave it running):

Code: Select all

tail -F /var/log/httpd/error_log /var/log/httpd/ssl_error_log
Then open up the capacity planning report (to replicate the issue) and send us the full output from the tail command above.

Thank you