new device problems after upgreade from 0.8.7b to 0.8.7c

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

cosminutz1977
Posts: 13
Joined: Mon Sep 08, 2008 7:10 am
Contact:

Post by cosminutz1977 »

hi,

i've upgraded from 0.8.7c to 0.8.7d and after a lots o tests all looks just fine [re-indexing, adding a new device, new graphs]

thank you for good work ...
cdnvballer
Cacti User
Posts: 89
Joined: Fri May 25, 2007 1:18 pm

Post by cdnvballer »

hmm I still can't get my 0.8.7d install to work.
just trying to add one graph has been hell so far.

this is based on following the on-line doc for install, and I'm not getting anywhere with creating a graph...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

cdnvballer wrote:hmm I still can't get my 0.8.7d install to work.
just trying to add one graph has been hell so far.

this is based on following the on-line doc for install, and I'm not getting anywhere with creating a graph...
Please post exact error message or any other precise information about your problem
Reinhard
Sebas
Posts: 1
Joined: Thu Feb 19, 2009 6:54 pm

Post by Sebas »

I've had the same problems after upgrading to version c...

update to version d didnt fix a thing, so i looked what it was trying to do

the error
ERROR: min must be less than max in DS definition
has to do with the = values as already stated

well i guess there was a bug in version c that saved rrd_minimum with a = character in the database, the rrdtool create obviously got an error..

I have no idea if a re-index(no clue what that is) would fix those values, but i just added this in rrd.php after line 266

if (substr($data_source["rrd_minimum"],0,1) == "=")
$data_source["rrd_minimum"] = substr($data_source["rrd_minimum"],2);

its a quick fix and lets the system create the rrd files, after which no more errors since update doesnt seem to do anything with it :)

my next fix is to just wipe the = characters from the rrd_minimum in the database with an sql rrd_minimum = substring(rrd_minimum from 2) where rrd_minimum like '=%'.. or something along those lines ;)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There's a script in cli folder that performs mass reindexing
Reinhard
kirgudu
Posts: 10
Joined: Wed Feb 04, 2009 4:22 am
Location: Moscow, Russia

Re: new device problems after upgreade from 0.8.7b to 0.8.7c

Post by kirgudu »

after upgrade from 0.8.6h to 0.8.6i I have the same error:

Code: Select all

01/19/2012 11:14:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /var/lib/cacti/rra/186/3142.rrd   --step 60   DS:traffic_in:COUNTER:600:0:|query_ifSpeed|  DS:traffic_out:COUNTER:600:0:|query_ifSpeed|  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  

Code: Select all

/usr/bin/rrdtool create /var/lib/cacti/rra/186/3142.rrd   --step 60   'DS:traffic_in:COUNTER:600:0:|query_ifSpeed|  DS:traffic_out:COUNTER:600:0:|query_ifSpeed|  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797'
ERROR: min must be less than max in DS definition
Debian 6.0.3.
RRDtool 1.4.3
NET-SNMP version: 5.4.3
PHP 5.3.3-7+squeeze3

Getting rrd.php from svn - same error.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests