[smokeping-users] no graphs?

Larry Low llow at telesphere.com
Thu Mar 20 21:51:06 CET 2008


/var/www/html/imgcache must be writeable by your web server

If you are using SELinux make sure it has the right context as well.

----
Larry Low
4150 N Drinkwater Blvd., 5th Floor
Scottsdale, AZ  85251
Office: 480.385.7045
E-mail: llow at telesphere.com<mailto:llow at telesphere.com>'

Telesphere Networks, Inc

From: smokeping-users-bounces at lists.oetiker.ch [mailto:smokeping-users-bounces at lists.oetiker.ch] On Behalf Of Michael Dafforn
Sent: Thursday, March 20, 2008 1:37 PM
To: smokeping-users at lists.oetiker.ch
Subject: [smokeping-users] no graphs?

Hello all, I'm a somewhat knowledgeable linux person, but I have pushed beyond my boundries with the CGI component here.

I have smokeping running, and it appears to be collecting data in /tmp /smokeping-ms/data/Test/, but it doesn't appear to be creating the graphs.

When I navigate to http://sitename/cgi-bin/smokeping.cgi?target=Test I get:

ERROR: Opening '/var/www/html/imgcache/Test/web1_mini.png' for write: Permission denied
'DEF:median1=/tmp/smokeping-ms/data/Test/web1.rrd:median:AVERAGE'
'DEF:loss1=/tmp/smokeping-ms/data/Test/web1.rrd:loss:AVERAGE'
'CDEF:ploss1=loss1,20,/,100,*'
'CDEF:dm1=median1,0,100000,LIMIT'
'DEF:pin1p1=/tmp/smokeping-ms/data/Test/web1.rrd:ping1:AVERAGE'
'CDEF:p1p1=pin1p1,UN,0,pin1p1,IF'
'DEF:pin1p2=/tmp/smokeping-ms/data/Test/web1.rrd:ping2:AVERAGE'
'CDEF:p1p2=pin1p2,UN,0,pin1p2,IF'
'DEF:pin1p3=/tmp/smokeping-ms/data/Test/web1.rrd:ping3:AVERAGE'
'CDEF:p1p3=pin1p3,UN,0,pin1p3,IF'
'DEF:pin1p4=/tmp/smokeping-ms/data/Test/web1.rrd:ping4:AVERAGE'
'CDEF:p1p4=pin1p4,UN,0,pin1p4,IF'
'DEF:pin1p5=/tmp/smokeping-ms/data/Test/web1.rrd:ping5:AVERAGE'
'CDEF:p1p5=pin1p5,UN,0,pin1p5,IF'
'DEF:pin1p6=/tmp/smokeping-ms/data/Test/web1.rrd:ping6:AVERAGE'
'CDEF:p1p6=pin1p6,UN,0,pin1p6,IF'
'DEF:pin1p7=/tmp/smokeping-ms/data/Test/web1.rrd:ping7:AVERAGE'
'CDEF:p1p7=pin1p7,UN,0,pin1p7,IF'
'DEF:pin1p8=/tmp/smokeping-ms/data/Test/web1.rrd:ping8:AVERAGE'
'CDEF:p1p8=pin1p8,UN,0,pin1p8,IF'
'DEF:pin1p9=/tmp/smokeping-ms/data/Test/web1.rrd:ping9:AVERAGE'
'CDEF:p1p9=pin1p9,UN,0,pin1p9,IF'
'DEF:pin1p10=/tmp/smokeping-ms/data/Test/web1.rrd:ping10:AVERAGE'
'CDEF:p1p10=pin1p10,UN,0,pin1p10,IF'
'DEF:pin1p11=/tmp/smokeping-ms/data/Test/web1.rrd:ping11:AVERAGE'
'CDEF:p1p11=pin1p11,UN,0,pin1p11,IF'
'DEF:pin1p12=/tmp/smokeping-ms/data/Test/web1.rrd:ping12:AVERAGE'
'CDEF:p1p12=pin1p12,UN,0,pin1p12,IF'
'DEF:pin1p13=/tmp/smokeping-ms/data/Test/web1.rrd:ping13:AVERAGE'
'CDEF:p1p13=pin1p13,UN,0,pin1p13,IF'
'DEF:pin1p14=/tmp/smokeping-ms/data/Test/web1.rrd:ping14:AVERAGE'
'CDEF:p1p14=pin1p14,UN,0,pin1p14,IF'
'DEF:pin1p15=/tmp/smokeping-ms/data/Test/web1.rrd:ping15:AVERAGE'
'CDEF:p1p15=pin1p15,UN,0,pin1p15,IF'
'DEF:pin1p16=/tmp/smokeping-ms/data/Test/web1.rrd:ping16:AVERAGE'
'CDEF:p1p16=pin1p16,UN,0,pin1p16,IF'
'DEF:pin1p17=/tmp/smokeping-ms/data/Test/web1.rrd:ping17:AVERAGE'
'CDEF:p1p17=pin1p17,UN,0,pin1p17,IF'
'DEF:pin1p18=/tmp/smokeping-ms/data/Test/web1.rrd:ping18:AVERAGE'
'CDEF:p1p18=pin1p18,UN,0,pin1p18,IF'
'DEF:pin1p19=/tmp/smokeping-ms/data/Test/web1.rrd:ping19:AVERAGE'
'CDEF:p1p19=pin1p19,UN,0,pin1p19,IF'
'DEF:pin1p20=/tmp/smokeping-ms/data/Test/web1.rrd:ping20:AVERAGE'
'CDEF:p1p20=pin1p20,UN,0,pin1p20,IF'
'CDEF:pings1=20,p1p1,UN,p1p2,UN,+,p1p3,UN,+,p1p4,UN,+,p1p5,UN,+,p1p6,UN,+,p1p7,UN,+,p1p8,UN,+,p1p9,UN,+,p1p10,UN,+,p1p11,UN,+,p1p12,UN,+,p1p13,UN,+,p1p14,UN,+,p1p15,UN,+,p1p16,UN,+,p1p17,UN,+,p1p18,UN,+,p1p19,UN,+,p1p20,UN,+,-'
'CDEF:m1=p1p1,p1p2,+,p1p3,+,p1p4,+,p1p5,+,p1p6,+,p1p7,+,p1p8,+,p1p9,+,p1p10,+,p1p11,+,p1p12,+,p1p13,+,p1p14,+,p1p15,+,p1p16,+,p1p17,+,p1p18,+,p1p19,+,p1p20,+,pings1,/'
'CDEF:sdev1=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'
'CDEF:dmlow1=dm1,sdev1,2,/,-'
'CDEF:s2d1=sdev1'
'AREA:dmlow1'
'AREA:s2d1#00458630::STACK'
'LINE1:dm1#004586:med RTT'
'VDEF:avmed1=median1,AVERAGE'
'VDEF:avsd1=sdev1,AVERAGE'
'CDEF:msr1=median1,POP,avmed1,avsd1,/'
'VDEF:avmsr1=msr1,AVERAGE'
'GPRINT:avmed1:%5.1lf %ss av md '
'GPRINT:ploss1:AVERAGE:%5.1lf %% av ls'
'GPRINT:avsd1:%5.1lf %ss av sd'
'GPRINT:avmsr1:%5.1lf %s am/as\l'
ERROR: Opening '/var/www/html/imgcache/Test/netdc1_mini.png' for write: Permission denied
'DEF:median1=/tmp/smokeping-ms/data/Test/netdc1.rrd:median:AVERAGE'
'DEF:loss1=/tmp/smokeping-ms/data/Test/netdc1.rrd:loss:AVERAGE'
'CDEF:ploss1=loss1,20,/,100,*'
'CDEF:dm1=median1,0,100000,LIMIT'
'DEF:pin1p1=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping1:AVERAGE'
'CDEF:p1p1=pin1p1,UN,0,pin1p1,IF'
'DEF:pin1p2=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping2:AVERAGE'
'CDEF:p1p2=pin1p2,UN,0,pin1p2,IF'
'DEF:pin1p3=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping3:AVERAGE'
'CDEF:p1p3=pin1p3,UN,0,pin1p3,IF'
'DEF:pin1p4=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping4:AVERAGE'
'CDEF:p1p4=pin1p4,UN,0,pin1p4,IF'
'DEF:pin1p5=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping5:AVERAGE'
'CDEF:p1p5=pin1p5,UN,0,pin1p5,IF'
'DEF:pin1p6=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping6:AVERAGE'
'CDEF:p1p6=pin1p6,UN,0,pin1p6,IF'
'DEF:pin1p7=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping7:AVERAGE'
'CDEF:p1p7=pin1p7,UN,0,pin1p7,IF'
'DEF:pin1p8=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping8:AVERAGE'
'CDEF:p1p8=pin1p8,UN,0,pin1p8,IF'
'DEF:pin1p9=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping9:AVERAGE'
'CDEF:p1p9=pin1p9,UN,0,pin1p9,IF'
'DEF:pin1p10=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping10:AVERAGE'
'CDEF:p1p10=pin1p10,UN,0,pin1p10,IF'
'DEF:pin1p11=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping11:AVERAGE'
'CDEF:p1p11=pin1p11,UN,0,pin1p11,IF'
'DEF:pin1p12=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping12:AVERAGE'
'CDEF:p1p12=pin1p12,UN,0,pin1p12,IF'
'DEF:pin1p13=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping13:AVERAGE'
'CDEF:p1p13=pin1p13,UN,0,pin1p13,IF'
'DEF:pin1p14=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping14:AVERAGE'
'CDEF:p1p14=pin1p14,UN,0,pin1p14,IF'
'DEF:pin1p15=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping15:AVERAGE'
'CDEF:p1p15=pin1p15,UN,0,pin1p15,IF'
'DEF:pin1p16=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping16:AVERAGE'
'CDEF:p1p16=pin1p16,UN,0,pin1p16,IF'
'DEF:pin1p17=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping17:AVERAGE'
'CDEF:p1p17=pin1p17,UN,0,pin1p17,IF'
'DEF:pin1p18=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping18:AVERAGE'
'CDEF:p1p18=pin1p18,UN,0,pin1p18,IF'
'DEF:pin1p19=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping19:AVERAGE'
'CDEF:p1p19=pin1p19,UN,0,pin1p19,IF'
'DEF:pin1p20=/tmp/smokeping-ms/data/Test/netdc1.rrd:ping20:AVERAGE'
'CDEF:p1p20=pin1p20,UN,0,pin1p20,IF'
'CDEF:pings1=20,p1p1,UN,p1p2,UN,+,p1p3,UN,+,p1p4,UN,+,p1p5,UN,+,p1p6,UN,+,p1p7,UN,+,p1p8,UN,+,p1p9,UN,+,p1p10,UN,+,p1p11,UN,+,p1p12,UN,+,p1p13,UN,+,p1p14,UN,+,p1p15,UN,+,p1p16,UN,+,p1p17,UN,+,p1p18,UN,+,p1p19,UN,+,p1p20,UN,+,-'
'CDEF:m1=p1p1,p1p2,+,p1p3,+,p1p4,+,p1p5,+,p1p6,+,p1p7,+,p1p8,+,p1p9,+,p1p10,+,p1p11,+,p1p12,+,p1p13,+,p1p14,+,p1p15,+,p1p16,+,p1p17,+,p1p18,+,p1p19,+,p1p20,+,pings1,/'
'CDEF:sdev1=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'
'CDEF:dmlow1=dm1,sdev1,2,/,-'
'CDEF:s2d1=sdev1'
'AREA:dmlow1'
'AREA:s2d1#00458630::STACK'
'LINE1:dm1#004586:med RTT'
'VDEF:avmed1=median1,AVERAGE'
'VDEF:avsd1=sdev1,AVERAGE'
'CDEF:msr1=median1,POP,avmed1,avsd1,/'
'VDEF:avmsr1=msr1,AVERAGE'
'GPRINT:avmed1:%5.1lf %ss av md '
'GPRINT:ploss1:AVERAGE:%5.1lf %% av ls'
'GPRINT:avsd1:%5.1lf %ss av sd'
'GPRINT:avmsr1:%5.1lf %s am/as\l'




I can see that it's probably a permissions thing, but whom do I give permission to what?

Thanks

mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20080320/a91975c9/attachment.html 


More information about the smokeping-users mailing list