# S243WMC.def: Collects Webmail Client Information # $Id: S243WMC.def,v 1.9 2009/01/14 10:36:46 ldens Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S243WMC.def,v 1.9 2009/01/14 10:36:46 ldens Exp $ # # Change History # 20090114 LDE Change the copyright notice. =head1 NAME S243WMC - Collects Webmail Client Information =head1 DESCRIPTION The following reports can be generated and are regrouped under C: =cut echo tput('bold'),'Processing Webmail Client module ...',tput('off') # Initialization var $ORACLE_HOME = getSetting('ORACLE_HOME','') var $AGE = getSetting('OCS_AGE', 15) var $TAIL = getSetting('OCS_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 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-2009, Oracle. All rights reserved. =head1 TRADEMARK NOTICE Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. =cut