Ad Widget

Collapse

Basic Graph Configuration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hornet
    Junior Member
    • Nov 2007
    • 5

    #1

    Basic Graph Configuration

    I am setting up an evaluation install on a Mac OS X system and have run into a problem that I did not see covered in the manual. I created a host and two items then tried to create a graph. When I hit the Add button next to Items nothing happens. Is there a log that I can check or some basic setup examples that might show a step that I missed?

    Thanks
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    What browser you are using?
    Zabbix | ex GUI developer

    Comment

    • hornet
      Junior Member
      • Nov 2007
      • 5

      #3
      I normally use Firefox but I was also able to reproduce this problem using Safari and Camino.

      Comment

      • Aly
        ZABBIX developer
        • May 2007
        • 1126

        #4
        FrontEnd supports IE6,IE7,FireFox & Opera.

        What version of frontend you are using?
        Zabbix | ex GUI developer

        Comment

        • hornet
          Junior Member
          • Nov 2007
          • 5

          #5
          I am using vervision 1.4.2 obtained from zabbix.darwinports.com

          Comment

          • Aly
            ZABBIX developer
            • May 2007
            • 1126

            #6
            I don't have Mac OS X, but on WinXP on FF(v. 2.0.0.9) with FrontEnd 1.4.2 i've been unable to reproduce that problem..
            I think that problem in javascript(the way browser processes it), so if you want go farther: in FF in Tools-> "Error console", clear it, than push "Add" button see what's written in Error console.. Post it here if there is anything and i'll try to figure out what's wrong
            Zabbix | ex GUI developer

            Comment

            • hornet
              Junior Member
              • Nov 2007
              • 5

              #7
              I see this error in the error log from FF 2.0.0.9 on the local host.

              Error: PopUp is not defined
              Source File: http://crash.local/zabbix/graphs.php?form=Create+Graph

              I accessed the server remotely from a WinXP workstation also with FF 2.0.0.9 and saw the same error:

              Error: PopUp is not defined
              Source File: http://10.1.126.1/zabbix/graphs.php?form=Create+Graph

              I have popups enabled for localhost so I tried allowing all popups and received a similar error message:

              Error: PopUp is not defined
              Source File: http://crash.local/zabbix/graphs.php

              The name "crash" is the label for the hard drive on the test host.

              Thanks.

              Comment

              • Aly
                ZABBIX developer
                • May 2007
                • 1126

                #8
                Make sure that this line is in generated page:
                <script type="text/javascript" src="js/common.js"></script>

                Make sure that this file exists:
                "{path_to_frontend}/js/common.js"

                In that file in line ~142 there should be function named "PopUp" (case sensitive).

                There shouldn't be such problem(just tested it on IE7,FF,OP & Safari 3), may be you got modified frontend..
                Zabbix | ex GUI developer

                Comment

                • hornet
                  Junior Member
                  • Nov 2007
                  • 5

                  #9
                  There was no directory zabbix/php/js. I retrieved a copy of the source files directly from zabbix.com and copied that directory into my working directory which has resolved the problem.

                  Thanks.

                  Comment

                  Working...