<?xml version="1.0" encoding="windows-1252" ?>
<asr_events>

<collect_asr_event id="1">
   <targetCollectorType>oracle_database</targetCollectorType>
   <errorCode>ORA-600</errorCode>
   <errorMessage>kxsgetruntimelock</errorMessage>   
   <diagCollectorType>rda</diagCollectorType>      
   <!--demo Pass through is also possible: --> 
   <diagCollectorArgs>TOOL: -vT ora600:</diagCollectorArgs>   
</collect_asr_event>   

<collect_asr_event id="2">
   <!--  Another oracle_database target example-->
   <targetCollectorType>oracle_database</targetCollectorType>   
   <errorCode>ORA-700</errorCode>      
   <errorMessage>kskthewt:badstate2</errorMessage>
   <diagCollectorType>rda</diagCollectorType>   
   <diagCollectorArgs>run_profile=DB11g</diagCollectorArgs>
</collect_asr_event>

<collect_asr_event id="21">
   <!--  Another oracle_database target example-->
   <targetCollectorType>oracle_database</targetCollectorType>   
   <errorCode>ORA-701</errorCode>      
   <errorMessage>kskthewt:badstate2</errorMessage>
   <diagCollectorType>rda</diagCollectorType>   
   <diagCollectorArgs>run_profile=DB10g</diagCollectorArgs>
</collect_asr_event>

<collect_asr_event id="3">
   <!--  Weblogic example
     <Jun 1, 2011 6:21:47 AM EDT> <Error> <WebLogicServer> <BEA-000383> 
         <A critical service failed. The server will shut itself down>
     <Jun 1, 2011 6:21:47 AM EDT> <Notice> <WebLogicServer> <BEA-000365> 
         <Server state changed to FORCE_SHUTTING_DOWN>
   -->
   <targetCollectorType>j2ee_application</targetCollectorType>
   <errorCode>BEA-000383</errorCode>
   <errorMessage>critical service failed</errorMessage>   
   <diagCollectorType>rda</diagCollectorType>      
   <diagCollectorArgs>run_module=WLS,J2EE,OS,NET,CCR</diagCollectorArgs>
</collect_asr_event>

<!--  Apache example error_log: [Fri May 26 10:16:10 2006] [error] 
   [client 138.2.231.239] [ecid: 1148652970:138.2.29.99:12135:0:1,0] 
   mod_plsql: /pls/htmldb/htmldb_admin HTTP-503 ORA-12514
   COULD USE: PROFILE:  AS10g_MidTier 
 -->
<collect_asr_event id="4">
   <targetCollectorType>oracle_apache</targetCollectorType>
   <errorCode>HTTP-503</errorCode>  
   <diagCollectorType>rda</diagCollectorType>   
   <diagCollectorArgs>run_module=IAS,APEX,CCR,OS,NET</diagCollectorArgs>
</collect_asr_event>

<!-- QA: Make all the ADR commands 60x target/error code not so important -->
<collect_asr_event id="5">
   <targetCollectorType>oracle_apache</targetCollectorType>
   <errorCode>HTTP-600</errorCode>  
   <diagCollectorType>adr</diagCollectorType>   
   <diagCollectorArgs>status</diagCollectorArgs>
</collect_asr_event>

<!-- 
   QA: Make all the ADR commands 60x target/error code not so important 
   For using these ADR Collector Features, the incident_id would be passed
   at the commandline as: 
   java AsrCollector -collect -target oracle_database 
                     -error ORA-601 -extra_args 67890 \n" +
    runApplication("ips_create 12345");
    runApplication("ips_gen 67890");
    runApplication("ips_add_file mytracefilename.trc 67890");
-->
<collect_asr_event id="6">
   <targetCollectorType>oracle_apache</targetCollectorType>
   <errorCode>HTTP-601</errorCode>  
   <diagCollectorType>adr</diagCollectorType>   
   <diagCollectorArgs>ips_gen</diagCollectorArgs>
</collect_asr_event>

<!-- QA: Make all the OCM commands 70x target/error code not so important -->
<collect_asr_event id="7">
   <targetCollectorType>oracle_apache</targetCollectorType>
   <errorCode>HTTP-700</errorCode>  
   <diagCollectorType>ocm</diagCollectorType>   
   <diagCollectorArgs>status</diagCollectorArgs>
</collect_asr_event>

<!-- QA: Make all the OS commands 80x target/error code not so important -->
<collect_asr_event id="8">
   <targetCollectorType>oracle_apache</targetCollectorType>
   <errorCode>HTTP-800</errorCode>  
   <diagCollectorType>os</diagCollectorType>      
   <diagCollectorArgs>ls</diagCollectorArgs>
   <diagCollectorArgs_windows>dir</diagCollectorArgs_windows>   
</collect_asr_event>

<collect_asr_event id="9">
   <targetCollectorType>oracle_database</targetCollectorType>
   <diagCollectorType>adr</diagCollectorType>
   <errorCode>ORA-700</errorCode>
   <errorMessage>NODE2</errorMessage>
   <diagCollectorArgs>ips_gen</diagCollectorArgs>
</collect_asr_event>

<collect_asr_event id="10">
   <targetCollectorType>oracle_database</targetCollectorType>
   <diagCollectorType>adr</diagCollectorType>
   <errorCode>ORA-600</errorCode>   
   <diagCollectorArgs>ips_gen</diagCollectorArgs>
</collect_asr_event>


</asr_events>
