<?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: Is there a way to use regexp in the process group detection rules? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79731#M16879</link>
    <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;Sorry, I did not see you answered my question.&lt;BR /&gt;I applied your settings, and I'm waiting for the processes to be restarted, which may take a while (processes are not automatically restarted).&lt;BR /&gt;I will come back when it's done and tell you if that worked.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gilles&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Sep 2018 08:37:50 GMT</pubDate>
    <dc:creator>g_ciret</dc:creator>
    <dc:date>2018-09-27T08:37:50Z</dc:date>
    <item>
      <title>Is there a way to use regexp in the process group detection rules?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79728#M16876</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to setup process group detection rules to separate the instances of several IBM Http Servers.&lt;/P&gt;
&lt;P&gt;Here is an example of the Apache configuration path of the process :&lt;BR /&gt;/data/IBM/HTTPServer/node-ihs90-ppd-netreveal-01/http01t/conf/httpd.conf&lt;/P&gt;
&lt;P&gt;And the command line args :&lt;BR /&gt;/opt/IBM/HTTPServer/ihs90-ppd/bin/httpd -f /data/IBM/HTTPServer/node-ihs90-ppd-netreveal-01/http01t/conf/httpd.conf -k start -f /data/IBM/HTTPServer/node-ihs90-ppd-netreveal-01/http01t/conf/httpd.conf&lt;/P&gt;
&lt;P&gt;What Dynatrace does automatically is group all the processes and instances under the same process group "Apache Web Server http*t" but as the instances do not have the same role, I would like to separate them.&lt;/P&gt;
&lt;P&gt;What I would like to have is :&lt;/P&gt;
&lt;P&gt;Apache Web Server http01t (node-ihs90-ppd-netreveal-01)&lt;BR /&gt;Apache Web Server http01t (node-ihs90-ppd-netreveal-02)&lt;BR /&gt;...&lt;/P&gt;
&lt;P&gt;That suppose to be able to extract the "http01t" or at least the "01t" value and the "node-ihs90-ppd-netreveal-01" node from the configuration path or command line, what I could not achieve.&lt;/P&gt;
&lt;P&gt;Is there a way to use regular expressions in the boundaries of the above form?&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/17378-dynatracedetectionrule.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Gilles&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 15:04:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79728#M16876</guid>
      <dc:creator>g_ciret</dc:creator>
      <dc:date>2021-05-10T15:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use regexp in the process group detection rules?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79729#M16877</link>
      <description>&lt;P&gt;Any idea?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jul 2018 13:17:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79729#M16877</guid>
      <dc:creator>g_ciret</dc:creator>
      <dc:date>2018-07-09T13:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use regexp in the process group detection rules?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79730#M16878</link>
      <description>&lt;P&gt;there are no regex in PG detection, this is on purpose because the pg detection happens rather early and is sensitive, so we decided not to include regex functionality.&lt;/P&gt;&lt;P&gt;1) try from "/http" to /conf with node id "/HTTPServer/" to "/http"&lt;/P&gt;&lt;P&gt;2) use naming rules on top to define nice display names once the group composition is good; you can use regex there.&lt;/P&gt;&lt;P&gt;Did you try this?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Sep 2018 08:08:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79730#M16878</guid>
      <dc:creator>michael_kopp</dc:creator>
      <dc:date>2018-09-17T08:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use regexp in the process group detection rules?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79731#M16879</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;Sorry, I did not see you answered my question.&lt;BR /&gt;I applied your settings, and I'm waiting for the processes to be restarted, which may take a while (processes are not automatically restarted).&lt;BR /&gt;I will come back when it's done and tell you if that worked.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gilles&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2018 08:37:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79731#M16879</guid>
      <dc:creator>g_ciret</dc:creator>
      <dc:date>2018-09-27T08:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use regexp in the process group detection rules?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79732#M16880</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;I tried your solution but it did not work as the rule is not case sensitive, it takes the bold part of the command line as process group and &lt;STRONG&gt;ihs90-prd/bin &lt;/STRONG&gt;as node id :&lt;/P&gt;&lt;P&gt;/opt/IBM/HTTP&lt;STRONG&gt;Server/ihs90-prd/bin/httpd -f /data/IBM/HTTPServer/node-ihs90-prd-app-01/http26p/&lt;/STRONG&gt;conf/httpd.conf -k start -f /data/IBM/HTTPServer/node-ihs90-prd-app-01/http26p/conf/httpd.conf&lt;/P&gt;&lt;P&gt;I can't see a way to extract &lt;STRONG&gt;http26p&lt;/STRONG&gt; as process group and&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;app-01 &lt;/STRONG&gt;as node id without using regexp or at least with a case sensitive option.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilles&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:08:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79732#M16880</guid>
      <dc:creator>g_ciret</dc:creator>
      <dc:date>2018-10-24T16:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use regexp in the process group detection rules?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79733#M16881</link>
      <description>&lt;P&gt;Hi Gilles,&lt;BR /&gt;&lt;BR /&gt;From what I've understood, your goal is to separate the IHS instances, not group them (your screenshot features a grouping rule). &lt;/P&gt;&lt;P&gt;We've had the exact same situation with IHS instances and we achieved proper separation using environment variables.&lt;/P&gt;&lt;P&gt;More on this in the documentation: &lt;A href="https://www.dynatrace.com/support/help/monitor/processes/can-i-customize-how-process-groups-are-detected/#process-group-detection-rules-based-on-environment-variables"&gt;https://www.dynatrace.com/support/help/monitor/pro...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Davorin&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Oct 2018 12:10:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79733#M16881</guid>
      <dc:creator>DavorinKrivak</dc:creator>
      <dc:date>2018-10-25T12:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use regexp in the process group detection rules?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79734#M16882</link>
      <description>&lt;P&gt;Hi Darovin,&lt;/P&gt;&lt;P&gt;Thanks for your interest.&lt;BR /&gt;I will try to explain more clearly what I would like to achieve.&lt;/P&gt;&lt;P&gt;I have got two hosts A and B on which are running two nodes :&lt;BR /&gt;- node-ihs90-prd-netreveal-01 on A&lt;BR /&gt;- node-ihs90-prd-netreveal-02 on B&lt;/P&gt;&lt;P&gt;On each node are running 2 Apache HTTP server processes :&lt;BR /&gt;- admin00p&lt;BR /&gt;- http01p&lt;/P&gt;&lt;P&gt;I would like to get two process groups admin00p and http01p, each one running on the two previous nodes.&lt;/P&gt;&lt;P&gt;admin00p (node-ihs90-prd-netreveal-01)&lt;/P&gt;&lt;P&gt;For now, what I got is this (separated processes, so not a process group...), but this is because of the rules I set :&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/18678-capture.jpg" /&gt;&lt;/P&gt;&lt;P&gt;I will have a look at your link and see if I can remove my rules and use environment varibles instead (we are running on Linux but I guess it works too).&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Gilles&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Oct 2018 12:38:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-there-a-way-to-use-regexp-in-the-process-group-detection/m-p/79734#M16882</guid>
      <dc:creator>g_ciret</dc:creator>
      <dc:date>2018-10-25T12:38:19Z</dc:date>
    </item>
  </channel>
</rss>

