Ad Widget

Collapse

Graphs problems.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lirico
    Junior Member
    • Mar 2007
    • 2

    #1

    Graphs problems.

    Hi,

    I have a problems with Zabbix graphs. None show.

    I try all the solutions of this forum: reinstall GD, reinstall Zabbix, permissions, etc... but none.

    I have GD 2 with FreeType installed and configured, as phpinfo() says.

    But when I try to show a graph, I get the X image, fail. If I try to see the content of the image, size are 0 bits, none character, none error.

    In Apache error_log, none error. And graph no show...

    Any idea?

    Thanks!
  • condor
    Junior Member
    • Mar 2007
    • 7

    #2
    Graph Problem

    I have the same issue. Am collecting data like a mad bandit, but my graphs come up with the X Icon placeholder for the graph -no graph.

    I am running Suse 10 Enterprise. Perhaps I need to give zabbix rights to a folder?

    Comment

    • condor
      Junior Member
      • Mar 2007
      • 7

      #3
      Apache error_log on this problem

      I am getting this in my log file now:

      PHP Fatal error: Call to undefined function imagecreate() in /srv/www/htdocs/Zabbix/include/classes/graph.inc.php on line 1149,

      Comment

      • lirico
        Junior Member
        • Mar 2007
        • 2

        #4
        I just solved it:

        Editing config.inc.php file and change:

        function ImageOut($image)
        {
        // ImageJPEG($image);
        ImagePNG($image);
        }

        To:

        function ImageOut($image)
        {
        ImageJPEG($image);
        // ImagePNG($image);
        }

        Now all is running

        Comment

        • Bharathu
          Member
          • Dec 2005
          • 56

          #5
          PNG support

          Hi Guys,


          I had a similar problem where graphs were not getting diplayed. My zabbix server was installed on Solaris 9. I then installed "libpng-1.2.16.tar" & then "zlib-1.2.3.tar". And then i configured PHP with GD support (--with-gd) and then installed it.

          After I did that graphs were displaying. I am stilll stuck with issues with capturing data. So all my graphs are blank still a novice in all these things!! I hope this info is helpful to you regarding the graphs

          Comment

          Working...