Mercurial > ~darius > hgwebdir.cgi > adslstats
changeset 27:607111929e2e
rrd no longer likes LINE0 so work around it
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Sun, 12 Aug 2018 15:59:12 +0930 |
parents | 04874587fb6e |
children | b474c873357d |
files | adslstats.py |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/adslstats.py Sun Aug 12 15:57:28 2018 +0930 +++ b/adslstats.py Sun Aug 12 15:59:12 2018 +0930 @@ -267,7 +267,7 @@ 'CDEF:upstreamdif=upstreammax,upstreammin,-', 'DEF:maxupstream=%s:upstreammax:AVERAGE' % rrdname, - 'LINE0:upstreammin#000000:', + 'LINE0.001:upstreammin#000000:', 'AREA:upstreamdif#00dc76::STACK', 'LINE1:upstream#00ff00:Upstream', @@ -279,7 +279,7 @@ 'CDEF:downstreamdif=downstreammax,downstreammin,-', 'DEF:maxdownstream=%s:downstreammax:AVERAGE' % rrdname, - 'LINE0:downstreammin#000000:', + 'LINE0.001:downstreammin#000000:', 'AREA:downstreamdif#ff8686::STACK', 'LINE1:downstream#ff0000:Downstream', @@ -298,7 +298,7 @@ 'CDEF:nmupdif=nmupmax,nmupmin,-', - 'LINE0:nmupmin#000000:', + 'LINE0.001:nmupmin#000000:', 'AREA:nmupdif#5c5cff::STACK', 'LINE1:nmup#0000ff:Noise Margin - Up', @@ -308,7 +308,7 @@ 'CDEF:nmdowndif=nmdownmax,nmdownmin,-', - 'LINE0:nmdownmin#000000:', + 'LINE0.001:nmdownmin#000000:', 'AREA:nmdowndif#009a00::STACK', 'LINE1:nmdown#00ff00:Noise Margin - Down', @@ -318,7 +318,7 @@ 'CDEF:attenupdif=attenupmax,attenupmin,-', - 'LINE0:attenupmin#000000:', + 'LINE0.001:attenupmin#000000:', 'AREA:attenupdif#f98100::STACK', 'LINE1:attenup#ff0000:Attenuation - Up', @@ -328,7 +328,7 @@ 'CDEF:attendowndif=attendownmax,attendownmin,-', - 'LINE0:attendownmin#000000:', + 'LINE0.001:attendownmin#000000:', 'AREA:attendowndif#aaaaaa::STACK', 'LINE1:attendown#000000:Attenuation - Down', @@ -338,7 +338,7 @@ 'CDEF:powerupdif=powerupmax,powerupmin,-', - 'LINE0:powerupmin#000000:', + 'LINE0.001:powerupmin#000000:', 'AREA:powerupdif#804007::STACK', 'LINE1:powerup#ff800e:Power - Up (dBm)', @@ -348,7 +348,7 @@ 'CDEF:powerdowndif=powerdownmax,powerdownmin,-', - 'LINE0:powerdownmin#000000:', + 'LINE0.001:powerdownmin#000000:', 'AREA:powerdowndif#604872::STACK', 'LINE1:powerdown#c090e5:Power - Down (dBm)',