# DCcamm.ctl:377:Collects Oracle Composite Application Monitor and Modeler Info. # $Id: DCcamm.ctl,v 1.2 2013/10/30 07:18:32 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/OFM/DCcamm.ctl,v 1.2 2013/10/30 07:18:32 RDA Exp $ # # Change History # 20130112 KRA Initial RDA 8 version. =head1 NAME OFM:DCcamm - Collects Oracle Composite Application Monitor and Modeler Information =head1 DESCRIPTION This module collects the Oracle Composite Application Monitor and Modeler (CAMM)-related information. The following reports can be generated and are regrouped under C: =cut echo tput('bold'),'Processing OFM.CAMM module ...',tput('off') # Initialization var $CAMM_HOME = ${D_HOME:''} var $TAIL = ${DFT.N_TAIL:1000} var $WEB_HOME = ${D_WAS_HOME:''} var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' pretoc '1:Oracle CAMM' # Load the common macros run RDA:library() =head1 FOR ORACLE CAMM MANAGER =head2 Configuration Files Gathers Oracle Composite Application Monitor and Modeler manager-related configuration files. =cut debug ' Inside CAMM module, collecting the manager related configuration files' pretoc '2:Oracle CAMM Manager' pretoc '3:Configuration Files' call sort_files(4,0,catFile($CAMM_HOME,'config','Acsera.properties'),\ catFile($CAMM_HOME,'config','event.xml'),\ catFile($CAMM_HOME,'config','slo.xml'),\ catFile($CAMM_HOME,'config','slo','slo.xml')) unpretoc =head2 Log Files Gathers most recent Oracle Composite Application Monitor and Modeler manager-related log files. =cut debug ' Inside CAMM module, collecting the manager related log files' pretoc '3:Log Files' call sort_files(4,$TAIL,\ first(grepDir(catDir($CAMM_HOME,'log'),'^manager-log\d+\.csv$','ipt'))) unpretoc 2 =head1 FOR ORACLE CAMM AGENT =head2 Log Files Gathers most recent Oracle Composite Application Monitor and Modeler agent-related log files. =cut debug ' Inside CAMM module, collecting the agent related log files' pretoc '2:Oracle CAMM Agent' pretoc '3:Log Files' loop $sub (findDir($WEB_HOME,'^\.+$','nv')) {loop $grp (grepDir(catDir($WEB_HOME,$sub,'log'),'^\.+$','npv')) call sort_files(4,$TAIL,first(grepDir($grp,'^agent-log\d+\.csv$','ipt'))) } unpretoc 3 =head1 SEE ALSO L =begin credits =over 10 =item RDA 4.20: Robert Liu. =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