#----------------------------------------------------------------------------- # /etc/check.d/owswitch.exp - expressions for check table of config params # # Copyright (c) 2016-2019 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2016-06-13 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. #----------------------------------------------------------------------------- OWSWITCH_SOURCE = 'owread|owhttp' : 'source should be "owread" or "owhttp".' OWSWITCH_FQDN_IPADDR_LOCAL = '(localhost|(RE:FQDN)|(RE:IPADDR))' : 'an invalid domain specification, should be localhost, contain a fully qualified domain name or ip address.' OWSWITCH_SENSOR_ID = '()|(3A.([0-9A-Z]*))' : 'an invalid sensor id has been entered. It usually start with "3A." followed by an alpha numeric string with uppercase letters.' OWSWITCH_FUNC = 'none|input|input-uncached|output|output-uncached' : 'invalid function selected, should be "input", "input-uncached", "output", "output-uncached" or "none".' OWSWITCH_INPUT_DEFAULT = '0|1' : 'invalid value selected, should be "0" or "1".' OWSWITCH_PIO_COUNT = '(RE:NUMERIC)' : 'invalid value selected for this sensor selected.'