[smokeping-users] empty graphs

Gregory Guthrie guthrie at mum.edu
Tue Jun 25 05:28:01 CEST 2019


Thank you for the note and information.

Yes - I have the latest Debian release (9.9), and have full apt updates & upgrades.

Yes; 2.6.11 is their most recent release, and I've been running on their ported releases all along.

Yes; RRd's are getting updated. I checked the file timestamps, and also the system logs show the updates, and I ran smokeping with a -debug flag and it showed the updates. (below)

Thanks for the FAQ reference. All of my permissions and ownerships seem correct.

Checking the Apache issue it notes; I get this:
root at alpha:/var/lib/smokeping/World/MUM# apachectl -V | grep SERVER_CONFIG
[Mon Jun 24 19:07:02.540073 2019] [alias:warn] [pid 46591] AH00671: The ScriptAlias directive in /etc/apache2/conf-enabled/smokeping.conf at line 3 will probably never match because it overlaps an earlier ScriptAlias.
[Mon Jun 24 19:07:02.540635 2019] [alias:warn] [pid 46591] AH00671: The Alias directive in /etc/apache2/conf-enabled/smokeping.conf at line 4 will probably never match because it overlaps an earlier ScriptAlias.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
-D SERVER_CONFIG_FILE="apache2.conf"

Here is he file in error: (but this has not been changed in many years... Not sure where I got it! )
root at alpha:/etc/apache2/conf-available# cat smokeping.conf
## GRG:
ScriptAlias /smokeping               /usr/lib/cgi-bin/smokeping.cgi
ScriptAlias /smokeping/smokeping.cgi /usr/lib/cgi-bin/smokeping.cgi
Alias /smokeping /usr/share/smokeping/www

<Directory "/usr/share/smokeping/www">
    Options FollowSymLinks
    Require all granted
</Directory>

I've seen several different versions of this setup, (https://github.com/chicks-net/smokeping-config/blob/master/apache2.conf, https://nsrc.org/workshops/2017/caren-cndo/networking/cndo/en/labs/smokeping_install.html ), and don't know how they compare, or which is correct! This may be where I have mishandled the setup??
-------------------------------------------------------------------------------------------------------------------------------------

root at alpha:/etc# smokeping --debug
### Compiling alert detector pattern 'someloss'
### >0%,*12*,>0%,*12*,>0%
sub {
    my $d = shift;
    my $y = $d->{loss};
    ...
    }
    return 0;
}



Smokeping version 2.006011 successfully launched.
Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that.
FPing: probing 13 targets with step 300 s and offset 147 s.
EchoPingHttp: probing 4 targets with step 300 s and offset 147 s.
FPing: Executing /usr/bin/fping -C 20 -q -B1 -r1 -i10 cs1.cs.mum.edu IAState.edu smtp.mum.edu pcgrg.cs.mum.edu online.cs.mum.edu imap.mum.edu Natel.com admin.cs.mum.edu uiowa.edu www.csmasters.org csgrg.cs.mum.edu purdue.edu
FPing: Got fping output: 'cs1.cs.mum.edu    : 0.81 2.92 9.35 1.02 4.96 9.97 10.71 9.42 0.56 5.24 1.53 0.45 1.04 1.18 1.24 1.06 10.27 11.31 9.58 0.52'
FPing: Got fping output: 'IAState.edu       : 24.27 22.06 19.41 20.07 18.95 19.23 18.40 28.96 18.55 21.27 19.36 22.81 18.92 20.38 24.66 17.81 17.99 18.91 17.65 17.96'
FPing: Got fping output: 'smtp.mum.edu      : 10.75 8.58 2.47 2.57 8.86 8.83 6.40 5.74 4.81 2.15 1.07 1.56 7.06 0.83 2.61 3.00 3.11 0.97 3.30 6.11'
FPing: Got fping output: 'pcgrg.cs.mum.edu  : - - - - - - - - - - - - - - - - - - - -'
FPing: Got fping output: 'online.cs.mum.edu : 6.93 3.90 3.67 7.10 4.37 3.41 3.12 1.13 2.21 2.44 1.64 1.95 1.18 8.52 3.36 1.03 3.06 2.81 2.12 1.44'
FPing: Got fping output: 'imap.mum.edu      : 1.89 1.56 5.64 3.14 10.22 9.25 6.40 7.36 5.54 1.62 2.37 1.37 0.86 1.38 10.22 11.71 2.80 5.45 5.43 4.19'
FPing: Got fping output: 'Natel.com         : 3.11 2.31 1.34 1.53 2.03 1.47 1.52 13.07 11.16 6.13 1.21 5.11 4.67 6.78 7.38 1.30 1.48 7.35 11.35 1.26'
FPing: Got fping output: 'admin.cs.mum.edu  : 7.69 0.50 1.24 7.25 6.71 4.20 3.11 2.61 0.35 0.95 0.30 6.25 0.38 0.75 0.92 1.09 0.29 1.44 0.35 1.99'
FPing: Got fping output: 'uiowa.edu         : 38.92 40.53 44.58 41.22 39.57 44.19 46.20 39.25 52.39 38.17 38.58 38.99 38.92 38.11 38.08 38.17 38.09 40.72 49.75 42.13'
FPing: Got fping output: 'www.csmasters.org : 3.10 5.65 3.40 3.54 1.95 1.56 1.22 6.99 5.85 1.37 7.77 0.90 8.04 4.66 8.14 1.23 0.84 1.91 4.03 9.24'
FPing: Got fping output: 'csgrg.cs.mum.edu  : 1.96 1.52 0.64 2.24 7.53 3.11 5.69 4.03 2.98 1.49 6.92 0.94 0.84 1.22 8.42 0.95 5.69 3.39 1.86 1.99'
FPing: Got fping output: 'purdue.edu        : 19.55 19.79 20.98 24.06 21.62 21.50 29.24 26.86 24.38 22.17 20.88 19.16 19.05 18.78 18.92 28.06 19.02 23.44 19.57 19.34'
Calling RRDs::update(/var/lib/smokeping/World/MUM/MUM-IMAP_email_server.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1561420876:U:0:5.4300000000e-03:8.6000000000e-04:1.3700000000e-03:1.3800000000e-03:1.5600000000e-03:1.6200000000e-03:1.8900000000e-03:2.3700000000e-03:2.8000000000e-03:3.1400000000e-03:4.1900000000e-03:5.4300000000e-03:5.4500000000e-03:5.5400000000e-03:5.6400000000e-03:6.4000000000e-03:7.3600000000e-03:9.2500000000e-03:1.0220000000e-02:1.0220000000e-02:1.1710000000e-02)
Calling RRDs::update(/var/lib/smokeping/World/MUM/MUM_SMTP_mail_server.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1561420876:U:0:3.3000000000e-03:8.3000000000e-04:9.7000000000e-04:1.0700000000e-03:1.5600000000e-03:2.1500000000e-03:2.4700000000e-03:2.5700000000e-03:2.6100000000e-03:3.0000000000e-03:3.1100000000e-03:3.3000000000e-03:4.8100000000e-03:5.7400000000e-03:6.1100000000e-03:6.4000000000e-03:7.0600000000e-03:8.5800000000e-03:8.8300000000e-03:8.8600000000e-03:1.0750000000e-02)
Calling RRDs::update(/var/lib/smokeping/World/Web-http/IAstate--http.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1561420876:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U)
Calling RRDs::update(/var/lib/smokeping/World/Web-http/Purdue--http.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1561420876:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U)
Calling RRDs::update(/var/lib/smokeping/World/Web-http/UIowa--http.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1561420876:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U)
Calling RRDs::update(/var/lib/smokeping/World/Web-http/Fairfield-http.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1561420876:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U)
...
Calling RRDs::update(/var/lib/smokeping/World/USA/Fairfield.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1561420876:U:0:3.1100000000e-03:1.2100000000e-03:1.2600000000e-03:1.3000000000e-03:1.3400000000e-03:1.4700000000e-03:1.4800000000e-03:1.5200000000e-03:1.5300000000e-03:2.0300000000e-03:2.3100000000e-03:3.1100000000e-03:4.6700000000e-03:5.1100000000e-03:6.1300000000e-03:6.7800000000e-03:7.3500000000e-03:7.3800000000e-03:1.1160000000e-02:1.1350000000e-02:1.3070000000e-02)
root at alpha:/etc#


And the files:
root at alpha:/var/lib/smokeping/World/MUM# ls -lt
total 11680
-rw-r--r-- 1 smokeping www-data 2986808 Jun 24 19:01 MUM-IMAP_email_server.rrd
-rw-r--r-- 1 smokeping www-data 2986808 Jun 24 19:01 MUM_SMTP_mail_server.rrd
-rw-r--r-- 1 smokeping www-data 2986808 Jun 24 09:00 MUM_POP_email_server.rrd
-rw-r--r-- 1 smokeping www-data 2986808 Jun 24 09:00 MUM_main_server.rrd


From: Gregory Sloop <gregs at sloop.net>
Sent: Monday, June 24, 2019 12:13 PM
To: Gregory Guthrie <guthrie at mum.edu>; smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] empty graphs

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


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


More information about the smokeping-users mailing list