# HG changeset patch # User Daniel O'Connor # Date 1605325250 -37800 # Node ID 39bf6dec07530f8a5d41e5594095e7dc028463ce # Parent 08cddcdb0db36aa04d7d18a9b96ea2cf35ccc00b Add 5 year graphs diff -r 08cddcdb0db3 -r 39bf6dec0753 adslstats.py --- a/adslstats.py Fri Sep 27 14:45:09 2019 +0930 +++ b/adslstats.py Sat Nov 14 14:10:50 2020 +1030 @@ -365,6 +365,13 @@ '--end', 'now', *linkargs) + rrdtool.graph("%s-daily-5y-link.svg" % (graphbasename), + '--width', '768', + '--height', '256', + '--start', 'end - 1825d', + '--end', 'now', + *linkargs) + rrdtool.graph("%s-daily-link.svg" % (graphbasename), '--width', '768', '--height', '256', @@ -387,6 +394,13 @@ '--end', 'now', *signalargs) + rrdtool.graph("%s-daily-5y-signal.svg" % (graphbasename), + '--width', '768', + '--height', '256', + '--start', 'end - 1825d', + '--end', 'now', + *signalargs) + if __name__ == "__main__": names = ['Noise Margin (up)', 'Noise Margin (down)', 'Attenuation (up)', 'Attenuation (down)'] if args.munin != None: