<?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: How to Scope Maintenance window by displayName in API in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-Scope-Maintenance-window-by-displayName-in-API/m-p/85296#M5163</link>
    <description>&lt;P&gt;Short follow-up, I created an Automatic Tag to add a Host:displayName tag to hosts, and can now easily create Maintenance windows for my hosts.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 03 Aug 2018 14:49:49 GMT</pubDate>
    <dc:creator>grogers</dc:creator>
    <dc:date>2018-08-03T14:49:49Z</dc:date>
    <item>
      <title>How to Scope Maintenance window by displayName in API</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-Scope-Maintenance-window-by-displayName-in-API/m-p/85293#M5160</link>
      <description>&lt;PRE&gt;I'm looking to give my SysAdmins a 1 line curl script to create one-time maintenance windows for reboots. Is there a way I can set scope based on displayName rather than entityID or tags? I'm doubtful that my sysadmins will know the entityID of a host, but they will know hostname, which corresponds to displayName in our environment.&lt;BR /&gt;&lt;BR /&gt;This doesn't work, but illustrates what I'm trying to accomplish:&lt;BR /&gt;&lt;BR /&gt;    {&lt;BR /&gt;        "id":"TestAPIPlannedMW",&lt;BR /&gt;        "type":"Planned",&lt;BR /&gt;        "description":"Test MW created from API",&lt;BR /&gt;        "suppressAlerts":true,&lt;BR /&gt;        "suppressProblems":false,&lt;BR /&gt;        "scope":{&lt;BR /&gt;            "matches": {&lt;BR /&gt;                "type": "HOST",&lt;BR /&gt;                "displayName": "my-server.example.com"&lt;BR /&gt;            }&lt;BR /&gt;        },&lt;BR /&gt;        "schedule":{&lt;BR /&gt;            "type":"Once",&lt;BR /&gt;            "timezoneId":"America/Chicago",&lt;BR /&gt;            "maintenanceStart":"2018-08-01 20:00",&lt;BR /&gt;            "maintenanceEnd":"2018-08-01 20:05"&lt;BR /&gt;        }&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Aug 2018 19:58:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-Scope-Maintenance-window-by-displayName-in-API/m-p/85293#M5160</guid>
      <dc:creator>grogers</dc:creator>
      <dc:date>2018-08-01T19:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Scope Maintenance window by displayName in API</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-Scope-Maintenance-window-by-displayName-in-API/m-p/85294#M5161</link>
      <description>&lt;P&gt;Display name filter is not possible as of today, but how about to use a tag on the host to achieve this scope?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2018 05:43:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-Scope-Maintenance-window-by-displayName-in-API/m-p/85294#M5161</guid>
      <dc:creator>wolfgang_beer</dc:creator>
      <dc:date>2018-08-02T05:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Scope Maintenance window by displayName in API</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-Scope-Maintenance-window-by-displayName-in-API/m-p/85295#M5162</link>
      <description>&lt;P&gt;Okay. I'll probably need to start tagging all me hosts with their hostname to get this working. Thanks.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2018 13:03:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-Scope-Maintenance-window-by-displayName-in-API/m-p/85295#M5162</guid>
      <dc:creator>grogers</dc:creator>
      <dc:date>2018-08-02T13:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Scope Maintenance window by displayName in API</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-Scope-Maintenance-window-by-displayName-in-API/m-p/85296#M5163</link>
      <description>&lt;P&gt;Short follow-up, I created an Automatic Tag to add a Host:displayName tag to hosts, and can now easily create Maintenance windows for my hosts.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Aug 2018 14:49:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-Scope-Maintenance-window-by-displayName-in-API/m-p/85296#M5163</guid>
      <dc:creator>grogers</dc:creator>
      <dc:date>2018-08-03T14:49:49Z</dc:date>
    </item>
  </channel>
</rss>

