PDA

View Full Version : Can't select custom Graphs under monitoring on 1.6.5


emerzon
06-08-2009, 22:42
Hi,

I am having a weird issue with Zabbix 1.6.5.
Whenever I try to select a custom made graph (Under monitoring, graphs), as soon as I click the graph name on the dropbox, the page reloads and gets me back to the first option on the dropbox (Select Graph...), as if nothing happened.

Tried in Firefox and IE, both seen to have the same behaviour.
Couldn't find any error messages on zabbix-server.log

This is the HTTP capture of when I select the item in the combobox:

http://hostname/zabbix/charts.php?sid=3b7c2b3b5af514e3&fullscreen=0&groupid=0&hostid=10027&graphid=20

GET /zabbix/charts.php?sid=3b7c2b3b5af514e3&fullscreen=0&groupid=0&hostid=10027&graphid=20 HTTP/1.1
Host: hostname
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:1.9.1) Gecko/20090630 Fedora/3.5-1.fc11 Firefox/3.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: pt-br,pt;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://hostname/zabbix/charts.php?sid=3b7c2b3b5af514e3&fullscreen=0&groupid=0&hostid=10027&graphid=20
Cookie: zbx_sessionid=678a47bd0be1b5773b7c2b3b5af514e3

HTTP/1.x 200 OK
Date: Thu, 06 Aug 2009 21:11:32 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny3
Set-Cookie: zbx_sessionid=678a47bd0be1b5773b7c2b3b5af514e3
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 2326
Keep-Alive: timeout=15, max=93
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
----------------------------------------------------------


The simple graphs under monitoring, Latest data works fine.

Any clues? :confused:

richlv
07-08-2009, 22:44
does this happen with all custom graphs, including the default ones ?

emerzon
07-08-2009, 23:00
does this happen with all custom graphs, including the default ones ?

Well yes it happens to all custom graphs I have.
But I don't have any default custom graphs. My hosts are currently associated only with Template_Linux, that has no default graphs.

richlv
09-08-2009, 17:44
well, i don't have any good guesses. i'd suggest checking webserver logs, just in case

Calimero
10-08-2009, 09:42
PHP's memory_limit too low ?

dsissitka
11-08-2009, 15:39
I believe the problem occurs when a chart's host does not belong to a group. See lines 121 through 134 of charts.php. As far as I can tell lines 132 through 134 are unnecessary and commenting them out appears to fix the problem.

I hope it helps. :)

ray369
27-08-2009, 20:51
Thanks dsissitka,

I added my host to a group and then the graph displayed just fine. Removed it again, and the page went right back to the (Select Graph...). Commented the lines you referred to and it works like a champ.

troffasky
28-08-2009, 13:04
I'm seeing this too. Has anybody submitted a bug?