#----------------------------------------------------------------------------- # /etc/check.d/dyneisfair.exp - expressions for check table of configuration params # # Copyright (c) 2001-2022 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2004-08-12 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. #----------------------------------------------------------------------------- DYNEISFAIR_NUMERIC = '[1-9]([0-9]+)?' : 'should be numeric, a value of 0 is not allowed (decimal)' DYNEISFAIR_URL = 'http(s)?://[[:alnum:]/~.-]+(:(RE:NUMERIC)(/[[:alnum:]/~.-]*)?)?' : 'no valid URL given.' DYNEISFAIR_EURL = '()|(RE:DYNEISFAIR_URL)|fritzbox:((RE:IPADDR))?' : 'not empty nor a valid URL or Fritzbox ip address given.'