<?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: Inject Custom Metadata into host record, without oneagentctl? in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203894#M2746</link>
    <description>&lt;P&gt;Apologies, read Mike's post more carefully and added the const:..&amp;nbsp; but unfortunately I'm still throwing an error..&amp;nbsp;&lt;/P&gt;&lt;P&gt;So running the following configuration the plugin now uploads:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wmi:
  - group: augments
    interval:
      minutes: 1
    dimensions:
      - key: host
        value: this:device.host
    subgroups:
      - subgroup: BIOS
        query: SELECT * FROM Win32_BIOS
        metrics:
          - key: com.dynatrace.extension.host-observability.info
            value: const:100
        dimensions:
          - key: host.serialnumber
            value: column:SerialNumber&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but throws the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Failed to assign monitoring configuration to ActiveGate. Reason: GENERIC_ERROR:Status GENERIC_ERROR (27) returned from 1 agents (10.0.179.98: Cannot gather mint metrics from query BIOS: Fault retrieving metric com.dynatrace.extension.host-observability.info: Unknown name. [status code=27] [status code=27]);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; &amp;nbsp;Metric definition perhaps?&amp;nbsp;&lt;/P&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;</description>
    <pubDate>Wed, 01 Feb 2023 21:21:34 GMT</pubDate>
    <dc:creator>ewoelkerling</dc:creator>
    <dc:date>2023-02-01T21:21:34Z</dc:date>
    <item>
      <title>Inject Custom Metadata into host record, without oneagentctl</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203632#M2735</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; We are monitoring an environment with a number of legacy windows servers, and are picking up details for these using the Remote Windows Host Monitoring extension via WMI.&amp;nbsp; Whilst this part works fine, in order to facilitate a number of downstream integrations we need to augment the data for the created host records with additional information (eg. Serial Number).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For hosts that have oneagents installed, this information is being provided on the hosts themselves and is appearing in the customHostMetadata are for each of the host entries, however this is obviously not viable for hosts that do not have oneagent installed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Our intention was to implement this augmentation using an ActiveGate extension to detect these 'remote' hosts, then query WMI for the missing details and augment in Dyna, however&amp;nbsp;I have searched high and low on the API and through the SDK, but unfortunately don't seem to be able to find the appropriate methods/examples to do this either way.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Is anyone able to offer some guidance please, or even better example code of how this can be done in this context?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; All help would be greatly appreciated!&amp;nbsp; Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 12:04:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203632#M2735</guid>
      <dc:creator>ewoelkerling</dc:creator>
      <dc:date>2023-02-07T12:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203636#M2736</link>
      <description>&lt;P&gt;Since you are using the Extension 2.0, I believe the only method is to extend the existing topology model for the extension. You can do that in the Settings &amp;gt; Generic topology model for the&amp;nbsp;wmi:com_dynatrace_extension_host-observability_instance type.&lt;BR /&gt;&lt;BR /&gt;You need to add another source of data (I'd choose either events or logs, depending on which fits you best) and create appropriate attribute extraction rule. You need to send the data regularly to keep the properties "alive". So sending an event with the device name and the serial number (and other properties you also need).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, any future updates of this extension from the HUB will overwrite your topology modifications.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 07:36:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203636#M2736</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2023-01-30T07:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203637#M2737</link>
      <description>&lt;P&gt;HI Julius - thanks for the info, I'll give it a try.&amp;nbsp; FYI - we're not necessarily tied to Extension 2.0 (apart from the Remote Windows part) - the active gate extension can use V1 if there's appropriate methods/capability&amp;nbsp; - does that change your thoughts?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 07:51:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203637#M2737</guid>
      <dc:creator>ewoelkerling</dc:creator>
      <dc:date>2023-01-30T07:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203639#M2738</link>
      <description>&lt;P&gt;I'd stick with Extension 2.0 - as it definitely provides mode value along with the universal analysis screens. With Extension 1.0 it was possible to add metadata by using SmartScape API and updating the custom device,, but definitely I'd recommend to stay on Extension 2.0 version you have now.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 08:35:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203639#M2738</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2023-01-30T08:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203700#M2739</link>
      <description>&lt;P&gt;Thanks Julius - very much appreciate the insight &amp;amp; assistance - thanks again!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 21:02:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203700#M2739</guid>
      <dc:creator>ewoelkerling</dc:creator>
      <dc:date>2023-01-30T21:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203789#M2740</link>
      <description>&lt;P&gt;HI Julius - given your excellent answer before, I'd like to pose a follow on question (I didn't make it a new forum question as it relies on the context above)..&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tested your suggestion and it works really well and has no problems, however I've run into a downstream issue..&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to feed in the appropriate information (SerialNumber in this case) I setup the appropriate rules in the custom topology, then quickly created a V2 WMI extension to retrieve the serial via WMI.&amp;nbsp; Whilst the WMI extension is reporting as running OK, no metrics are coming through.&amp;nbsp; When I investigate the ActiveGate on which it's running, it's throwing a MINT error (7336][err][2023-02-01 06:33:01.965Z] [ds:wmi] [error] [EEC_CONNECTION_ERROR] HTTP error, dropping MINT packet (1 lines, 255 bytes): [HTTP Status Code = 400 - Bad Request (&lt;A href="http://127.0.0.1:14599/mint/4962476800840004540" target="_blank"&gt;http://127.0.0.1:14599/mint/4962476800840004540&lt;/A&gt;)] EEC REST API call failed [status code=30]).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Investigating further, I believe that it's probably due to the WMI query (SELECT * FROM Win32_BIOS) as there's nothing in this that can return a 'metric' (they're all text fields - see below for example output).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately, the metric line that works for manual ingestion is like "com.dynatrace.extension.host-observability.info,,host.serialnumber=xyzqr,device.name=ip-10-0-0-214.ec2.internal 100" - which I believe works as it's a proper metric send.. whereas the V2 extension WMI I've defined is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;wmi:&lt;BR /&gt;- group: augments&lt;BR /&gt;interval:&lt;BR /&gt;minutes: 1&lt;BR /&gt;dimensions:&lt;BR /&gt;- key: host&lt;BR /&gt;value: this:device.host&lt;BR /&gt;subgroups:&lt;BR /&gt;- subgroup: BIOS&lt;BR /&gt;query: SELECT * FROM Win32_BIOS&lt;BR /&gt;metrics:&lt;BR /&gt;- key: com.dynatrace.extension.host-observability.info&lt;BR /&gt;value: column:Version&lt;BR /&gt;dimensions:&lt;BR /&gt;- key: host.serialnumber&lt;BR /&gt;value: column:SerialNumber&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WMI Output:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SMBIOSBIOSVersion :&lt;BR /&gt;Manufacturer :&lt;BR /&gt;Name : T95 Ver. 01.11.00&lt;BR /&gt;SerialNumber : CND2303LMY&lt;BR /&gt;Version : HPQOEM - 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously a mismatch..&amp;nbsp; any suggestions on a workaround that might allow me to turn this into a proper metric send, but still have the dimension I need for augmentation?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 06:39:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203789#M2740</guid>
      <dc:creator>ewoelkerling</dc:creator>
      <dc:date>2023-02-01T06:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203794#M2741</link>
      <description>&lt;P&gt;As you have chosen to use metric as the data source, then it must definitely contain a number, your Version output is not a number.&lt;BR /&gt;So your WMI query must return (any) numeric number.&amp;nbsp; Any chance you can do some join with another WMI table and just return some random number? It can be any random number.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 07:39:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203794#M2741</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2023-02-01T07:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203797#M2742</link>
      <description>&lt;P&gt;You can’t join tables in WQL, so that won’t work alas. There is an easier solution though which is to use a constant for the value of the metric. You’d do that by setting the value as const:1 for example.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 07:44:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203797#M2742</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2023-02-01T07:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203889#M2745</link>
      <description>&lt;P&gt;Thanks guys - although I should have mentioned, I tried that and ran into what looks like a schema constraint problem and/or a mint-metric issue:&amp;nbsp; (apologies for the lack of detail on the previous)&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp; If I run the following plugin configuration:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wmi:
  - group: augments
    interval:
      minutes: 1
    dimensions:
      - key: host
        value: this:device.host
    subgroups:
      - subgroup: BIOS
        query: SELECT * FROM Win32_BIOS
        metrics:
          - key: com.dynatrace.extension.host-observability.info
            value: 100
        dimensions:
          - key: host.serialnumber
            value: column:SerialNumber&lt;/LI-CODE&gt;&lt;P&gt;I get an error on the plugin upload step:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;raise dtcliutils.ExtensionValidationError(response.text)
dtcli.utils.ExtensionValidationError: {"error":{"code":400,"message":"Extension validation error","constraintViolations":[{"path":"$.wmi[0].subgroups[0].metrics[0].value","message":"$.wmi[0].subgroups[0].metrics[0].value: integer found, string expected","parameterLocation":"PAYLOAD_BODY","location":null}]}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I alter it so that the metric is quoted, but still an integer like below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wmi:
  - group: augments
    interval:
      minutes: 1
    dimensions:
      - key: host
        value: this:device.host
    subgroups:
      - subgroup: BIOS
        query: SELECT * FROM Win32_BIOS
        metrics:
          - key: com.dynatrace.extension.host-observability.info
            value: "100"
        dimensions:
          - key: host.serialnumber
            value: column:SerialNumber&lt;/LI-CODE&gt;&lt;P&gt;It uploads OK, but throws a different error when trying to run on the ActiveGate&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Failed to assign monitoring configuration to ActiveGate. Reason: GENERIC_ERROR:Status GENERIC_ERROR (27) returned from 1 agents (10.0.179.98: Cannot gather mint metrics from query BIOS: Fault retrieving metric com.dynatrace.extension.host-observability.info: Unknown name. [status code=27] [status code=27]); &lt;/LI-CODE&gt;&lt;P&gt;which leaves me stuck..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other thoughts on how to get around this one?&amp;nbsp; Personally I'm not a huge fan of the schema constraint, although I can understand possible thoughts behind it..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 21:08:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203889#M2745</guid>
      <dc:creator>ewoelkerling</dc:creator>
      <dc:date>2023-02-01T21:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203894#M2746</link>
      <description>&lt;P&gt;Apologies, read Mike's post more carefully and added the const:..&amp;nbsp; but unfortunately I'm still throwing an error..&amp;nbsp;&lt;/P&gt;&lt;P&gt;So running the following configuration the plugin now uploads:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wmi:
  - group: augments
    interval:
      minutes: 1
    dimensions:
      - key: host
        value: this:device.host
    subgroups:
      - subgroup: BIOS
        query: SELECT * FROM Win32_BIOS
        metrics:
          - key: com.dynatrace.extension.host-observability.info
            value: const:100
        dimensions:
          - key: host.serialnumber
            value: column:SerialNumber&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but throws the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Failed to assign monitoring configuration to ActiveGate. Reason: GENERIC_ERROR:Status GENERIC_ERROR (27) returned from 1 agents (10.0.179.98: Cannot gather mint metrics from query BIOS: Fault retrieving metric com.dynatrace.extension.host-observability.info: Unknown name. [status code=27] [status code=27]);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; &amp;nbsp;Metric definition perhaps?&amp;nbsp;&lt;/P&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;</description>
      <pubDate>Wed, 01 Feb 2023 21:21:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203894#M2746</guid>
      <dc:creator>ewoelkerling</dc:creator>
      <dc:date>2023-02-01T21:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203903#M2748</link>
      <description>&lt;P&gt;It might be that the WMI datasource forgot to implement the const function. Can you open a support ticket?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 22:45:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203903#M2748</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2023-02-01T22:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203904#M2749</link>
      <description>&lt;P&gt;Can do and have..&amp;nbsp; case&amp;nbsp;&lt;SPAN&gt;#130044 created.&amp;nbsp; &amp;nbsp;Will update this forum as things progress.&amp;nbsp; Thanks!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 23:01:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203904#M2749</guid>
      <dc:creator>ewoelkerling</dc:creator>
      <dc:date>2023-02-01T23:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203928#M2750</link>
      <description>&lt;P&gt;Thanks, I name dropped some R&amp;amp;D people in that support ticket who might be able to help out.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 11:07:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/203928#M2750</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2023-02-02T11:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/204011#M2753</link>
      <description>&lt;P&gt;Thanks Mike - much appreciated.&amp;nbsp; Please take an extra donut out of petty cash&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 20:43:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/204011#M2753</guid>
      <dc:creator>ewoelkerling</dc:creator>
      <dc:date>2023-02-02T20:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/204175#M2756</link>
      <description>&lt;P&gt;FYI - For anyone reading this - the CONST: modifier isn't necessary for the BIOS Serial retrieval - there are a number of hidden metrics available in the WMI branch for Win32_BIOS that can be used.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have addressed this issue, and am now adding the serial_number as a dimension using the following query &amp;amp; configuration:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;     - subgroup: bios
        wmiNamespace: root\cimv2
        query: SELECT SerialNumber, SMBiosMajorVersion FROM Win32_BIOS
        dimensions:
          - key: serial_number
            value: column:SerialNumber
        metrics:
          - key: com.dynatrace.extension.host-observability.info.bios.biosversion
            value: column:SMBiosMajorVersion
            type: gauge
            featureSet: standard&lt;/LI-CODE&gt;&lt;P&gt;Would still be nice to get the const: element sorted, but at least there's a workaround&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 21:55:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/204175#M2756</guid>
      <dc:creator>ewoelkerling</dc:creator>
      <dc:date>2023-02-06T21:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Inject Custom Metadata into host record, without oneagentctl?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/204231#M2760</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/55327"&gt;@ewoelkerling&lt;/a&gt;&amp;nbsp;thank you very much for sharing a workaround with the Community! Much appreciated&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt; Happy you were able to find a solution!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 11:46:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Inject-Custom-Metadata-into-host-record-without-oneagentctl/m-p/204231#M2760</guid>
      <dc:creator>Ana_Kuzmenchuk</dc:creator>
      <dc:date>2023-02-07T11:46:22Z</dc:date>
    </item>
  </channel>
</rss>

