# LDosw.cfg: Control OSWatcher Loader # $Id: LDosw.cfg,v 1.5 2015/11/06 11:01:44 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/OS/LDosw.cfg,v 1.5 2015/11/06 11:01:44 RDA Exp $ # # Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. # # Change History # 20151105 MSC Implement time-based collection. ############################################################################### # Collect the loader setup information ############################################################################### #------------------------------------------------------------------------------ # Module definition #------------------------------------------------------------------------------ dsc='Control OSWatcher Loader' def='^/OS.OSW' var=B_NO_OSW #------------------------------------------------------------------------------ # Setting definitions #------------------------------------------------------------------------------ [B_NO_OSW] typ=B dft=false dsc='OSWatcher collection disabled?' inp='Is the OSWatcher collection disabled (Y/N)?' lvl=6 var=false:R_AGE [R_AGE] typ=N dft=${PRF.R_AGE} dsc='Age limit (in days) of the OSWatcher files to be collected' err='The number of days must be a positive number' inp='Enter the age limit (in days) for the OSWatcher files to be collected' lvl=6 opt=true ref='R[0,[' val=F exe=sdcl { "# Set the limit properties "var ${LIM.RDA.LOAD.OS.OSW.T_DFT} = {age => 'SETUP.RDA.LOAD.OS.OSW.R_AGE/T'} "var ${LIM.RDA.LOAD.OS.OSW.T_PF} = \ ${LIM.RDA.LOAD.OS.OSW.T_PS} = \ ${LIM.RDA.LOAD.OS.OSW.T_EF} = \ ${LIM.RDA.LOAD.OS.OSW.T_ES} = {\ pth => {fmt => 'chk_localtime=YY/MM/DD/hh/mi',\ pat => '_(\d+)\.(\d+)\.(\d+)\.(\d{2})(\d{2})\.dat$'}} }