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
Nagios XI perf graphs are missing
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Nagios XI perf graphs are missing
Can you run the following and return any errors displayed
Code: Select all
tail /var/log/httpd/error_log
-
- Posts: 120
- Joined: Tue Aug 21, 2012 9:29 am
Re: Nagios XI perf graphs are missing
Hi,
pls find attached.
Thanks
pls find attached.
Thanks
You do not have the required permissions to view the files attached to this post.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Nagios XI perf graphs are missing
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]
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]
-
- Posts: 120
- Joined: Tue Aug 21, 2012 9:29 am
Re: Nagios XI perf graphs are missing
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
" The image "http://<hostname>/nagiosxi/includes/components/perfdata/graphApi.php?host=localhos" cannto be displayed because it contains errors"
Thanks
-
- Posts: 120
- Joined: Tue Aug 21, 2012 9:29 am
Re: Nagios XI perf graphs are missing
I couldnt display network status map too. Is that related to the current issue?
Thanks
Thanks
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Nagios XI perf graphs are missing
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.
-
- Posts: 120
- Joined: Tue Aug 21, 2012 9:29 am
Re: Nagios XI perf graphs are missing
I also checked the reports, Availability and Alert Histogram seems to have display issues too.
Thanks
Thanks
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Nagios XI perf graphs are missing
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?
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Nagios XI perf graphs are missing
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!
/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!
