Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
streaker69 wrote:I've been trying to get Zond to work in .87 so far no luck. I've downloaded the .33 that was recently uploaded without success as well.
chrisgapske wrote:This plugin works great. The only problem I have been having with this is when I try to use advanced ping graph. I get this semi blank screen.
I do not get any errors in my log. I just get this.
Other Graphs work just fine.
can you submit me java-console output? (FF: Tools->Java Console, IE: Tools->Sun Java Console)
Incorrect 6-th RGB color definition. Must contain 3 values (from 0 to 255 each) separated by commas.
Incorrect 7-th RGB color definition. Must contain 3 values (from 0 to 255 each) separated by commas.
ok - problem is obvious.
we must find out which colors are failing (might be graph-template problem).
from console you should run zond_init.php (cacti/plugins/zond) manualy and paste an output here:
#php zond_init.php xxxx
where xxxx is local_graph_id (you can find it out by simply pointing on the graph being watched)
Incorrect 6-th RGB color definition. Must contain 3 values (from 0 to 255 each) separated by commas.
Incorrect 7-th RGB color definition. Must contain 3 values (from 0 to 255 each) separated by commas.
ok - problem is obvious.
we must find out which colors are failing (might be graph-template problem).
from console you should run zond_init.php (cacti/plugins/zond) manualy and paste an output here:
#php zond_init.php xxxx
where xxxx is local_graph_id (you can find it out by simply pointing on the graph being watched)
This is what I got but I am not sure I ran it the way it should be ran It would not run with php zond_init.php
[root@CACTI01 zond]# ./zond_init.php
./zond_init.php: line 1: ?php: No such file or directory
./zond_init.php: line 3: /bin: is a directory
./zond_init.php: line 4: COMMENTS: command not found
./zond_init.php: line 5: COMMENTS: command not found
./zond_init.php: line 6: COMMENTS: command not found
./zond_init.php: line 7: COMMENTS: command not found
./zond_init.php: line 8: COMMENTS: command not found
./zond_init.php: line 9: COMMENTS: command not found
./zond_init.php: line 10: images/: is a directory
./zond_init.php: line 12: syntax error near unexpected token `'../../''
./zond_init.php: line 12: `chdir('../../');'
chrisgapske wrote:This is what I got but I am not sure I ran it the way it should be ran It would not run with php zond_init.php
[root@CACTI01 zond]# ./zond_init.php
./zond_init.php: line 1: ?php: No such file or directory
./zond_init.php: line 3: /bin: is a directory
./zond_init.php: line 4: COMMENTS: command not found
./zond_init.php: line 5: COMMENTS: command not found
./zond_init.php: line 6: COMMENTS: command not found
./zond_init.php: line 7: COMMENTS: command not found
./zond_init.php: line 8: COMMENTS: command not found
./zond_init.php: line 9: COMMENTS: command not found
./zond_init.php: line 10: images/: is a directory
./zond_init.php: line 12: syntax error near unexpected token `'../../''
./zond_init.php: line 12: `chdir('../../');'
[root@CACTI01 zond]# ./zond_init.php 1362
./zond_init.php: line 1: ?php: No such file or directory
./zond_init.php: line 3: /bin: is a directory
./zond_init.php: line 4: COMMENTS: command not found
./zond_init.php: line 5: COMMENTS: command not found
./zond_init.php: line 6: COMMENTS: command not found
./zond_init.php: line 7: COMMENTS: command not found
./zond_init.php: line 8: COMMENTS: command not found
./zond_init.php: line 9: COMMENTS: command not found
./zond_init.php: line 10: images/: is a directory
./zond_init.php: line 12: syntax error near unexpected token `'../../''
./zond_init.php: line 12: `chdir('../../');'
[root@CACTI01 zond]# php zond_init.php 1362
<HTML>
<HEAD>
<TITLE>NOC-8700 - Status - 1/10</TITLE>
</HEAD>
<SCRIPT LANGUAGE=javascript>
function resize_window(w,h) {
var refresh=2;
var wW = screen.width;
var wH = screen.height;
while (1) {
if ( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
var ww = document.body.clientWidth;
var wh = document.body.clientHeight;
} else {
var ww = window.innerWidth;
var wh = window.innerHeight;
}
var diff_w = Math.round((w - ww)/refresh);
var diff_h = Math.round((h - wh)/refresh);
[root@CACTI01 zond]# php zond_init.php 1277
<HTML>
<HEAD>
<TITLE>VCI-13th Street Station - Advanced Ping</TITLE>
</HEAD>
<SCRIPT LANGUAGE=javascript>
function resize_window(w,h) {
var refresh=2;
var wW = screen.width;
var wH = screen.height;
while (1) {
if ( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
var ww = document.body.clientWidth;
var wh = document.body.clientHeight;
} else {
var ww = window.innerWidth;
var wh = window.innerHeight;
}
var diff_w = Math.round((w - ww)/refresh);
var diff_h = Math.round((h - wh)/refresh);