#------------------------------------------------------------------------------ # /etc/check.d/nextcloud.exp - configuration for Nextcloud services on EIS/FAIR # # Copyright (c) 2012-2025 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2012-04-22 schlotze # 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. #------------------------------------------------------------------------------ NEXTCLOUD_DB_TYPE = 'sqlite|mysql|pgsql' : 'no valid database type chosen, should be sqlite, mysql or pgsql.' NEXTCLOUD_HOSTPORT = '((RE:HOSTNAME)|(RE:FQDN)|(RE:IPADDR))(:(RE:PORT))?' : 'no valid host name chosen, should be a host name, a fully qualified host name or an ip address, optionally followed by a colon separated port number.' NEXTCLOUD_EHOSTPORT = '()|(RE:NEXTCLOUD_HOSTPORT)' : 'no valid host name chosen, should be an empty value, a host name, a fully qualified host name or an ip address, optionally followed by a colon separated port number.' NEXTCLOUD_EHOSTPORTURL = '()|(http[s]?://)?(RE:NEXTCLOUD_HOSTPORT)' : 'no valid host url given, should be an empty value, a protocol followed by a host name and an optional port number.' NEXTCLOUD_DOMAIN = '(RE:NEXTCLOUD_HOSTPORT)(\|(RE:NEXTCLOUD_HOSTPORT))*' : 'no valid domain specification, should contain one or more host names, fully qualified domain names or ip addresses, optionally followed by a colon separated port number, which are each separated by a pipe symbol.' NEXTCLOUD_SMTP_AUTH = 'none|login' : 'no valid authentication type chosen, should be none, login, plain or ntlm.' NEXTCLOUD_SMTP_TRANSPORT = 'default|ssl|tls' : 'no valid transport type chosen, should be none, ssl or tls.' NEXTCLOUD_ABS_PATH = '/(([[:alnum:]]|[-_. ])+)(/([[:alnum:]]|[-_. ])+)*/?' : 'no valid absolute path (must start with a slash and only numbers, letters, "-", "_" and " " divided by "/" are allowed)' NEXTCLOUD_1_100 = '[1-9]|[1-9][0-9]|100' : 'value not in range, only values between 1 and 100 are allowed.' NEXTCLOUD_LOG_TYPE = 'file|syslog' : 'invalid log type chosen, should be "file" or "syslog".' NEXTCLOUD_PREVIEW_XYSIZE = '(nolimit|[2468]|[1-9][02468]|[1-9][0-9]*[02468])' : 'invalid value given, should be "nolimit" or an even number.' NEXTCLOUD_PREVIEW_SCALE = '(disabled|[1-9]|10)' : 'invalid value given, should be "disabled" or a number between 1 and 10.' NEXTCLOUD_EPREVIEW = '()|no|((RE:NEXTCLOUD_PREVIEW_XYSIZE):(RE:NEXTCLOUD_PREVIEW_XYSIZE):(RE:NEXTCLOUD_PREVIEW_SCALE):(RE:NEXTCLOUD_PREVIEW_XYSIZE))' : 'invalid value given, should be an empty string, "no" or four colon separated values for the maximum x-value (nolimit|2-2048), the maximum y-value (nolimit|2-2048), the maximum scale factor (disabled|1-10) and the maximum size in MB (nolimit|2-50).'