#----------------------------------------------------------------------------- # /etc/check.d/ntp.exp - expressions for check table of configuration params # # Copyright (c) 2001-2024 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2005-01-08 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. #----------------------------------------------------------------------------- NTP_GET_CLOCK_TYPE_CUI = '[1-79]|[1-3][0-9]|4[0-6]|8 [0-9]|8 1[0-9]|8 2[0-4]' : 'Must be a numeric value between 1-46. If value=8 then it need to be followed by a second value between 0-24,i separated by space.' NTP_LOG_INTERVAL_CUI = 'daily|weekly|monthly' : 'No valid interval! Must be "daily", "weekly" or "monthly".' NTP_LOG_TYPES_CUI = 'all|syncstatus|sysevents|syncall|clockall' : 'No valid log event choosen. Must be one out "all", "syncstatus", "sysevents", "syncall" or "clockall".' NTP_FLAGS = '[1-4] [01]( *[1-4] [01])*' : 'Must be an even number of values. The first value of a pair stands for the flag number [1-4], the second value defines the status (0/1).' NTP_EFLAGS = '()|(RE:NTP_FLAGS)' : 'Must be empty or an even number of values. The first value of a pair stands for the flag number [1-4], the second value defines the status (0/1).' NTP_REFID = '[A-Z][A-Z][A-Z][A-Z]' : 'No valid reference ID given, it must be a 4 character string in uppercase.' NTP_EREFID = '()|(RE:NTP_REFID)' : 'No valid reference ID given, should be a 4 character string in uppercase or empty.'