#----------------------------------------------------------------------------- # /etc/check.d/uucp.exp - expressions for check table of configuration params # # Copyright (c) 2001-2020 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2006-10-27 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. #----------------------------------------------------------------------------- UUCP_COMPRESSION = 'none|compress|bzip2|gzip|szip' : 'invalid compression selected, only the following values are allowed: none, compress, bzip2, gzip or szip' UUCP_FQDN_IPADDR = '(RE:FQDN)|(RE:IPADDR)' : 'no valid domain specification, should contain a fully qualified domain name or ip address' UUCP_TYPE = 'isdn|modem|tcp|nullmodem' : 'invalid communication type selected, only the following values are allowed: isdn, modem or tcp' UUCP_USER = '([-._[:lower:]0-9])+' : 'no valid user name, because only the following characters are allowed: a-z, 0-9, ., _ and -' UUCP_ISDN_PORT = '/dev/ttyI([0-9]|1[0-5])' : 'no valid isdn device given, should be /dev/ttyIxx.' UUCP_SERIAL_PORT = '/dev/ttyS([0-9]|1[0-5])' : 'no valid serial device given, should be /dev/ttySxx.' UUCP_DEV_PORT = '(RE:UUCP_ISDN_PORT)|(RE:UUCP_SERIAL_PORT)' : 'no valid isdn or serial device given, should be /dev/ttyIxx or /dev/ttySxx.' UUCP_DEV_SPEED = '2400|4800|9600|19200|38400|57600|115200|640000|128000' : 'no valid speed given, should be 2400, 4800, 9600, 19200, 38400, 57600, 115200, 640000 or 128000.' UUCP_TIME = '([0-1][0-9]|2[0-3])[0-5][0-9]' : 'no valid time given, should be value between 0000 and 2359.' UUCP_TIMESPAN = '((su|mo|tu|we|th|fr|sa)((RE:UUCP_TIME)-(RE:UUCP_TIME))?)' : 'no valid timespan given, should be e.g. mo0000-1330.' UUCP_TIMERANGE = 'any|never|evening|night|nonpeak|(((RE:UUCP_TIMESPAN)(,(RE:UUCP_TIMESPAN)(;([0-9]|[1-5][0-9]))?)*))' : 'no valid uucp time range given, should be any, never, or e.g. mo0000-1330.'