Ad Widget

Collapse

Can't select custom Graphs under monitoring on 1.6.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emerzon
    Junior Member
    • Apr 2008
    • 21

    #1

    Can't select custom Graphs under monitoring on 1.6.5

    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?si...027&graphid=20

    GET /zabbix/charts.php?sid=3b7c2b3b5af514e3&fullscreen=0&group id=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?si...027&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?
    Last edited by emerzon; 06-08-2009, 22:50.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    does this happen with all custom graphs, including the default ones ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • emerzon
      Junior Member
      • Apr 2008
      • 21

      #3
      Originally posted by richlv
      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.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        well, i don't have any good guesses. i'd suggest checking webserver logs, just in case
        Zabbix 3.0 Network Monitoring book

        Comment

        • Calimero
          Senior Member
          • Nov 2006
          • 481

          #5
          PHP's memory_limit too low ?

          Comment

          • dsissitka
            Junior Member
            • Aug 2009
            • 1

            #6
            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.

            Comment

            • ray369
              Junior Member
              • Jun 2009
              • 4

              #7
              charts.php

              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.

              Comment

              • troffasky
                Senior Member
                • Jul 2008
                • 567

                #8
                I'm seeing this too. Has anybody submitted a bug?

                Comment

                Working...