<?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: SNMP Extension 2.0 Regex OID in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/SNMP-Extension-2-0-Regex-OID/m-p/275572#M6341</link>
    <description>&lt;P&gt;Hi , Did you find any solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Apr 2025 18:22:29 GMT</pubDate>
    <dc:creator>kpurimitla</dc:creator>
    <dc:date>2025-04-21T18:22:29Z</dc:date>
    <item>
      <title>SNMP Extension 2.0 Regex OID</title>
      <link>https://community.dynatrace.com/t5/Extensions/SNMP-Extension-2-0-Regex-OID/m-p/244241#M4376</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a list of devices that end with the oid :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Es.&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;2606.7.4.1.2.1.3.&lt;FONT color="#FF0000"&gt;1&lt;/FONT&gt;&amp;nbsp; = Device1&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;2606.7.4.1.2.1.3.&lt;FONT color="#FF0000"&gt;2&lt;/FONT&gt; = Device2&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;2606.7.4.1.2.1.3.&lt;FONT color="#FF0000"&gt;3&lt;/FONT&gt; = Device3&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the last number of oid is the index of the device. (colored red)&lt;/P&gt;
&lt;P&gt;I need the corresponding value, but on other table doesn't end with the same index&lt;/P&gt;
&lt;P&gt;Es.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2606.7.4.2.2.1.4.&lt;FONT color="#ff0000"&gt;1&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;.2 = INTEGER: 10&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;2606.7.4.2.2.1.4.&lt;FONT color="#FF0000"&gt;2&lt;/FONT&gt;.2 = INTEGER: 20&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;2606.7.4.2.2.1.4.&lt;FONT color="#FF0000"&gt;3&lt;/FONT&gt;.2&amp;nbsp;= INTEGER: 30&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;Is possible to custom the oid with a regex or someting like that ?&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dimensions:
  - key: custom.snmp.test.device
	value: oid:2606.7.4.1.2.1.3
metrics:
  - key: custom.snmp.test.value
	value: oid:2606.7.4.2.2.1.4.{custom.snmp.test.device}.2​&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;I hope I have explained myself&lt;/DIV&gt;
&lt;DIV&gt;I appreciate any advice, I've been struggling with it for days&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 May 2024 08:59:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/SNMP-Extension-2-0-Regex-OID/m-p/244241#M4376</guid>
      <dc:creator>NicoloB</dc:creator>
      <dc:date>2024-05-07T08:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Extension 2.0 Regex OID</title>
      <link>https://community.dynatrace.com/t5/Extensions/SNMP-Extension-2-0-Regex-OID/m-p/244376#M4379</link>
      <description>&lt;P&gt;The only way this'd be possible was if the values were in an SNMP table, so you'd go table: true in the subgroup to poll the columns of a table. If it's not a table, there is currently no way of doing that dynamically. You'd have to hardcode it into the YAML.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 11:29:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/SNMP-Extension-2-0-Regex-OID/m-p/244376#M4379</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2024-04-30T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Extension 2.0 Regex OID</title>
      <link>https://community.dynatrace.com/t5/Extensions/SNMP-Extension-2-0-Regex-OID/m-p/244577#M4383</link>
      <description>&lt;P&gt;Unfortunately, it's as I thought.&lt;/P&gt;&lt;P&gt;I was hoping there was a more dynamic way.&lt;/P&gt;&lt;P&gt;Thanks for support&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 08:22:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/SNMP-Extension-2-0-Regex-OID/m-p/244577#M4383</guid>
      <dc:creator>NicoloB</dc:creator>
      <dc:date>2024-05-02T08:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Extension 2.0 Regex OID</title>
      <link>https://community.dynatrace.com/t5/Extensions/SNMP-Extension-2-0-Regex-OID/m-p/275572#M6341</link>
      <description>&lt;P&gt;Hi , Did you find any solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 18:22:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/SNMP-Extension-2-0-Regex-OID/m-p/275572#M6341</guid>
      <dc:creator>kpurimitla</dc:creator>
      <dc:date>2025-04-21T18:22:29Z</dc:date>
    </item>
  </channel>
</rss>

