[smokeping-users] empty graphs

Gregory Sloop gregs at sloop.net
Mon Jun 24 19:13:11 CEST 2019


I scanned your earlier messages, but didn't do more than a quick scan - thus it's possible I've missed something.

I'm assuming you're running a current debian version and are using a debian packaged smokeping. [2.6.11 *is* pretty old (late 2014), but I don't think that's the source of your problem - but it makes me wonder about how current your debian install is. Which, is again, unlikely to be the source of your issue - but it's something to consider for the longer term - security and OS updates...]

So, nothing changed that was a proximal cause of the problem? Like a debian upgrade? It just spontaneously broke?

GG> The rrd files seem to be getting updated properly, 

How sure are you that the RRD's are updated? This is the first place I'd start looking.
Running in debug mode often helps.

smokeping --debug

Watch the output.


--
Enpty graphs is a common symptom of RRD's not getting the data - and that's usually a permissions issue. But the PNG's will get produced.

See the FAQ:
https://github.com/oetiker/SmokePing/wiki/FAQ


-Greg


GG> 
GG> and the images
GG> are there; perhaps the paths are wrong?
GG> But the images in /var/www/smokeping/... are all old, not
GG> updated, but those in /var/cache/smokeping/... are all updated.

GG> Files::
GG> root at alpha:/var/cache/smokeping/images/World/USA# ls -lt Fairfield*
GG> -rw-r--r-- 1 www-data www-data 19720 Jun 24 11:49 Fairfield_last_31104000.png
GG> -rw-r--r-- 1 www-data www-data 19035 Jun 24 11:49 Fairfield_last_864000.png
GG> -rw-r--r-- 1 www-data www-data 36367 Jun 24 11:49 Fairfield_last_108000.png
GG> -rw-r--r-- 1 www-data www-data 28213 Jun 24 11:49 Fairfield_last_10800.png
GG> -rw-r--r-- 1 www-data www-data    43 Jun 24 11:49 Fairfield.maxheight
GG> -rw-r--r-- 1 www-data www-data 12042 Jun 24 11:38 Fairfield_mini.png

GG> root at alpha:/var/www/smokeping/World/USA# ls -lt
GG> total 920
GG> drwxr-xr-x 2 root root  4096 May  3  2016 CS
GG> drwxr-xr-x 2 root root  4096 May  3  2016 Fairfield
GG> drwxr-xr-x 2 root root  4096 May  3  2016 Fairfield-http
GG> -rw-r--r-- 1 root root  7094 May  3  2016 Fairfield-http_last_108000.png
GG> -rw-r--r-- 1 root root  9790 May  3  2016 Fairfield-http_last_10800.png
GG> -rw-r--r-- 1 root root  8501 May  3  2016 Fairfield-http_last_34560000.png
GG> -rw-r--r-- 1 root root  7053 May  3  2016 Fairfield-http_last_864000.png
GG> -rw-r--r-- 1 root root    45 May  3  2016 Fairfield-http.rrd.maxhight
GG> -rw-r--r-- 1 root root 49828 May  3  2016 Fairfield_last_108000.png
GG> -rw-r--r-- 1 root root 33531 May  3  2016 Fairfield_last_10800.png
GG> -rw-r--r-- 1 root root 45963 May  3  2016 Fairfield_last_34560000.png
GG> -rw-r--r-- 1 root root 41524 May  3  2016 Fairfield_last_864000.png
GG> -rw-r--r-- 1 root root    51 May  3  2016 Fairfield.maxheight
GG> -rw-r--r-- 1 root root 13136 May  3  2016 Fairfield_mini.png
GG> -rw-r--r-- 1 root root    45 May  3  2016 Fairfield.rrd.maxhight

GG> In the web page:
>><a href="?displaymode=n;start=2019-06-24%2008:39;end=now;target=World.USA.Fairfield">
GG> <IMG BORDER="0"
GG> SRC="../smokeping/images/World/USA/Fairfield_last_10800.png"></a></div>
GG> <div><br/><a
GG> href="?displaymode=n;start=2019-06-23%2005:39;end=now;target=World.USA.Fairfield">
GG> <IMG BORDER="0"
GG> SRC="../smokeping/images/World/USA/Fairfield_last_108000.png"></a></div>
GG> <div><br/><a
GG> href="?displaymode=n;start=2019-06-14%2011:39;end=now;target=World.USA.Fairfield">
GG> <IMG BORDER="0"
GG> SRC="../smokeping/images/World/USA/Fairfield_last_864000.png"></a></div>
GG> <div><br/><a
GG> href="?displaymode=n;start=2018-06-29%2011:39;end=now;target=World.USA.Fairfield">
GG> <IMG BORDER="0"
GG> SRC="../smokeping/images/World/USA/Fairfield_last_31104000.png"></a></div>
GG> </P>
GG> ----------------------------------------------------------------

GG> -----Original Message-----
GG> From: Gregory Guthrie 
GG> Sent: Monday, June 24, 2019 8:30 AM
GG> To: 'smokeping-users at lists.oetiker.ch'
GG> <smokeping-users at lists.oetiker.ch>
GG> Subject: RE: empty graphs


GG> I do see that the file: /usr/share/smokeping/www/javascript is
GG> missing (from the link in /var/www/smokeping/javascript)
GG>         root at alpha:/usr/share/smokeping/www# ls
GG>         cropper  images  prototype  scriptaculous 
GG> smokeping.fcgi.dist  smokeping-zoom.js

GG> Not sure why, as I just did a reinstall of the whole package.

GG> This is on Debian, and he latest version they supply is 2.6.11

GG> -----Original Message-----
GG> From: Gregory Guthrie 
GG> Sent: Monday, June 24, 2019 7:47 AM
GG> To: smokeping-users at lists.oetiker.ch
GG> Subject: empty graphs

GG> I have had a smokeping running for years(!) on a small local
GG> Linux system - but something broke.

GG> I started getting a BigLoss, and to fix it I had to delete a
GG> target in /etc/.../Targets. (It was down for a long time before I finally fixed it.)

GG> Then it seems to run again (after restart), but I get no graphs;
GG> but instead empty boxes for each target where a graph should be. I
GG> did a remove and re-install, no effect.

GG> Seems like the uninstall does not remove everything since it
GG> still had all of my Targets on the new startup.

GG> I am not sure how to debug or remedy this, any hints or ideas?


GG> ********************************************

GG> _______________________________________________
GG> smokeping-users mailing list
GG> smokeping-users at lists.oetiker.ch
GG> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

-- 
Gregory Sloop, Principal: Sloop Network & Computer Consulting
Voice: 503.251.0452 x82
EMail: gregs at sloop.net
http://www.sloop.net
---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20190624/3747eb19/attachment.html>


More information about the smokeping-users mailing list