Nagios XI perf graphs are missing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
westernuniv
Posts: 120
Joined: Tue Aug 21, 2012 9:29 am

Re: Nagios XI perf graphs are missing

Post by westernuniv »

Hi,

Perf graphs are not displaying in none of the browsers (IE/firefox/Chrome)
I did cleared the cache and refreshed the browsers, still same

Thanks
Mukunthini
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios XI perf graphs are missing

Post by scottwilkerson »

Can you run the following and return any errors displayed

Code: Select all

tail /var/log/httpd/error_log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
westernuniv
Posts: 120
Joined: Tue Aug 21, 2012 9:29 am

Re: Nagios XI perf graphs are missing

Post by westernuniv »

Hi,
pls find attached.

Thanks
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios XI perf graphs are missing

Post by mguthrie »

Somehow we got what might be the same issue showing up on a local test box. We're in the midst of investigating as we speak, but it looks like somehow the graph images are being corrupted, so they're not displaying in the browser. We're looking to post an updated release in the next couple of days, so this item is a high priority item for the 1.2 release.

Can you try accessing the following URL in Firefox and see if you get an error about the image containing errors?
[url]http://<yourserver>/nagiosxi/includes/components/perfdata/graphApi.php?host=localhost[/url]
westernuniv
Posts: 120
Joined: Tue Aug 21, 2012 9:29 am

Re: Nagios XI perf graphs are missing

Post by westernuniv »

Yes I'm getting an error
" The image "http://<hostname>/nagiosxi/includes/components/perfdata/graphApi.php?host=localhos" cannto be displayed because it contains errors"

Thanks
westernuniv
Posts: 120
Joined: Tue Aug 21, 2012 9:29 am

Re: Nagios XI perf graphs are missing

Post by westernuniv »

I couldnt display network status map too. Is that related to the current issue?

Thanks
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios XI perf graphs are missing

Post by mguthrie »

Almost has to be, got that on our test system too. Thanks for the tip, that's another clue at least. Seems like binary image data can't be rendered directly to the browser for some reason. Static image files are fine, just live binary data is failing.
westernuniv
Posts: 120
Joined: Tue Aug 21, 2012 9:29 am

Re: Nagios XI perf graphs are missing

Post by westernuniv »

I also checked the reports, Availability and Alert Histogram seems to have display issues too.
Thanks
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios XI perf graphs are missing

Post by mguthrie »

Yeah, I think I figured it out. There's extra whitespace coming from somewhere, but it's not on every install. Have we sent you any patches or updated components in the last week or two?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios XI perf graphs are missing

Post by mguthrie »

GOT IT. And you and I are the only lucky two people who get to experience this issue. The open service problems dashlet I sent you is causing the problems. Open up the following file:

/usr/local/nagiosxi/html/includes/dashlets/openserviceproblems/openserviceproblems.inc.php

Scroll down to the very bottom, and delete the two spaces at the very end of the file, or just delete the entire line with the closing ?> tag.

Stupid whitespace, grr! :x