#----------------------------------------------------------------------------- # /etc/check.d/vbox.exp - expressions for check table of configuration parameters # # Copyright (c) 2002-2019 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2004-08-29 jed # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #----------------------------------------------------------------------------- VBOX_TYPE = 'isdn' : 'no valid type, only "isdn" is currently allowed.' VBOX_COMPRESSION = 'ulaw|adpcm-[2-4]' : 'no valid compression, should be ulaw, adpcm-2, adpcm-3 or adpcm-4.' VBOX_UMASK = '[0-7][0-7][0-7]' : 'no valid umask, only the following format is allowed: xxx.' VBOX_DEBUG_TYPE = 'f|F|e|E|w|W|i|I|d|D|j|J' : 'invalid debug type, choose between f, e, w, i, d and j.' VBOX_DEBUGLEVEL = '()|(RE:VBOX_DEBUG_TYPE){1,6}' : 'no valid debug level, only the flags F, E, W, I, D and J are allowed.' VBOX_ISDN_PORT = '/dev/ttyI([0-9]|1[0-4])' : 'no valid isdn device given, should be /dev/ttyIxx.' VBOX_USER = '([-._[:lower:]0-9]){1,64}' : 'no valid user name, because only the following characters are allowed: a-z, 0-9, ., _ and -. Maximum length is 64 characters.' VBOX_GROUP = '(RE:VBOX_USER)' : 'no valid group name, because only the following characters are allowed: a-z, 0-9, ., _ and -. Maximum length is 64 characters.' VBOX_MAIL_TYPE = 'subject|mail|attach' : 'no valid option choosen, only subject, mail or attach are allowed.' VBOX_TIME = '([0-1][0-9]|2[0-3]):[0-5][0-9]' : 'no valid time given, only values between 00:00 and 23:59 are allowed.' VBOX_TPERIOD = '(RE:VBOX_TIME)-(RE:VBOX_TIME)' : 'no valid time period given, only the following format is allowed: HH:MM-HH:MM.' VBOX_TPERIODS = '(\*)|(RE:VBOX_TPERIOD)((,(RE:VBOX_TPERIOD))+)?' : 'no valid time period(s) given, only "*" or a time period in the following format is allowed: HH:MM-HH:MM. Multiple time periods must be separated by commata.' VBOX_DAY = 'mon|mo|tue|di|wed|mi|thu|do|fri|fr|sat|sa|sun|so' : 'no valid day of week, only mo, di, mi, do, fr, sa and so are allowed.' VBOX_DAYS = '(\*)|(RE:VBOX_DAY)((,(RE:VBOX_DAY))+)?' : 'invalid day(s) given, only "*" or mon, tue, wed, thu, fri, sat and sun are allowed. Multiple entries must be separated by commata.' VBOX_EFILE = '()|(RE:REL_PATH)|(RE:ABS_PATH)' : 'no valid file name, should be an empty string, or a file name with or without a path.' VBOX_PATTERN = '[]0-9*[-]+' : 'no valid pattern string given, because only the following characters are allowed: 0-9, [, ], -, *. Spaces are not allowed!' VBOX_SECTION = '(RE:VBOX_USER)' : 'no valid section name, because only the following characters are allowed: a-z, 0-9, ., _ and -. Maximum length is 64 characters.' VBOX_SOUND_FORMAT = 'au|wav|mp3' : 'no valid sound format given, should be au, wav or mp3' VBOX_LOG_INTERVAL = 'daily|weekly|monthly' : 'no valid interval, should be daily, weekly or monthly' VBOX_NUMBER = '(RE:NUMERIC)( +(params=(RE:NUMERIC)(:(RE:NUMERIC)(:(RE:NUMERIC)(:(RE:NUMERIC))?)?)?))?' : 'not a valid phone number given, should be in the format "aaaa@bbbb.ccc" or "aaaa@bbbb.ccc params=w:x:y:z".' VBOX_ENUMBER = '()|(RE:VBOX_NUMBER)' : 'not a valid phone number given, should be an empty string or in the format "aaaa@bbbb.ccc" or "aaaa@bbbb.ccc params=w:x:y:z".'