diff options
author | onefang | 2019-12-23 13:13:58 +1000 |
---|---|---|
committer | onefang | 2019-12-23 13:13:58 +1000 |
commit | 32ecd65b17ab0cd1ee6adef45c29627e6887a0bb (patch) | |
tree | 3d488f5e7d2f4b64c2592779af0e1196d7da84f0 | |
parent | Update script now updates everything, and sends progress reports. (diff) | |
download | apt-panopticon-32ecd65b17ab0cd1ee6adef45c29627e6887a0bb.zip apt-panopticon-32ecd65b17ab0cd1ee6adef45c29627e6887a0bb.tar.gz apt-panopticon-32ecd65b17ab0cd1ee6adef45c29627e6887a0bb.tar.bz2 apt-panopticon-32ecd65b17ab0cd1ee6adef45c29627e6887a0bb.tar.xz |
Various mostly useless tweaks.
Diffstat (limited to '')
-rw-r--r-- | apt-panopticommon.lua | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 42da301..197826c 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua | |||
@@ -5,6 +5,19 @@ APT.rrd = require 'rrd' | |||
5 | 5 | ||
6 | APT.protocols = {"ftp", "http", "https", "rsync"} | 6 | APT.protocols = {"ftp", "http", "https", "rsync"} |
7 | APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'} | 7 | APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'} |
8 | APT.releases = {"jessie", "ascii", "beowulf", "ceres"} | ||
9 | APT.subRels = {'backports', 'proposed-updates', 'security', 'updates'} | ||
10 | APT.notExist = | ||
11 | { | ||
12 | 'jessie-backports', -- No longer existing as this is old stable. | ||
13 | 'jessie-proposed-updates', | ||
14 | 'jessie-updates', | ||
15 | 'beowulf-backports', -- Wont exist until Beowulf goes live. | ||
16 | 'ceres-backports', -- These will never exist, it's our code name for the testing suite. | ||
17 | 'ceres-proposed-updates', | ||
18 | 'ceres-updates', | ||
19 | "ceres-security", | ||
20 | } | ||
8 | 21 | ||
9 | APT.verbosity = -1 | 22 | APT.verbosity = -1 |
10 | APT.origin = false | 23 | APT.origin = false |
@@ -538,7 +551,7 @@ APT.now = 0 | |||
538 | local status | 551 | local status |
539 | status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6') | 552 | status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6') |
540 | APT.now = tonumber(APT.now) | 553 | APT.now = tonumber(APT.now) |
541 | local start = 'now-2week' | 554 | local start = 'now-1month' |
542 | local step = '10min' | 555 | local step = '10min' |
543 | local hb = '150min' | 556 | local hb = '150min' |
544 | local DSIe = 'DS:IntegrityErrors:GAUGE:' .. hb .. ':0:U' | 557 | local DSIe = 'DS:IntegrityErrors:GAUGE:' .. hb .. ':0:U' |