[smokeping-users] speedy issues

Phillip Moore pdm at pobox.com
Mon Mar 3 16:59:08 CET 2008


On Feb 26, 2008, at 3:44 PM, Tobias Oetiker wrote:
> no replaceing the interpreter is all you have todo .. the rest
> happens automatically in the smokeping.cgi code ...

I'm trying again to get speedy working to make smokeping.cgi scale  
better. before I get too far, as speedy not been udpated in a very  
long while? The one I found was pretty old (2003) from here http:// 
daemoninc.com/SpeedyCGI/download.html.

I setup a new installation of my smokeping master and all was well  
with no errors.
I switched to speedy as the interpreter for smokeping.cgi and then  
started getting this error:

RRDs::info /path/to/files/hostname.rrd: ERROR: can't handle RRD file  
version 0003 at /path/to/smokeping/lib/Smokeping/RRDtools.pm line 113.

This is the same thing that happened to me last time. Ok, I guess  
something changes with speedy I think, so I just remove the data and  
htdocs/cache data and start over from scratch.

Now I get the UI to come up but I get errors in apache log

[Mon Mar 03 15:51:24 2008] [error] [client 216.x] [Mon Mar  3  
15:51:24 2008] smokeping.cgi [client 216.x]: Use of uninitialized  
value in string eq at /path/to/smokeping/lib/Smokeping.pm line 631.

When I go to view some graphs (which there is no data yet obviously)  
I guess a slew of errors

ERROR: invalid rpn expression 'p1p1,m1,-,DUP,*,p1p2,m1,-,DUP,*, 
+,p1p3,m1,-,DUP,*,+,p1p4,m1,-,DUP,*,+,p1p5,m1,-,DUP,*, 
+,p1p6,m1,-,DUP,*,+,p1p7,m1,-,DUP,*,+,p1p8,m1,-,DUP,*, 
+,p1p9,m1,-,DUP,*,+,p1p10,m1,-,DUP,*,+,p1p11,m1,-,DUP,*, 
+,p1p12,m1,-,DUP,*,+,p1p13,m1,-,DUP,*,+,p1p14,m1,-,DUP,*, 
+,p1p15,m1,-,DUP,*,+,p1p16,m1,-,DUP,*,+,p1p17,m1,-,DUP,*, 
+,p1p18,m1,-,DUP,*,+,p1p19,m1,-,DUP,*,+,p1p20,m1,-,DUP,*, 
+,pings1,/,SQRT'
'DEF:median1=/path/to/smokeping/data/Foo/ac2/ 
ahostname.rrd:median:AVERAGE'
'DEF:loss1=/path/to/smokeping/data/Foo/ac2/ahostname.rrd:loss:AVERAGE'
'CDEF:ploss1=loss1,20,/,100,*'
'CDEF:dm1=median1,0,100000,LIMIT'
'DEF:pin1p1=/path/to/smokeping/data/Foo/ac2/ahostname.rrd:ping1:AVERAGE'
'CDEF:p1p1=pin1p1,UN,0,pin1p1,IF'




More information about the smokeping-users mailing list