Page 1 of 1

pbm graph explorer

Posted: Tue Jan 17, 2012 3:31 am
by leens
Hello

I try graph explorer component but when I select a service to sse graph I have a blank page.. Do you have experience with this?

Thanks

Re: pbm graph explorer

Posted: Tue Jan 17, 2012 11:04 am
by mguthrie
Can you run:

Code: Select all

tail -f /var/log/httpd/error_log
and then try accessing this graph again? I'm guessing there's a php error somewhere.

Does this graph have several data sets on it (more than 3)? If so, you may need to increase your php memory limit in your /etc/php.ini file.

Re: pbm graph explorer

Posted: Wed Jan 18, 2012 2:46 am
by leens
I ha ve 2 grpahs ok: Host Health and Service Health (predifined graph). When I see this graph i have with you command:

[Wed Jan 18 08:40:33 2012] [error] [client Y.Y.Y.Y] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/dbl.inc.php on line 119, referer: http://X.X.X.X/nagiosxi/includes/compon ... hexplorer/
[Wed Jan 18 08:40:38 2012] [error] [client Y.Y.Y.Y] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/dbl.inc.php on line 119, referer: http://X.X.X.X/nagiosxi/includes/compon ... hexplorer/


When I Want a scalable Perfor Graph I have nothing. I click on the service of a host and the page is blank. I have put limit memory from 128 to 256M

Re: pbm graph explorer

Posted: Wed Jan 18, 2012 10:32 am
by mguthrie
What browser and version are you viewing this in?

Can you check what version of the Graph Explorer you're running by accessing the Admin->Manage Components page, and looking at the entry for the Nagios Graph Explorer? The latest version is 1.1.

Re: pbm graph explorer

Posted: Thu Jan 19, 2012 4:57 am
by leens
Here in my company it's internet explorer 8.
It's the version 1.1 of graph explorer

Re: pbm graph explorer

Posted: Thu Jan 19, 2012 10:42 am
by mguthrie
Just to eliminate the possibility of it being a browser issue, can you try viewing it in either Firefox or Chrome. IE doesn't always play nice with these javascript libraries.

Re: pbm graph explorer

Posted: Tue Jan 24, 2012 3:42 am
by leens
I will try but normally we don't use firefox.. I ask at the end user departement

rgds

Re: pbm graph explorer

Posted: Wed Jan 25, 2012 12:20 pm
by mguthrie
Ok. Firefox is the recommended browser for user with the Graph Explorer, and several other components with XI. A lot of the javascript libraries have issues with IE.

Re: pbm graph explorer

Posted: Tue Jan 31, 2012 3:07 am
by leens
Hi

It's ok with mozilla

Re: pbm graph explorer

Posted: Tue Jan 31, 2012 10:07 am
by mguthrie
Ok, I think IE 9 has made a lot of compatibility improvements. Otherwise, if you have "compatibility mode" enabled in IE 8 you could try turning that off and see if it works ok then.