View Full Version : 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
What browser you are using?
I normally use Firefox but I was also able to reproduce this problem using Safari and Camino.
FrontEnd supports IE6,IE7,FireFox & Opera.
What version of frontend you are using?
I am using vervision 1.4.2 obtained from zabbix.darwinports.com
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 ;)
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.
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.. :confused:
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.