<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: monaco download configuration fail in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210380#M25876</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/62040"&gt;@Laszlo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;alerting profiles will be downloaded but not the default alerting profiles, the default alerting profiles are already available in every environment,&lt;/P&gt;&lt;P&gt;for instance, I have two alerting profiles that are not the "Default" and "Default for ActiveGate Token Expiry", and the alerting profiles I've created have already been downloaded while the default failed. so the total will be 4 alerting profiles including the default profiles&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2023/04/21 05:16:24 INFO Downloaded 4 settings for schema builtin:alerting.profile&lt;BR /&gt;2023/04/21 05:16:24 WARN Downloaded setting of schema "builtin:alerting.profile" will be discarded. Reason: "Default" cannot be managed via configuration as code&lt;BR /&gt;2023/04/21 05:16:24 WARN Downloaded setting of schema "builtin:alerting.profile" will be discarded. Reason: "Default for ActiveGate Token Expiry" cannot be managed via configuration as code&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;as per the log you've provided, it seems that you don't have any other alerting profiles except for the default ones&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2023 03:25:51 GMT</pubDate>
    <dc:creator>Mohamed_Hamdy</dc:creator>
    <dc:date>2023-04-21T03:25:51Z</dc:date>
    <item>
      <title>monaco download configuration fail</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210249#M25845</link>
      <description>&lt;P&gt;monaco version 2.0.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to download the configuration from the free trial Dynatrace instance with the following command:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;monaco &lt;/SPAN&gt;&lt;SPAN&gt;download&lt;/SPAN&gt; &lt;SPAN&gt;--url&lt;/SPAN&gt; &lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;https://{environmentid}.live.dynatrace.com&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;--token&lt;/SPAN&gt; &lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;dt0c01.**********.**********************&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I run it I get the following error:&lt;/DIV&gt;&lt;DIV&gt;2023/04/19 16:11:22 ERROR the content of the environment variable "dt0c01.*************.*****************" is not set&lt;BR /&gt;Error: not all necessary information is present to start downloading configurations&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It is strange as the documentation says, I only need the URL and the TOKEN to download the complete configuration.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I tried to use an environment file and a manifest file following&amp;nbsp;Observability Clinic on Monaco 2.0. video and this command:&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;monaco download --manifest ${ENVIRONMENT_DIR}/manifest.yaml -e ${ENVIRONMENT_DIR}/dtenv.yaml&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dtenv.yaml file content:&lt;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;&lt;SPAN&gt;environments&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;group&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;research&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;entries&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;foo&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;value&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"https://{environmentid}.live.dynatrace.com"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;token&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;value&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"DYNATRACE_TOKEN"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;2023/04/19 16:43:44 ERROR ../../../deployment/environments/foo/manifest.yaml: error during parsing the manifest: yaml: unmarshal errors:&lt;BR /&gt;line 1: field manifest_version not found in type manifest.manifest&lt;BR /&gt;line 7: field environments not found in type manifest.manifest&lt;BR /&gt;Error: failed to load manifest '../../../deployment/environments/foo/manifest.yaml'&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 21:02:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210249#M25845</guid>
      <dc:creator>Laszlo</dc:creator>
      <dc:date>2023-04-19T21:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: monaco download configuration fail</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210260#M25849</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/62040"&gt;@Laszlo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you need to set the enviornment variable first, so from PowerShell use the following command and add your token&lt;/P&gt;&lt;P&gt;$env:API_TOKEN_ENV_VAR = 'dt0c01.xxxxxxxxxxxxxxxxxxxx'&lt;/P&gt;&lt;P&gt;then run the command again with API_TOKEN_ENV_VAR&lt;/P&gt;&lt;P&gt;monaco download --url https://{environmentid}.live.dynatrace.com --token API_TOKEN_ENV_VAR&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 04:01:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210260#M25849</guid>
      <dc:creator>Mohamed_Hamdy</dc:creator>
      <dc:date>2023-04-20T04:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: monaco download configuration fail</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210261#M25850</link>
      <description>&lt;P&gt;also, you can set the environment persistently so they should remain even when close the session&lt;/P&gt;&lt;P&gt;[System.Environment]::SetEnvironmentVariable('API_TOKEN_ENV_VAR','dt0c01.xxxxxxxxxxxxxxxxxxxx')&lt;/P&gt;&lt;P&gt;then run the command again with API_TOKEN_ENV_VAR&lt;/P&gt;&lt;P&gt;monaco download --url https://{environmentid}.live.dynatrace.com --token API_TOKEN_ENV_VAR&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 04:11:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210261#M25850</guid>
      <dc:creator>Mohamed_Hamdy</dc:creator>
      <dc:date>2023-04-20T04:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: monaco download configuration fail</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210363#M25869</link>
      <description>&lt;P&gt;Thanks Mohamed,&lt;/P&gt;&lt;P&gt;It seems to work, but the result is kind of disappointing.&lt;/P&gt;&lt;P&gt;Alert profiles are a basic thing, but cannot be managed by monaco. We hope calling the API with good old curl will yield better results. We need a solution where we can store our configuration as code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;2023/04/20 15:03:37 INFO&amp;nbsp; Downloaded 2 settings for schema builtin:alerting.profile&lt;BR /&gt;2023/04/20 15:03:37 WARN&amp;nbsp; Downloaded setting of schema "builtin:alerting.profile" will be discarded. Reason: "Default" cannot be managed via configuration as code&lt;BR /&gt;2023/04/20 15:03:37 WARN&amp;nbsp; Downloaded setting of schema "builtin:alerting.profile" will be discarded. Reason: "Default for ActiveGate Token Expiry" cannot be managed via configuration as code&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 19:17:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210363#M25869</guid>
      <dc:creator>Laszlo</dc:creator>
      <dc:date>2023-04-20T19:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: monaco download configuration fail</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210380#M25876</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/62040"&gt;@Laszlo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;alerting profiles will be downloaded but not the default alerting profiles, the default alerting profiles are already available in every environment,&lt;/P&gt;&lt;P&gt;for instance, I have two alerting profiles that are not the "Default" and "Default for ActiveGate Token Expiry", and the alerting profiles I've created have already been downloaded while the default failed. so the total will be 4 alerting profiles including the default profiles&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2023/04/21 05:16:24 INFO Downloaded 4 settings for schema builtin:alerting.profile&lt;BR /&gt;2023/04/21 05:16:24 WARN Downloaded setting of schema "builtin:alerting.profile" will be discarded. Reason: "Default" cannot be managed via configuration as code&lt;BR /&gt;2023/04/21 05:16:24 WARN Downloaded setting of schema "builtin:alerting.profile" will be discarded. Reason: "Default for ActiveGate Token Expiry" cannot be managed via configuration as code&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;as per the log you've provided, it seems that you don't have any other alerting profiles except for the default ones&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 03:25:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/monaco-download-configuration-fail/m-p/210380#M25876</guid>
      <dc:creator>Mohamed_Hamdy</dc:creator>
      <dc:date>2023-04-21T03:25:51Z</dc:date>
    </item>
  </channel>
</rss>

