gilles wrote:johnrembo, i have an output for you
Code: Select all
php zond_process.php YTo2On.....6MToiYiI7fX0=
Code: Select all
Array ( [2031::traffic_in::] => Array ( [type] => 2 [method] => 0 [query] => 172.22.75.1,xxxx,.1.3.6.1.2.1.2.2.1.10.514 ) (...) can you help me ? windows 2003 sp2, php5[/quote] actualy, your error is similar to hgd26 one. I was only able to reproduce half of such behaviour and corrected some errors. Hope it will help. Try v0.21 I'm very interested in how zond plug-in will work on your windows installation.
(topic closed) ZOND plugin v0.32 released (beta)
Moderators: Developers, Moderators
Okay, thanks, I will surely take a look...TheWitness wrote:johnrembo,
Please review the script_server.php in SVN. There is an important call just prior to and after you "include" the script that needs to be added to your stub function to prevent issues. Just thought I would add this. Nice tool.
TheWitness
thanks for the tip! i've done as you suggestedcigamit wrote:I have noticed that in zond_process.php, you have several places that call PHP scripts like this.
$php_bin_path ss.php
This was causing an issue for me, as php was then outputting a Content Type header in the results. Changing all 3 places to add -q fixed it for me.
$php_bin_path -q ss.php
this looks very cool.
I use ssl so I had to change line 249 in setup.php to read https instead of http
also had to get rid of / infront of plugins on line 250 to make the url work for the chart icon
I use ssl so I had to change line 249 in setup.php to read https instead of http
also had to get rid of / infront of plugins on line 250 to make the url work for the chart icon
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
had to edit zond_init.php too for ssl
line 240
$path = 'https://'.((!empty($user)) ? $user.":" : '').((!empty($pass)) ? $pass."@" : '').$_SERVER['HTTP_HOST'].$config['url_path']."plugins/zond/";
line 272
err_to_browser("could not parse graph template (<a target=_blank href=https://".$_SERVER['HTTP_HOST'].$config['url_path']."graph_templates.php ?action=template_edit&id=$gt_id>$gt_id</a>)");
line 240
$path = 'https://'.((!empty($user)) ? $user.":" : '').((!empty($pass)) ? $pass."@" : '').$_SERVER['HTTP_HOST'].$config['url_path']."plugins/zond/";
line 272
err_to_browser("could not parse graph template (<a target=_blank href=https://".$_SERVER['HTTP_HOST'].$config['url_path']."graph_templates.php ?action=template_edit&id=$gt_id>$gt_id</a>)");
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
I am so close, but it can't seem to find the netzond.class, even though it is in the top level of the zond directory.
java -showversion
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
rpm -qa|grep jre
srvadmin-jre-5.1.0-354
jre-1.6.0_01-fcs
whereis java
java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java
java -showversion
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
rpm -qa|grep jre
srvadmin-jre-5.1.0-354
jre-1.6.0_01-fcs
whereis java
java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
in zond_init.php, i have an error "Undefined offset: 2" at :
i think it is the preg_match function just before
$value['rrd_path'] contain this :
D:\apache2\htdocs\cacti\rra\firewall_traffic_in_1108.rrd
what $rrdpth must contain ?
Code: Select all
$rrdpth = $mtch[2];
$value['rrd_path'] contain this :
D:\apache2\htdocs\cacti\rra\firewall_traffic_in_1108.rrd
what $rrdpth must contain ?
I think you should consider putting some screenshots here (about those unmatching interface speeds)eternal wrote:2.1 works kinda
Getting some interfaces that display every 3rn 4th 5th poll
interface speeds arent matching up sometimes
Thanks
Awesome plugin just what cacti needed and another tool gone and integrated
actualy it should containgilles wrote:in zond_init.php, i have an error "Undefined offset: 2" at :i think it is the preg_match function just beforeCode: Select all
$rrdpth = $mtch[2];
$value['rrd_path'] contain this :
D:\apache2\htdocs\cacti\rra\firewall_traffic_in_1108.rrd
what $rrdpth must contain ?
Code: Select all
firewall_traffic_in_1108
I will try to implement OS detection and folder structure differences soon.
you are right, ssl is neecessary indeed. Your current solution is logical, but better way is to use $_SERVER['HTTP_PROTOCOL']. Anyway, i will implement it in next release.egarnel wrote:had to edit zond_init.php too for ssl
line 240
$path = 'https://'.((!empty($user)) ? $user.":" : '').((!empty($pass)) ? $pass."@" : '').$_SERVER['HTTP_HOST'].$config['url_path']."plugins/zond/";
line 272
err_to_browser("could not parse graph template (<a target=_blank href=https://".$_SERVER['HTTP_HOST'].$config['url_path']."graph_templates.php ?action=template_edit&id=$gt_id>$gt_id</a>)");
thanks johnrembo, zond now work on my windows server
in zond_init.php, pregmatch function don't work
i use this code :
edit:
no need to modify something else when PA is correctly configured
in zond_init.php, pregmatch function don't work
i use this code :
Code: Select all
$mtch=split('[./\]', $value['rrd_path']);
$rrdpth = $mtch[count($mtch)-2];
no need to modify something else when PA is correctly configured
Last edited by gilles on Mon Jul 02, 2007 2:31 am, edited 1 time in total.
no Zond Graph
Hello,
i have installed ZOND plug-in under win2k3, iis cacti.
when i am trying to display ZONED graph i got error cannot find server, i assume that path should be change somewhere.
attached screenshot showing the error.
Please advice
Thanks
i have installed ZOND plug-in under win2k3, iis cacti.
when i am trying to display ZONED graph i got error cannot find server, i assume that path should be change somewhere.
attached screenshot showing the error.
Please advice
Thanks
- Attachments
-
- zond.png (7.93 KiB) Viewed 5875 times
-
- zond.png (7.93 KiB) Viewed 5875 times
Re: no Zond Graph
Check your cacti's config.php file and make sure your config['url_path'] doesn't contain http://ipaddress/ in it. Per the instructions for the PA, it shouldn't. if your cacti install is directly in the root, it should be '/' if its in a folder called cacti, then it should be set to '/cacti/'tbaror wrote:Hello,
i have installed ZOND plug-in under win2k3, iis cacti.
when i am trying to display ZONED graph i got error cannot find server, i assume that path should be change somewhere.
attached screenshot showing the error.
Please advice
Thanks
Who is online
Users browsing this forum: No registered users and 3 guests