Ad Widget

Collapse

Graphs and Maps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hugo
    Junior Member
    • Jan 2005
    • 20

    #1

    Graphs and Maps

    I have installed zabbix on my FC3 Server. Everything works good, except my
    graphs and maps. They wont display. If i try to force it to display i get a mess.,

    http://localhost/zabbix/map.php?sysmapid=6” cannot be displayed, because it contains errors.

    I Installed php-gd, and still get the same. I really need some help.
  • Lovespider
    Member
    • Sep 2004
    • 99

    #2
    Follow the link...

    Hello Hugo,
    there is a post here where I had the same problem and I solved this way...



    Rgds,
    Lovespider
    Last edited by Lovespider; 05-01-2005, 10:35. Reason: wrong tags

    Comment

    • Hugo
      Junior Member
      • Jan 2005
      • 20

      #3
      Thanks for the info, but they still dont show, its driving me crazy

      Comment

      • Rudolf
        Member
        • Dec 2004
        • 90

        #4
        FC3 RPMs

        Hi Hugo

        I also run zabbix on Fedora Core 3. Before you get crazy make sure you have installed the following packets:

        [root@scorpio ~]# rpm -q httpd
        httpd-2.0.52-3
        [root@scorpio ~]# rpm -q mysql
        mysql-3.23.58-13
        [root@scorpio ~]# rpm -q php
        php-4.3.9-3
        [root@scorpio ~]# rpm -q php-gd
        php-gd-4.3.9-3
        [root@scorpio ~]# rpm -q mysql-devel
        mysql-devel-3.23.58-13
        [root@scorpio ~]# rpm -q php-mysql
        php-mysql-4.3.9-3
        [root@scorpio ~]# rpm -q openssl
        openssl-0.9.7a-40
        [root@scorpio ~]# rpm -q net-snmp
        net-snmp-5.1.2-11

        It's probably not a big help, but just to be sure you have it...

        Comment

        • Hugo
          Junior Member
          • Jan 2005
          • 20

          #5
          Thanks guys my graphs finally started working. Every little thing helped.

          Comment

          • Hugo
            Junior Member
            • Jan 2005
            • 20

            #6
            Snmp

            Now i have another problem my snmp templates don't work. I keep getting
            snmp parameter was not compiled ..... parameter not supported.
            any ideas ...?

            Comment

            • rootlinux
              Member
              • Dec 2004
              • 32

              #7
              I am facing the map problem...can anyone help me? TQs

              My system is Red Hat Linux 9

              Comment

              • Hugo
                Junior Member
                • Jan 2005
                • 20

                #8
                Map problems

                Hi rootlinux,

                I did have map and graph problems, that i fixed.

                What kind of problems are you having, maybe i can help. Did you import them
                ok ? (images.sql) ? Please let me know.

                Comment

                • rootlinux
                  Member
                  • Dec 2004
                  • 32

                  #9
                  I only run this below: -

                  cat schema.sql | mysql -u root -p zabbix

                  cat data.sql | mysql -u root -p zabbix

                  Do I need to run this below: -

                  cat images.sql | mysql -u root -p zabbix

                  Comment

                  • Hugo
                    Junior Member
                    • Jan 2005
                    • 20

                    #10
                    Maps

                    Yes you do, but there is a catch to it. What i did was cp all the *.png files to
                    /var/lib/mysql , and then loaded images.sql. After i was done i removed the *.png files from /var/lib/mysql.

                    Hope it helps.

                    Comment

                    • rootlinux
                      Member
                      • Dec 2004
                      • 32

                      #11
                      So, I have to run the below first?

                      cat images.sql | mysql -u root -p zabbix

                      Then, copy the *.png to /var/lib/mysql ?

                      Comment

                      • rootlinux
                        Member
                        • Dec 2004
                        • 32

                        #12
                        Hooray...

                        I can see the icons...below is the steps I performed: -

                        1. Copy the *.png files to /var/lib/mysql
                        2. Then run, cat images.sql | mysql -u root -p zabbix

                        But, I noticed that all my icons is with black background.

                        Is it something wrong with my icons? Or, anybody here face this too?

                        Comment

                        • bardel
                          Junior Member
                          • Apr 2005
                          • 5

                          #13
                          More Maps and Graphs

                          Hugo,

                          I've been able to get the images into the zabbix system but I still can't seem to see the icons in the Map view. Is there something else that needs to be done?



                          Originally posted by Hugo
                          Hi rootlinux,

                          I did have map and graph problems, that i fixed.

                          What kind of problems are you having, maybe i can help. Did you import them
                          ok ? (images.sql) ? Please let me know.

                          Comment

                          • grabber
                            Member
                            • Mar 2005
                            • 85

                            #14
                            problem with maps

                            I can see the graphs etc so I guess the gd issue is ok but I cannot get any maps showing...just get the broken link icon.

                            extension=gd.so is in php.ini

                            urgently need help

                            correction - when I create an empty map I can see it fine. As soon as I add a host I then get a broken link?

                            Please
                            Last edited by grabber; 14-04-2005, 16:28.

                            Comment

                            Working...