aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--apt-panopticommon.lua15
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
6APT.protocols = {"ftp", "http", "https", "rsync"} 6APT.protocols = {"ftp", "http", "https", "rsync"}
7APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'} 7APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'}
8APT.releases = {"jessie", "ascii", "beowulf", "ceres"}
9APT.subRels = {'backports', 'proposed-updates', 'security', 'updates'}
10APT.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
9APT.verbosity = -1 22APT.verbosity = -1
10APT.origin = false 23APT.origin = false
@@ -538,7 +551,7 @@ APT.now = 0
538local status 551local status
539status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6') 552status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6')
540APT.now = tonumber(APT.now) 553APT.now = tonumber(APT.now)
541local start = 'now-2week' 554local start = 'now-1month'
542local step = '10min' 555local step = '10min'
543local hb = '150min' 556local hb = '150min'
544local DSIe = 'DS:IntegrityErrors:GAUGE:' .. hb .. ':0:U' 557local DSIe = 'DS:IntegrityErrors:GAUGE:' .. hb .. ':0:U'