# DCwmc.ctl:243:Collects Webmail Client Information # $Id: DCwmc.ctl,v 1.4 2013/12/19 14:44:05 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/OFM/DCwmc.ctl,v 1.4 2013/12/19 14:44:05 RDA Exp $ # # Change History # 20131219 KRA Fix spell. =for stopwords Webmail =head1 NAME OFM:DCwmc - Collects Webmail Client Information =head1 DESCRIPTION The following reports can be generated and are regrouped under C: =cut echo tput('bold'),'Processing OFM.WMC module ...',tput('off') # Initialization var $AGE = ${GRP.OCS.R_AGE/T:15} var $ORACLE_HOME = ${D_ORACLE_HOME/P:''} var $TAIL = ${GRP.OCS.N_TAIL1:5000} var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' pretoc '^1:Oracle Collaboration Suite' pretoc '1+:Webmail Client' # Load the common macros run OFM:OCS() =head2 logs - Log Files Lists the most recent log directory and collects the last lines of the most recent log file. =cut var $dir = catDir($ORACLE_HOME,'um','log','Webmail_Client') if ?testDir('dr',$dir) {debug ' Inside WMC module, about to gather log files' report logs write '---+!! Webmail Log Files' write $TOC call get_last_log($dir,$AGE,$TAIL) toc '3:[[',getFile(),'][rda_report][Log Files]]' } =head2 not_found - Not found Used as a warning when none of the Webmail Client files are found. =cut if !isTocCreated() {debug ' Inside WMC module, no file found' report not_found write 'No Webmail Client log files were found and all files were optional. \ This does not mean there was necessarily a problem with RDA, but it \ should be investigated.' toc '2:[[',getFile(),'][rda_report][Not found]]' } # Disable the group title in next index toc '-:Oracle Collaboration Suite' =head1 SEE ALSO L, L =begin credits =over 10 =item RDA 4.2: Frederic Daurelle. =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. =head1 TRADEMARK NOTICE Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. =cut