<?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 Extension 2.0 F5 instance sync in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Extension-2-0-F5-instance-sync/m-p/220475#M3308</link>
    <description>&lt;P&gt;Hey, a suggestion for your F5 2.0 extension.&lt;/P&gt;
&lt;P&gt;Im puzzled how I would create alerting on the&amp;nbsp;com.dynatrace.extension.f5.bigip.sys.cm.state metric.&lt;BR /&gt;As everytime a status changes, the metric will change dimensions.&lt;BR /&gt;I think this metric was developed to create a nice dashboard, not alerting.&lt;/P&gt;
&lt;P&gt;As-is config:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;      - subgroup: f5-sync-and-config
        featureSet: instance-sync
        table: false
        dimensions:
          - key: failover.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.3.1.0
          - key: sync.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.1.1.0
        metrics:
          - key: com.dynatrace.extension.f5.bigip.sys.cm.state
            value: const:1&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;      - subgroup: f5-sync-and-config-dashboard
        featureSet: instance-sync
        table: false
        dimensions:
          - key: failover.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.3.1.0
          - key: sync.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.1.1.0
        metrics:
          - key: com.dynatrace.extension.f5.bigip.sys.cm.state
            value: const:1
			
      - subgroup: f5-sync-and-config-alert
        featureSet: instance-sync
        metrics:
          - key: com.dynatrace.extension.f5.bigip.sys.cm.failover.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.3.1.0
          - key: com.dynatrace.extension.f5.bigip.sys.cm.sync.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.1.1.0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know I can create a custom extension releasing this, but I would like to remain in sync with the excellent updates to this managed extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;__PRESENT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;__PRESENT&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 07:06:57 GMT</pubDate>
    <dc:creator>debeste</dc:creator>
    <dc:date>2023-08-14T07:06:57Z</dc:date>
    <item>
      <title>Extension 2.0 F5 instance sync</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extension-2-0-F5-instance-sync/m-p/220475#M3308</link>
      <description>&lt;P&gt;Hey, a suggestion for your F5 2.0 extension.&lt;/P&gt;
&lt;P&gt;Im puzzled how I would create alerting on the&amp;nbsp;com.dynatrace.extension.f5.bigip.sys.cm.state metric.&lt;BR /&gt;As everytime a status changes, the metric will change dimensions.&lt;BR /&gt;I think this metric was developed to create a nice dashboard, not alerting.&lt;/P&gt;
&lt;P&gt;As-is config:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;      - subgroup: f5-sync-and-config
        featureSet: instance-sync
        table: false
        dimensions:
          - key: failover.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.3.1.0
          - key: sync.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.1.1.0
        metrics:
          - key: com.dynatrace.extension.f5.bigip.sys.cm.state
            value: const:1&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;      - subgroup: f5-sync-and-config-dashboard
        featureSet: instance-sync
        table: false
        dimensions:
          - key: failover.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.3.1.0
          - key: sync.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.1.1.0
        metrics:
          - key: com.dynatrace.extension.f5.bigip.sys.cm.state
            value: const:1
			
      - subgroup: f5-sync-and-config-alert
        featureSet: instance-sync
        metrics:
          - key: com.dynatrace.extension.f5.bigip.sys.cm.failover.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.3.1.0
          - key: com.dynatrace.extension.f5.bigip.sys.cm.sync.state
            value: oid:1.3.6.1.4.1.3375.2.1.14.1.1.0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know I can create a custom extension releasing this, but I would like to remain in sync with the excellent updates to this managed extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;__PRESENT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;__PRESENT&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 07:06:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extension-2-0-F5-instance-sync/m-p/220475#M3308</guid>
      <dc:creator>debeste</dc:creator>
      <dc:date>2023-08-14T07:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extension 2.0 F5 instance sync</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extension-2-0-F5-instance-sync/m-p/220628#M3314</link>
      <description>&lt;P&gt;This is how 'state' metrics are implemented across all 2.0 extensions; a constant value of 1 is reported and a dimension (e.g. state) is used to indicate the current active state.&amp;nbsp; Even though in this example it is a 'number' representing the state it is more accurately treated as the string that it maps to (e.g. the 'average' of the state value would be meaningless along with other mathematical operations).&lt;/P&gt;&lt;P&gt;The current approach can be used for creating metric events for alerting through dimension filters in the metric event configuration. For example, knowing that the value is always going to be 1 with the current state as the 'sync.state' dimension if you wanted to alert when the state is anything other than 'active' you would set your threshold to be 'above 0' and use a dimension filter for 'sync.state' with operator 'does not equal' and the dimension value as '4' (active). Whenever the conditions are met (e.g. a 1 is reported with the dimension being anything other than '4') you know that the state is being reported still and is something other than 'active.'&lt;/P&gt;&lt;P&gt;You can also use this approach to create alerts whenever a specific state becomes active through the metric event configurations with the 'dimension filters' being the most important configuration.&lt;/P&gt;&lt;P&gt;I'll attach some images from another extension to illustrate this (in this example the dimension/state is reported as a string as opposed to an enum/string mapping):&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thumbnail_image.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13570i3F3BA7D13728C1C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thumbnail_image.png" alt="thumbnail_image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thumbnail_image.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13571i2709A958EC9EBEAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thumbnail_image.png" alt="thumbnail_image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 19:35:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extension-2-0-F5-instance-sync/m-p/220628#M3314</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2023-08-14T19:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Extension 2.0 F5 instance sync</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extension-2-0-F5-instance-sync/m-p/220723#M3319</link>
      <description>&lt;P&gt;Working with &lt;STRONG&gt;Metric key&amp;nbsp;&lt;/STRONG&gt;metric alerts indeed works.&lt;BR /&gt;This way of thinking about metrics is still new to me.&lt;/P&gt;&lt;P&gt;Thanks for the quick reply James.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 08:37:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extension-2-0-F5-instance-sync/m-p/220723#M3319</guid>
      <dc:creator>debeste</dc:creator>
      <dc:date>2023-08-16T08:37:49Z</dc:date>
    </item>
  </channel>
</rss>

