#----------------------------------------------------------------------------- # /etc/check.d/afick.exp - expressions for check table of configuration params # # Copyright (c) 2018-2021 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2018-01-15 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. #----------------------------------------------------------------------------- AFICK_EPREFIX = '()|default|[[:alnum:]]+( [[:alnum:]]+)*' : 'should be "default", and empty value or list of space separated suffixes.' AFICK_ESUFFIX = '()|default|[[:alnum:]]+( [[:alnum:]]+)*' : 'should be "default", and empty value or list of space separated prefixes.' AFICK_EREGEXP = '()|default|(RE:NOBLANK)( (RE:NOBLANK))*' : 'should be "default", and empty value or list of space separated regular expressions.' AFICK_EMAILADDR = '()|(RE:EMAILADDR)( (RE:EMAILADDR))*' : 'should be one or more space separated email addresses.' AFICK_RETENSION = 'keep|0|(RE:NUMERIC)[dwmy]' : 'should be "keep" or a number followed by the scale (d-day, w-week, m-month, y-year).' AFICK_ALI_ACTIONS = 'sha1|sha256|sha512|[abcdgimnpus]' : 'should be a one of the following alias actions: sha1, sha256, sha512, a, b, c, d, g, i, m, n, p, u or s.' AFICK_ALIAS_ACTION = '(([+-])?(RE:AFICK_ALI_ACTIONS))([+-](RE:AFICK_ALI_ACTIONS))*' : 'should be a string of multiple alias actions where each action is prefixed with a "+" or "-" sign. These are valid actions: sha1, sha256, sha512, a, b, c, d, g, i, m, n, p, u or s.' AFICK_ALIAS_NAME = '[[:alnum:]_]+' : 'xxx' AFICK_FILE_ACTION = 'scan|skip|singledir' : 'should be one of the following file actions: scan, skip or singledir.' AFICK_FILE_ALIAS = '(RE:NONE)' : 'should be a valid alias name.'