diff options
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' |