Page 1 of 1

XI generates only portion of the Graph view

Posted: Fri Nov 30, 2018 7:57 am
by dlukinski
Hi

since 5.5.5 upgrade our XI generates only the portion of the JPG or PNG Graph view (as attached)

Please help with this

Thank you

Re: XI generates only portion of the Graph view

Posted: Fri Nov 30, 2018 3:00 pm
by benjaminsmith
HI @dlukinski,

Would you be able to try an upgrade to 5.5.7? We've updated libraries that generate reports and graphs, and that maybe the issue here. Also, 5.5.7 contains security updates and performance improvements.

Before upgrading, please make a backup or take in snapshot if you are using a VM.

Nagios XI Upgrade Instructions
https://assets.nagios.com/downloads/nag ... ctions.pdf

Re: XI generates only portion of the Graph view

Posted: Mon Dec 03, 2018 10:21 am
by dlukinski
benjaminsmith wrote:HI @dlukinski,

Would you be able to try an upgrade to 5.5.7? We've updated libraries that generate reports and graphs, and that maybe the issue here. Also, 5.5.7 contains security updates and performance improvements.

Before upgrading, please make a backup or take in snapshot if you are using a VM.

Nagios XI Upgrade Instructions
https://assets.nagios.com/downloads/nag ... ctions.pdf
We are already 5.5.7 and this problem is alive and well.
Need a solution (problem existed at least since 5.5.5)

Re: XI generates only portion of the Graph view

Posted: Mon Dec 03, 2018 12:20 pm
by benjaminsmith
Hi @dlukinski,

Can you tail the Apache error logs and then download the graph and post the output so we can review any errors being generated.

Code: Select all

tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
Also, what browser are you using?

While it was not the error we we're seeing, there was an issue with report generation when upgrading to a newer version of jQuery in 5.5.4, that was resolved in 5.5.5. However, let's try to revert to the older version of jQuery and see if this resolve the problem.

Open up your config.inc.php file in /usr/local/nagiosxi/html/and add this stetting to the end of the file:

Code: Select all

$cfg['old_browser_compat'] = 1; 
Then restart Nagios:

Code: Select all

service nagios start

Re: XI generates only portion of the Graph view

Posted: Mon Jan 28, 2019 2:54 pm
by dlukinski
benjaminsmith wrote:Hi @dlukinski,

Can you tail the Apache error logs and then download the graph and post the output so we can review any errors being generated.

Code: Select all

tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
Also, what browser are you using?

While it was not the error we we're seeing, there was an issue with report generation when upgrading to a newer version of jQuery in 5.5.4, that was resolved in 5.5.5. However, let's try to revert to the older version of jQuery and see if this resolve the problem.

Open up your config.inc.php file in /usr/local/nagiosxi/html/and add this stetting to the end of the file:

Code: Select all

$cfg['old_browser_compat'] = 1; 
Then restart Nagios:

Code: Select all

service nagios start
This got resolved by the recent 5.5.9 update

Please close the thread

Re: XI generates only portion of the Graph view

Posted: Mon Jan 28, 2019 2:57 pm
by benjaminsmith
Hi @dlukinski,
This got resolved by the recent 5.5.9 update
Please close the thread
Thanks for update. Closing topic.