From 32ecd65b17ab0cd1ee6adef45c29627e6887a0bb Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 23 Dec 2019 13:13:58 +1000 Subject: Various mostly useless tweaks. --- apt-panopticommon.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'apt-panopticommon.lua') 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' APT.protocols = {"ftp", "http", "https", "rsync"} APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'} +APT.releases = {"jessie", "ascii", "beowulf", "ceres"} +APT.subRels = {'backports', 'proposed-updates', 'security', 'updates'} +APT.notExist = +{ + 'jessie-backports', -- No longer existing as this is old stable. + 'jessie-proposed-updates', + 'jessie-updates', + 'beowulf-backports', -- Wont exist until Beowulf goes live. + 'ceres-backports', -- These will never exist, it's our code name for the testing suite. + 'ceres-proposed-updates', + 'ceres-updates', + "ceres-security", +} APT.verbosity = -1 APT.origin = false @@ -538,7 +551,7 @@ APT.now = 0 local status status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6') APT.now = tonumber(APT.now) -local start = 'now-2week' +local start = 'now-1month' local step = '10min' local hb = '150min' local DSIe = 'DS:IntegrityErrors:GAUGE:' .. hb .. ':0:U' -- cgit v1.1