#----------------------------------------------------------------------------- # /etc/check.d/redis.exp - expressions for check table of configuration params # # Copyright (c) 2015-2024 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2015-10-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. #----------------------------------------------------------------------------- REDIS_EIPADDRESSES = '()|(RE:IPADDR)( (RE:IPADDR))*' : 'invalid value entered, should be an empty string or one or more ip addresses, separated by a space.' # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes # 1mb => 1024*1024 bytes # 1g => 1000000000 bytes # 1gb => 1024*1024*1024 bytes REDIS_MAXMEMORY = '()|(RE:NUMERIC)([kmgKmG]([bB])?)?' : 'invalid value entered, should be an empty string or a number which can optionally be followed by a unit, like "100k", 500kb", "1m", "10mb", "1g" or "10gb".' REDIS_LOGLEVEL = '()|debug|verbose|notice|warning' : 'invalid log level chosen, should be "debug", "verbose", "notice" or "warning".'