pbm graph explorer

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
leens
Posts: 34
Joined: Mon Apr 18, 2011 6:59 am

pbm graph explorer

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: pbm graph explorer

Post 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.
leens
Posts: 34
Joined: Mon Apr 18, 2011 6:59 am

Re: pbm graph explorer

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: pbm graph explorer

Post 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.
leens
Posts: 34
Joined: Mon Apr 18, 2011 6:59 am

Re: pbm graph explorer

Post by leens »

Here in my company it's internet explorer 8.
It's the version 1.1 of graph explorer
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: pbm graph explorer

Post 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.
leens
Posts: 34
Joined: Mon Apr 18, 2011 6:59 am

Re: pbm graph explorer

Post by leens »

I will try but normally we don't use firefox.. I ask at the end user departement

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

Re: pbm graph explorer

Post 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.
leens
Posts: 34
Joined: Mon Apr 18, 2011 6:59 am

Re: pbm graph explorer

Post by leens »

Hi

It's ok with mozilla
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: pbm graph explorer

Post 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.