<?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: Creating Host Naming Conditional Rules in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Monaco-Creating-Host-Naming-Conditional-Rules/m-p/287645#M2391</link>
    <description>&lt;P&gt;You need to use &lt;A href="https://docs.dynatrace.com/docs/shortlink/api-config-conditional-naming" target="_blank"&gt;configuration API&lt;/A&gt;, not the settings API as those configurations are not possible to set using settings API. This API predates the Settings API.&lt;BR /&gt;&lt;BR /&gt;The best way is to create one configuration manually in your Dynatrace environment, then download the configurations using monaco download command and see how it's defined.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 11 Oct 2025 14:11:10 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2025-10-11T14:11:10Z</dc:date>
    <item>
      <title>Monaco: Creating Host Naming Conditional Rules</title>
      <link>https://community.dynatrace.com/t5/Automations/Monaco-Creating-Host-Naming-Conditional-Rules/m-p/287628#M2390</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We're using Monaco to manage Management zone creation and management.&amp;nbsp; I was looking to extend this to other parts of our configuration including Host Naming rules.&amp;nbsp; I can see there a Conditional Naming Rule API to support this, but can not find the relevant schema name to use with in Monaco.&amp;nbsp; Is this no longer supported or can someone point me in the right direction please?&lt;/P&gt;
&lt;P&gt;I've attached a schema identifier export of what Monaco appears to check.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 12:44:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Monaco-Creating-Host-Naming-Conditional-Rules/m-p/287628#M2390</guid>
      <dc:creator>mherbert</dc:creator>
      <dc:date>2025-10-15T12:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Monaco: Creating Host Naming Conditional Rules</title>
      <link>https://community.dynatrace.com/t5/Automations/Monaco-Creating-Host-Naming-Conditional-Rules/m-p/287645#M2391</link>
      <description>&lt;P&gt;You need to use &lt;A href="https://docs.dynatrace.com/docs/shortlink/api-config-conditional-naming" target="_blank"&gt;configuration API&lt;/A&gt;, not the settings API as those configurations are not possible to set using settings API. This API predates the Settings API.&lt;BR /&gt;&lt;BR /&gt;The best way is to create one configuration manually in your Dynatrace environment, then download the configurations using monaco download command and see how it's defined.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 14:11:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Monaco-Creating-Host-Naming-Conditional-Rules/m-p/287645#M2391</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-10-11T14:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Monaco: Creating Host Naming Conditional Rules</title>
      <link>https://community.dynatrace.com/t5/Automations/Monaco-Creating-Host-Naming-Conditional-Rules/m-p/287658#M2393</link>
      <description>&lt;P&gt;those naming rules still rely on the older Configuration API and can’t be deployed via the Settings API schemas.&lt;/P&gt;&lt;P&gt;For anyone looking to include this in Monaco, the configuration should be declared in the config.yaml like this example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;configs:
- id: xxxxxx-xxx-xxxx
  config:
    name: Example
    template: example.json
    skip: false
  type:
    settings:
      schema: builtin:management-zones
      schemaVersion: 1.0.12
      scope: environment&lt;/LI-CODE&gt;&lt;P&gt;This structure works the same way for management zones or any other configuration supported via the &lt;STRONG&gt;Configuration API&lt;/STRONG&gt;.&lt;BR /&gt;For the Conditional Naming Rules, you’ll just need to switch the schema/type to the corresponding one once you export it using monaco download.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 08:08:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Monaco-Creating-Host-Naming-Conditional-Rules/m-p/287658#M2393</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2025-10-13T08:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Monaco: Creating Host Naming Conditional Rules</title>
      <link>https://community.dynatrace.com/t5/Automations/Monaco-Creating-Host-Naming-Conditional-Rules/m-p/287878#M2407</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Many thanks, I've exported a configuration that included this successfully and now have the schema name. Below is the template for reference as an example &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "displayName": "{{.name}}",
  "enabled": true,
  "nameFormat": "{Host:DetectedName/([^\\.]*+)}",
  "rules": [
    {
      "comparisonInfo": {
        "caseSensitive": true,
        "negate": false,
        "operator": "CONTAINS",
        "type": "STRING",
        "value": "{{.fqdnDomain}}"
      },
      "key": {
        "attribute": "HOST_DETECTED_NAME",
        "type": "STATIC"
      }
    }
  ],
  "type": "HOST"
}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 14 Oct 2025 15:25:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Monaco-Creating-Host-Naming-Conditional-Rules/m-p/287878#M2407</guid>
      <dc:creator>mherbert</dc:creator>
      <dc:date>2025-10-14T15:25:34Z</dc:date>
    </item>
  </channel>
</rss>

