#------------------------------------------------------------------------------ # /etc/check.d/capi2text.exp - eischk file for capi2text # # Copyright (c) 2005-2007 Andreas Pohl, apohl(at)ibp-consult(dot)com # Copyright (c) 2008-2022 The Eisfair Team, team(at)eisfair(dot)org # # Creation : 2005-08-24 apohl # 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. #------------------------------------------------------------------------------ CAPI2TEXT_SOURCE = 'capi2text|listen2fritz|nodaemon' : "no valid source selected, should be 'capi2text', 'listen2fritz' or 'nodaemon'." CAPI2TEXT_HOSTPORT = '((RE:IPADDR)|(RE:HOSTNAME)|(RE:FQDN))( *: *(RE:NUMERIC))?' : "no host address, should be an ip-address or hostnames, optionally followed by a port number e.g. '192.168.6.1:1012'." CAPI2TEXT_EHOSTPORT = '()|(RE:CAPI2TEXT_HOSTPORT)' : 'no valid address, should be an empty string or an ip-address or hostname, optionally followed by a port number e.g. "192.168.6.1:1012"' CAPI2TEXT_STAR_NUMERIC = '\*(,\!(RE:NUMERIC))*|(RE:NUMERIC)(,(RE:NUMERIC))*' : 'no valid value, should be "*", "*" with !numeric or numeric only.' CAPI2TEXT_LDAP_BASEDN = '(ou=[-.[:alnum:]]+,)+((dc=[-.[:alnum:]]+,)+)?(dc=[-.[:alnum:]]+)' : 'no valid base-dn given, should be in the following format: ou=contacts,ou=addressbook,dc=domain,dc=lan' CAPI2TEXT_LDAP_BINDDN = '((cn|ou|uid)=[-.[:alnum:]]+,)+((dc=[-.[:alnum:]]+,)+)?(dc=[-.[:alnum:]]+)' : 'no valid bind-dn given, should be in the following format: cn=ldapadmin,dc=ps,dc=lan etc.' CAPI2TEXT_LDAP_URI = 'ldap(s)?://[[:alnum:]/~.-]+(:(RE:NUMERIC)(/[[:alnum:]/~.-]*)?)?:(RE:PORT)' : 'no valid LDAP-URI, should be in the following format: ldap://ldap-server:ldap-port' CAPI2TEXT_LDAP_EURI = '()|(RE:CAPI2TEXT_LDAP_URI)' : 'not empty nor a valid LDAP-URI, should be in the following format: ldap://ldap-server:ldap-port' CAPI2TEXT_URL = 'http(s)?://[[:alnum:]/~.-]+(:(RE:NUMERIC)(/[[:alnum:]/~.-]*)?)?' : 'no valid URL given.' CAPI2TEXT_EURL = '()|(RE:CAPI2TEXT_URL)' : 'not empty nor a valid URL given.' CAPI2TEXT_TRIMLEADING = '([zZ])?(RE:NUMERIC)' : 'not a numeric value optionally prefixed by a "Z".' CAPI2TEXT_ACODE = '[1-9]|[1-9][0-9]+' : 'not a valid area code, should be a positive value, e.g. "211" for Duesseldorf or "221" for Collogne.' CAPI2TEXT_EACODE = '()|(RE:CAPI2TEXT_ACODE)' : 'not an empty field nor a valid area code, should be a positive value, e.g. "211" for Duesseldorf or "221" for Collogne.' CAPI2TEXT_CCODE = '[1-9]|[1-9][0-9]+' : 'not a valid country code, should be a positive value, e.g. "43" for Austria or "49" for Germany.' CAPI2TEXT_ECCODE = '()|(RE:CAPI2TEXT_CCODE)' : 'not an empty field nor a valid country code, should be a positive value, e.g. "43" for Austria or "49" for Germany.' CAPI2TEXT_ECONTROLLER = '()|[1-9]|1[0-6]' : 'not empty nor a valid controller number, should be between 1-16' CAPI2TEXT_EMSN = '()|((RE:NUMERIC)(,(RE:NUMERIC))*)' : 'not empty nor a valid MSN. Multiple MSN should be separated by comma' CAPI2TEXT_EUNKNOWN = '()|[[:alnum:]]+\|[[:alnum:]]+([[:alnum:] -.])*' : 'no valid value given, should be an empty string or two text strings a short one and a long one separated by a |-sign like this: unbekannt|Nr. unbekannt' CAPI2TEXT_ENOTFOUND = '()|[[:alnum:]]+([[:alnum:] -.])*' : 'no valid value given, should be an empty string or a text string' CAPI2TEXT_DB_TYPE = 'file|mysql|sqlite|file\+mysql|file\+sqlite' : 'no valid database type chosen, should be file (default), mysql or sqlite.' CAPI2TEXT_DIRECTION = 'in|out|both' : 'not a valid call direction, should be "in", "out" or "both".' CAPI2TEXT_CERT_NAME = '(RE:ENOBLANK)' : 'not empty nor a valid certificate file name given.'