[smokeping-users] Smokeping not working as intended on Raspbian

Jake Hall jake at thegeek.info
Wed Jan 28 22:37:19 CET 2015


Hi all,

I am trying to setup Smokeping on my Raspberry Pi to monitor some services local to our household, and I have come across a problem (with a fresh install of Raspbian and Apache). I installed using apt within the console


First and foremost, running smokeping --debug within console throws the following error:




pi at raspberrypi ~ $ sudo smokeping --debug
ERROR: loading smokeping configuration file /usr/sbin/../etc/config: No such file or directory

 




Searching around and I didn't find much useful for resolutions to that issue, and I have no idea what it is.


I then feel this is the problem with the frontend, I don't get empty graphs - I get the following:


ERROR: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
'DEF:median1=/var/lib/smokeping/DNS/gdns.rrd:median:AVERAGE'
'DEF:loss1=/var/lib/smokeping/DNS/gdns.rrd:loss:AVERAGE'
'CDEF:ploss1=loss1,5,/,100,*'
'CDEF:dm1=median1,0,100000,LIMIT'
'DEF:pin1p1=/var/lib/smokeping/DNS/gdns.rrd:ping1:AVERAGE'
'CDEF:p1p1=pin1p1,UN,0,pin1p1,IF'
'DEF:pin1p2=/var/lib/smokeping/DNS/gdns.rrd:ping2:AVERAGE'
'CDEF:p1p2=pin1p2,UN,0,pin1p2,IF'
'DEF:pin1p3=/var/lib/smokeping/DNS/gdns.rrd:ping3:AVERAGE'
'CDEF:p1p3=pin1p3,UN,0,pin1p3,IF'
'DEF:pin1p4=/var/lib/smokeping/DNS/gdns.rrd:ping4:AVERAGE'
'CDEF:p1p4=pin1p4,UN,0,pin1p4,IF'
'DEF:pin1p5=/var/lib/smokeping/DNS/gdns.rrd:ping5:AVERAGE'
'CDEF:p1p5=pin1p5,UN,0,pin1p5,IF'
'CDEF:pings1=5,p1p1,UN,p1p2,UN,+,p1p3,UN,+,p1p4,UN,+,p1p5,UN,+,-'
'CDEF:m1=p1p1,p1p2,+,p1p3,+,p1p4,+,p1p5,+,pings1,/'
'CDEF:sdev1=p1p1,m1,-,DUP,*,p1p2,m1,-,DUP,*,+,p1p3,m1,-,DUP,*,+,p1p4,m1,-,DUP,*,+,p1p5,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/lib/smokeping/DNS/VirginMedia_DNS.rrd': No such file or directory
'DEF:median1=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:median:AVERAGE'
'DEF:loss1=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:loss:AVERAGE'
'CDEF:ploss1=loss1,5,/,100,*'
'CDEF:dm1=median1,0,100000,LIMIT'
'DEF:pin1p1=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:ping1:AVERAGE'
'CDEF:p1p1=pin1p1,UN,0,pin1p1,IF'
'DEF:pin1p2=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:ping2:AVERAGE'
'CDEF:p1p2=pin1p2,UN,0,pin1p2,IF'
'DEF:pin1p3=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:ping3:AVERAGE'
'CDEF:p1p3=pin1p3,UN,0,pin1p3,IF'
'DEF:pin1p4=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:ping4:AVERAGE'
'CDEF:p1p4=pin1p4,UN,0,pin1p4,IF'
'DEF:pin1p5=/var/lib/smokeping/DNS/VirginMedia_DNS.rrd:ping5:AVERAGE'
'CDEF:p1p5=pin1p5,UN,0,pin1p5,IF'
'CDEF:pings1=5,p1p1,UN,p1p2,UN,+,p1p3,UN,+,p1p4,UN,+,p1p5,UN,+,-'
'CDEF:m1=p1p1,p1p2,+,p1p3,+,p1p4,+,p1p5,+,pings1,/'
'CDEF:sdev1=p1p1,m1,-,DUP,*,p1p2,m1,-,DUP,*,+,p1p3,m1,-,DUP,*,+,p1p4,m1,-,DUP,*,+,p1p5,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'

 Which I assumed was because Smokeping was not able to write to the rrd folder, /var/lib/smokeping correct? Well, I have made sure smokeping was a member of the www-data group and have also given ownership to smokeping:www-data



Nothing. 


I don't know if its an RRD problem I feel like I am a little screwed because I know very little about it.


Any help would be vastly appreciated, here is an excerpt from the Apache log:




[Wed Jan 28 21:11:02 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:11:02 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:11:02 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:11:02 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:11:02 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory at /usr/share/perl5/Smokeping/RRDhelpers.pm line 36.
[Wed Jan 28 21:12:15 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:12:15 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:12:15 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:12:15 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:12:15 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory at /usr/share/perl5/Smokeping/RRDhelpers.pm line 36.
[Wed Jan 28 21:13:23 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:13:23 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:13:23 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:13:23 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory
[Wed Jan 28 21:13:23 2015] smokeping.cgi [client 192.168.0.16]: opening '/var/lib/smokeping/DNS/gdns.rrd': No such file or directory at /usr/share/perl5/Smokeping/RRDhelpers.pm line 36.

 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20150128/1ee56beb/attachment.html>


More information about the smokeping-users mailing list