thanx for the tip,zorrosam wrote:ahh it seems str_split is a php 5 function only... and im, guessin ur using php 4 or below...
i which way i can fix the code on my rehdat 4 with php4?
it should work now - try downloading v0.32 again.
Moderators: Developers, Moderators
thanx for the tip,zorrosam wrote:ahh it seems str_split is a php 5 function only... and im, guessin ur using php 4 or below...
i which way i can fix the code on my rehdat 4 with php4?
damn...friday is pushing me :]zorrosam wrote:$pass = !function_exists('str_split') ? array_unique(str_split($pass)) : array_unique(str_split4($pass));
.... in this line there's a problem ...
...or you can simply disable "request encryption" under zond settings.zorrosam wrote:... mmmm .. i download again the ta.gz at page 1 of the post .. but has the same problem again ...
any advice ?
have you reported this bug before? I must have missed it.zorrosam wrote:sigh ....
i'll hope that the interfaces that collect data with xml file are ok no ... but seems to have problems again ... and i can't visualize none of these ...
Can you give me more info in this? How exactly "do not work" asserts?klr0514 wrote:I have some interface graphs that do work, and some that do not. According to graph_management, they are all using the same template (Interface - Traffic (bits/second), but the graphs that do work were created after I upgraded Cacti to the latest version. The others were created using a previous version of Cacti.
I can't guarantee it is 100% true in your case but consider the following:klr0514 wrote:Disabling encryption seems to have resolved the str_split error, but I am still not getting any data on my interface stats (which are reported in cacti, but not on Zond). Any ideas on what I may have missed?
cacti3:/opt/cacti/plugins/zond# date;snmpget -v 2c -c public 127.0.0.1 IF-MIB:ifInOctets.2
Tue Aug 21 10:54:33 EEST 2007
IF-MIB::ifInOctets.2 = Counter32: 1333720876
...let's wait a little bit...
cacti3:/opt/cacti/plugins/zond# date;snmpget -v 2c -c public 127.0.0.1 IF-MIB:ifInOctets.2
Tue Aug 21 10:55:01 EEST 2007
IF-MIB::ifInOctets.2 = Counter32: 1333720876
...32 sec. have passed and counter is still not updated (i realy was browsing cacti during that time!)
cacti3:/opt/cacti/plugins/zond# date;snmpget -v 2c -c public 127.0.0.1 IF-MIB:ifInOctets.2
Tue Aug 21 10:55:01 EEST 2007
IF-MIB::ifInOctets.2 = Counter32: 1333720876
...still the same....
cacti3:/opt/cacti/plugins/zond# date;snmpget -v 2c -c public 127.0.0.1 IF-MIB:ifInOctets.2
Tue Aug 21 10:55:02 EEST 2007
IF-MIB::ifInOctets.2 = Counter32: 1334047640
...FINALY!...it took more than half of a minute...that means you had to see zeroes on ZOND during that time...
Users browsing this forum: No registered users and 0 guests