[rrd-developers] rrdtool version 1.5.0 is out

Tobi Oetiker tobi at oetiker.ch
Tue Apr 21 18:06:42 CEST 2015


Hi Stuart

the CDEF issue is fixed on github.
the problem was the parsing of long numbers ...

cheers
tobi

Tobias Oetiker
tobi at oetiker.ch
062 775 9902

> On 20.04.2015, at 14:07, Stuart Henderson <stu at spacehopper.org> wrote:
> 
>> On 2015-04-16, Tobias Oetiker <tobi at oetiker.ch> wrote:
>> Finally! RRDtool 1.5.0 is out.
> 
> I'm seeing a couple of issues with this update on OpenBSD (-current, amd64).
> 
> Firstly rrdcached is failing to start; segfault after startup, with the
> following backtrace.
> 
> #0  sigwait (set=0xffffffff, sig=0x3ba61203744) at signal.h:88
> 88        *__set &= ~(1U << ((__signo)-1));    /* sigmask(__signo) */
> (gdb) thread apply all bt   
> 
> Thread 2 (process 26867):
> #0  0x000003ba46c027a2 in _dl_mprotect () at /usr/src/libexec/ld.so/amd64/ldasm.S:91
> #1  0x000003ba46c0706e in _dl_bind (object=0x3ba8d95e800, index=Variable "index" is not available.) at /usr/src/libexec/ld.so/amd64/rtld_machine.c:394
> #2  0x000003ba46c028b9 in _dl_bind_start () at /usr/src/libexec/ld.so/amd64/ldasm.S:167
> #3  0x000003ba77efbac7 in calloc (nmemb=1, size=48) at /usr/src/lib/libc/stdlib/malloc.c:1446
> #4  0x000003ba6f81532b in pthread_mutex_init (mutexp=0x3b7aa815168, attr=0x0) at /usr/src/lib/librthread/rthread_sync.c:44
> #5  0x000003ba6f8154f3 in _rthread_mutex_lock (mutexp=0x3b7aa815168, trywait=0, abstime=0x0) at /usr/src/lib/librthread/rthread_sync.c:100
> #6  0x000003b7aa60a288 in journal_init () at rrd_daemon.c:2950
> #7  0x000003b7aa60ce85 in main (argc=Variable "argc" is not available.) at rrd_daemon.c:4239
> Current language:  auto; currently asm
> 
> Thread 1 (process 7573):
> #0  sigwait (set=0xffffffff, sig=0x3ba61203744) at signal.h:88
> #1  0x000003b7aa604c26 in signal_receiver (args=Variable "args" is not available.) at rrd_daemon.c:347
> #2  0x000003ba6f812c6e in _rthread_start (v=Variable "v" is not available.) at /usr/src/lib/librthread/rthread.c:145
> #3  0x000003ba77eaa8fb in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
> #4  0x0000000000000000 in ?? ()
> Current language:  auto; currently c
> 
> Secondly smokeping fails to produce most (but not all) graphs, it looks
> like possibly the new parser doesn't handle this cdef line?
> 
> CDEF:mesd=median,POP,avmed,0.000118036859735616,/
> 
> Full text from the error included below.
> 
> Any ideas for either of these? Thanks.
> 
> 
> 
> --snip-- -- -- -- --
> ERROR: don't undestand '0.000118036859735616,/'
> /var/www/htdocs/smokeping/cache/Net/gr1-pl7_last_10800.png
> --start
> -10800
> --height
> 200
> --width
> 600
> --title
> Last 3 Hours
> --rigid
> --upper-limit
> 0.02831424
> --lower-limit
> 0
> --vertical-label
> Seconds
> --imgformat
> PNG
> --color
> SHADEA#ffffff
> --color
> SHADEB#ffffff
> --color
> BACK#ffffff
> --color
> CANVAS#ffffff
> DEF:ping1=/var/db/smokeping/Net/gr1-pl7.rrd:ping1:AVERAGE
> DEF:ping2=/var/db/smokeping/Net/gr1-pl7.rrd:ping2:AVERAGE
> DEF:ping3=/var/db/smokeping/Net/gr1-pl7.rrd:ping3:AVERAGE
> DEF:ping4=/var/db/smokeping/Net/gr1-pl7.rrd:ping4:AVERAGE
> DEF:ping5=/var/db/smokeping/Net/gr1-pl7.rrd:ping5:AVERAGE
> DEF:ping6=/var/db/smokeping/Net/gr1-pl7.rrd:ping6:AVERAGE
> DEF:ping7=/var/db/smokeping/Net/gr1-pl7.rrd:ping7:AVERAGE
> DEF:ping8=/var/db/smokeping/Net/gr1-pl7.rrd:ping8:AVERAGE
> DEF:ping9=/var/db/smokeping/Net/gr1-pl7.rrd:ping9:AVERAGE
> DEF:ping10=/var/db/smokeping/Net/gr1-pl7.rrd:ping10:AVERAGE
> DEF:ping11=/var/db/smokeping/Net/gr1-pl7.rrd:ping11:AVERAGE
> DEF:ping12=/var/db/smokeping/Net/gr1-pl7.rrd:ping12:AVERAGE
> DEF:ping13=/var/db/smokeping/Net/gr1-pl7.rrd:ping13:AVERAGE
> DEF:ping14=/var/db/smokeping/Net/gr1-pl7.rrd:ping14:AVERAGE
> DEF:ping15=/var/db/smokeping/Net/gr1-pl7.rrd:ping15:AVERAGE
> DEF:ping16=/var/db/smokeping/Net/gr1-pl7.rrd:ping16:AVERAGE
> DEF:ping17=/var/db/smokeping/Net/gr1-pl7.rrd:ping17:AVERAGE
> DEF:ping18=/var/db/smokeping/Net/gr1-pl7.rrd:ping18:AVERAGE
> DEF:ping19=/var/db/smokeping/Net/gr1-pl7.rrd:ping19:AVERAGE
> DEF:ping20=/var/db/smokeping/Net/gr1-pl7.rrd:ping20:AVERAGE
> CDEF:cp1=ping1,0.02831424,LT,ping1,INF,IF
> CDEF:cp2=ping2,0.02831424,LT,ping2,INF,IF
> CDEF:cp3=ping3,0.02831424,LT,ping3,INF,IF
> CDEF:cp4=ping4,0.02831424,LT,ping4,INF,IF
> CDEF:cp5=ping5,0.02831424,LT,ping5,INF,IF
> CDEF:cp6=ping6,0.02831424,LT,ping6,INF,IF
> CDEF:cp7=ping7,0.02831424,LT,ping7,INF,IF
> CDEF:cp8=ping8,0.02831424,LT,ping8,INF,IF
> CDEF:cp9=ping9,0.02831424,LT,ping9,INF,IF
> CDEF:cp10=ping10,0.02831424,LT,ping10,INF,IF
> CDEF:cp11=ping11,0.02831424,LT,ping11,INF,IF
> CDEF:cp12=ping12,0.02831424,LT,ping12,INF,IF
> CDEF:cp13=ping13,0.02831424,LT,ping13,INF,IF
> CDEF:cp14=ping14,0.02831424,LT,ping14,INF,IF
> CDEF:cp15=ping15,0.02831424,LT,ping15,INF,IF
> CDEF:cp16=ping16,0.02831424,LT,ping16,INF,IF
> CDEF:cp17=ping17,0.02831424,LT,ping17,INF,IF
> CDEF:cp18=ping18,0.02831424,LT,ping18,INF,IF
> CDEF:cp19=ping19,0.02831424,LT,ping19,INF,IF
> CDEF:cp20=ping20,0.02831424,LT,ping20,INF,IF
> DEF:loss=/var/db/smokeping/Net/gr1-pl7.rrd:loss:AVERAGE
> CDEF:smoke1=cp1,UN,UNKN,cp20,cp1,-,IF
> AREA:cp1
> STACK:smoke1#dddddd
> CDEF:smoke2=cp2,UN,UNKN,cp19,cp2,-,IF
> AREA:cp2
> STACK:smoke2#cacaca
> CDEF:smoke3=cp3,UN,UNKN,cp18,cp3,-,IF
> AREA:cp3
> STACK:smoke3#b7b7b7
> CDEF:smoke4=cp4,UN,UNKN,cp17,cp4,-,IF
> AREA:cp4
> STACK:smoke4#a4a4a4
> CDEF:smoke5=cp5,UN,UNKN,cp16,cp5,-,IF
> AREA:cp5
> STACK:smoke5#919191
> CDEF:smoke6=cp6,UN,UNKN,cp15,cp6,-,IF
> AREA:cp6
> STACK:smoke6#7e7e7e
> CDEF:smoke7=cp7,UN,UNKN,cp14,cp7,-,IF
> AREA:cp7
> STACK:smoke7#6b6b6b
> CDEF:smoke8=cp8,UN,UNKN,cp13,cp8,-,IF
> AREA:cp8
> STACK:smoke8#585858
> CDEF:smoke9=cp9,UN,UNKN,cp12,cp9,-,IF
> AREA:cp9
> STACK:smoke9#454545
> CDEF:smoke10=cp10,UN,UNKN,cp11,cp10,-,IF
> AREA:cp10
> STACK:smoke10#323232
> DEF:median=/var/db/smokeping/Net/gr1-pl7.rrd:median:AVERAGE
> CDEF:ploss=loss,20,/,100,*
> VDEF:avmed=median,AVERAGE
> CDEF:mesd=median,POP,avmed,0.000118036859735616,/
> GPRINT:avmed:median rtt\: %.1lf %ss avg
> GPRINT:median:MAX:%.1lf %ss max
> GPRINT:median:MIN:%.1lf %ss min
> GPRINT:median:LAST:%.1lf %ss now
> COMMENT:0.1 ms sd
> GPRINT:mesd:AVERAGE:%.1lf %s am/s\l
> LINE1:median#202020
> GPRINT:ploss:AVERAGE:packet loss\: %.2lf %% avg
> GPRINT:ploss:MAX:%.2lf %% max
> GPRINT:ploss:MIN:%.2lf %% min
> GPRINT:ploss:LAST:%.2lf %% now\l
> COMMENT:loss color\:
> CDEF:me0=loss,-1,GT,loss,0,LE,*,1,UNKN,IF,median,*
> CDEF:meL0=me0,0.0001415712,-
> CDEF:meH0=me0,0,*,0.0001415712,2,*,+
> AREA:meL0
> STACK:meH0#26ff00:0
> CDEF:me1=loss,0,GT,loss,1,LE,*,1,UNKN,IF,median,*
> CDEF:meL1=me1,0.0001415712,-
> CDEF:meH1=me1,0,*,0.0001415712,2,*,+
> AREA:meL1
> STACK:meH1#00b8ff:1/20
> CDEF:me2=loss,1,GT,loss,2,LE,*,1,UNKN,IF,median,*
> CDEF:meL2=me2,0.0001415712,-
> CDEF:meH2=me2,0,*,0.0001415712,2,*,+
> AREA:meL2
> STACK:meH2#0059ff:2/20
> CDEF:me3=loss,2,GT,loss,3,LE,*,1,UNKN,IF,median,*
> CDEF:meL3=me3,0.0001415712,-
> CDEF:meH3=me3,0,*,0.0001415712,2,*,+
> AREA:meL3
> STACK:meH3#5e00ff:3/20
> CDEF:me4=loss,3,GT,loss,4,LE,*,1,UNKN,IF,median,*
> CDEF:meL4=me4,0.0001415712,-
> CDEF:meH4=me4,0,*,0.0001415712,2,*,+
> AREA:meL4
> STACK:meH4#7e00ff:4/20
> CDEF:me10=loss,4,GT,loss,10,LE,*,1,UNKN,IF,median,*
> CDEF:meL10=me10,0.0001415712,-
> CDEF:meH10=me10,0,*,0.0001415712,2,*,+
> AREA:meL10
> STACK:meH10#dd00ff:10/20
> CDEF:me19=loss,10,GT,loss,19,LE,*,1,UNKN,IF,median,*
> CDEF:meL19=me19,0.0001415712,-
> CDEF:meH19=me19,0,*,0.0001415712,2,*,+
> AREA:meL19
> STACK:meH19#ff0000:19/20
> COMMENT: \l
> HRULE:0#000000
> COMMENT:probe\: 20 ICMP Echo Pings (56 Bytes) every 300s
> COMMENT:end\: Mon Apr 20 12\:44\:05 2015\j
> --snip-- -- -- -- --
> 
> 
> _______________________________________________
> rrd-developers mailing list
> rrd-developers at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
> 



More information about the rrd-developers mailing list