Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from turing.freelists.org (turing.freelists.org [206.53.239.180])
 by malta2546.startdedicated.com (Postfix) with ESMTPS id A431D10033B208
 for <oracle-l@orafaq.com>; Fri,  2 Feb 2018 14:57:32 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 816082AA6D;
 Fri,  2 Feb 2018 08:57:26 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1517579846;
 bh=rItivhaUtlhqKYtObKK7LVaPEXERbGh89D/drqtDckE=;
 h=Subject:To:References:From:Date:In-Reply-To:Reply-To:List-help:
	 List-unsubscribe:List-Id:List-subscribe:List-owner:List-post:
	 List-archive;
 b=aUhkAQnhVLl6AseeKLBN5XD8OqCCNYXEgPesmm7hmxgAsFUBfDVBqgyjzJ4NO4GWT
	 rw0QKo9eP0s56cMmqFqzN2dIANFRAg1OlqqO6GGRDnX7Ix3ALesxHWuQ1KoWSlHwr+
	 dZb75fdQrdZjMK/3SFEBY41P3dYVdjdY6hNvCksg=
X-Virus-Scanned: Debian amavisd-new at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id oG7j9-8v8nNM; Fri,  2 Feb 2018 08:57:26 -0500 (EST)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BE3772A9C5;
 Fri,  2 Feb 2018 08:57:13 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1517579846;
 bh=rItivhaUtlhqKYtObKK7LVaPEXERbGh89D/drqtDckE=;
 h=Subject:To:References:From:Date:In-Reply-To:Reply-To:List-help:
	 List-unsubscribe:List-Id:List-subscribe:List-owner:List-post:
	 List-archive;
 b=aUhkAQnhVLl6AseeKLBN5XD8OqCCNYXEgPesmm7hmxgAsFUBfDVBqgyjzJ4NO4GWT
	 rw0QKo9eP0s56cMmqFqzN2dIANFRAg1OlqqO6GGRDnX7Ix3ALesxHWuQ1KoWSlHwr+
	 dZb75fdQrdZjMK/3SFEBY41P3dYVdjdY6hNvCksg=
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 02 Feb 2018 08:55:52 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C9B752A920
 for <oracle-l@freelists.org>; Fri,  2 Feb 2018 08:55:51 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id vX5CeXyYfZOu for <oracle-l@freelists.org>;
 Fri,  2 Feb 2018 08:55:51 -0500 (EST)
Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 6DDE92A91D
 for <oracle-l@freelists.org>; Fri,  2 Feb 2018 08:55:50 -0500 (EST)
Received: by mail-wm0-f46.google.com with SMTP id 143so12734235wma.5
        for <oracle-l@freelists.org>; Fri, 02 Feb 2018 05:55:50 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-language;
        bh=hFmiNqw3IqTlKGXk0uwMnwHk5Jj7V4NKjjNczv1334g=;
        b=CDLrLRDxvXBUALTd2HEm6OGmC2pwJU2DYhXhwhHSphqvry/y+2wO2kYKmDFrZFiZRc
         GVhRTWxeoIg8/gjPZ66TkADZoxUA4VYfpeLSyDJ+9Rg8RyVMBEP1VOaRuuF8+cPoE6sP
         tTUfDvT6KGMwNqsjQ5qGo1vTWxOGMTNBDA8vGZv/U86yUqtWcF/Y50SIbqzulLqEZxHz
         mQFIVhj294nrr7ukB88EDERMX06MQReeYs9BBGO4TqQr0JZ947nC7dET1Zho48hWCMdp
         1yW8XU/r9oc2tnS9+/mk1MXQnyrWO12OkA3Sm38ASUwqQhvYCD7IIgIcMTLAmER870+V
         ec6A==
X-Gm-Message-State: AKwxytfHxvpXGOd107l1Dmr8O5W3ld/muXALfyz0zhDy7RlpNOg+De+t
 udBhF1pjLUSfw9PinpkwOGbA1g==
X-Google-Smtp-Source: AH8x227OloIDbRTdeQuYyIPbmDX4kBS/8qvdPXus8e7xXygUgJToNe2RVnhBRyk0qhAEbSGga4RNqw==
X-Received: by 10.80.142.188 with SMTP id w57mr64420862edw.11.1517579749640;
        Fri, 02 Feb 2018 05:55:49 -0800 (PST)
Received: from [10.10.150.140] (mx.rdtex.com.ua. [82.193.112.11])
        by smtp.gmail.com with ESMTPSA id j17sm2111832ede.84.2018.02.02.05.55.47
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 02 Feb 2018 05:55:48 -0800 (PST)
Subject: Re: OEM: Need Help to Retrieve AWR Retention Value from OEM MGMT
 Views
To: biswas.sourav@hotmail.com, Oracle Mailinglist <oracle-l@freelists.org>
References: <PN1PR0101MB2063D693238829BA505883E7F0F90@PN1PR0101MB2063.INDPRD01.PROD.OUTLOOK.COM>
From: Oleksandr Denysenko <odenysenko@gmail.com>
Message-ID: <deea80b3-faf0-acf1-9fae-3f3842b55ea3@gmail.com>
Date: Fri, 2 Feb 2018 15:55:41 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <PN1PR0101MB2063D693238829BA505883E7F0F90@PN1PR0101MB2063.INDPRD01.PROD.OUTLOOK.COM>
Content-Type: multipart/alternative;
 boundary="------------99090E753FA0821BF3749042"
Content-Language: Russian-English
X-archive-position: 70557
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: odenysenko@gmail.com
Precedence: normal
Reply-To: odenysenko@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
--------------99090E753FA0821BF3749042
Content-Type: text/plain; charset=windows-1251; format=flowed
Content-Transfer-Encoding: 8bit

Hello.


You, definitely, have to use *Metric Extensions 
<https://docs.oracle.com/cd/E24628_01/doc.121/e24473/metric_extension.htm#EMADM10032>*

1) write your metric extension

2) deploy to required databases

3) check for metric values in OEM Repository

Best Regards,

     Oleksandr Denysenko

02.02.2018 15:30, Sourav Biswas пишет:
> Hi All,
>
> One of our shop has over 180 database. We need to find below details from all databases;
>
>   * AWR Snapshot Interval
>   * AWR Rention
>
>
> We want to make sure all our Prod and Non-Prod environments should have same value for above 
> parameters based on our current policy.
>
> We have 12c OEM configured and have all these databases added to its repository.
>
> I'm looking for assistance in creating SQL script using SYSMAN's MGMT Views. I am trying to figure 
> this out using, Oracle's document "Enterprise Manager Cloud Control Management Repository Views 
> Reference" https://docs.oracle.com/cd/E24628_01/doc.121/e57277/
>
> However, this is a huge and detailed document. So was wondering if some one has worked on similar 
> scripts.
>
> Best Regards,
> Sourav Biswas
> +91-9650017306


--------------99090E753FA0821BF3749042
Content-Type: text/html; charset=windows-1251
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1251">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello.</p>
    <p><br>
    </p>
    <p>You, definitely, have to use <b><a moz-do-not-send="true"
href="https://docs.oracle.com/cd/E24628_01/doc.121/e24473/metric_extension.htm#EMADM10032">Metric
          Extensions</a></b></p>
    <p>1) write your metric extension</p>
    <p>2) deploy to required databases</p>
    <p>3) check for metric values in OEM Repository<br>
    </p>
    <pre class="moz-signature" cols="100">Best Regards,

    Oleksandr Denysenko</pre>
    <div class="moz-cite-prefix">02.02.2018 15:30, Sourav Biswas пишет:<br>
    </div>
    <blockquote type="cite"
cite="mid:PN1PR0101MB2063D693238829BA505883E7F0F90@PN1PR0101MB2063.INDPRD01.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1251">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt;
        color: rgb(0, 0, 0); font-family: Calibri, Helvetica,
        sans-serif, &quot;EmojiFont&quot;, &quot;Apple Color
        Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji,
        &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;,
        EmojiSymbols;">
        <div>Hi All,<br>
          <br>
          One of our shop has over 180 database. We need to find below
          details from all databases;<br>
          <br>
          <ul style="margin-bottom:0px; margin-top:0px">
            <li>AWR Snapshot Interval</li>
            <li>AWR Rention</li>
          </ul>
          <br>
          We want to make sure all our Prod and Non-Prod environments
          should have same value for above parameters based on our
          current policy.<br>
          <br>
          We have 12c OEM configured and have all these databases added
          to its repository.<br>
          <br>
          I'm looking for assistance in creating SQL script using
          SYSMAN's MGMT Views. I am trying to figure this out using, 
          Oracle's document "Enterprise Manager Cloud Control Management
          Repository Views Reference"
          <a class="moz-txt-link-freetext" href="https://docs.oracle.com/cd/E24628_01/doc.121/e57277/">https://docs.oracle.com/cd/E24628_01/doc.121/e57277/</a><br>
          <br>
          However, this is a huge and detailed document. So was
          wondering if some one has worked on similar scripts.<br>
           </div>
        <br>
        <div id="Signature">Best Regards,<br>
          Sourav Biswas<br>
          <div>+91-9650017306<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------99090E753FA0821BF3749042--
--
http://www.freelists.org/webpage/oracle-l


