<?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: Problems defining JMX plugin in Jetty / Mule ESB in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56805#M197</link>
    <description>&lt;P&gt;That should be the correct one. Unfortunately for increasing debug log you need to open a support ticket. &lt;/P&gt;</description>
    <pubDate>Thu, 01 Mar 2018 15:45:36 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2018-03-01T15:45:36Z</dc:date>
    <item>
      <title>Problems defining JMX plugin in Jetty / Mule ESB</title>
      <link>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56800#M192</link>
      <description>&lt;P&gt;I've got a Mule ESB application that Dynatrace needs to monitor, I see SaaS supports Mule ESB but there are a number of problems. Most pressing is the inability to pick out JMX metrics from Jetty/Mule ESB, which is probably down to me defining the plugin.json incorrectly.&lt;/P&gt;
&lt;P&gt;&amp;gt;I have an issue defining the plugin.json, tried multiple ways of accessing the MBeans which unfortunately have "'s and a space in the "name" part of the MBean. Can be seen below for an example app in MuleESB -&amp;gt;&lt;/P&gt;
&lt;PRE&gt;$&amp;gt;beans -d Mule.echo&lt;BR /&gt;#domain = Mule.echo:&lt;BR /&gt;Mule.echo:Application="application totals",type=org.mule.Statistics&lt;BR /&gt;Mule.echo:Flow="EchoFlow",type=org.mule.Statistics&lt;BR /&gt;Mule.echo:connector=connector.http.mule.default,name="endpoint.http.localhost.8084",service="EchoFlow",type=Endpoint&lt;BR /&gt;Mule.echo:name="EchoFlow",type=Flow&lt;BR /&gt;Mule.echo:name="_muleSystemModel(seda)",type=Model&lt;BR /&gt;Mule.echo:name="application totals",type=Application&lt;BR /&gt;Mule.echo:name="connector.http.mule.default",type=Connector&lt;BR /&gt;Mule.echo:name=AllStatistics,type=Statistics&lt;BR /&gt;Mule.echo:name=Configuration&lt;BR /&gt;Mule.echo:name=MuleContext&lt;BR /&gt;$&amp;gt;get -d Mule.echo -b Mule.echo:Application="application\ totals",type=org.mule.Statistics TotalProcessingTime&lt;BR /&gt;#mbean = Mule.echo:Application="application totals",type=org.mule.Statistics:&lt;BR /&gt;TotalProcessingTime = 5290;&lt;/PRE&gt;
&lt;P&gt;My plugin.json looks like (Simple one to get just one value as a test) -&amp;gt;&lt;/P&gt;
&lt;PRE&gt;{&lt;BR /&gt;  "version" : "0.001",&lt;BR /&gt;  "name" : "custom.jmx.muleesb",&lt;BR /&gt;  "type" : "JMX",&lt;BR /&gt;  "entity": "PROCESS_GROUP_INSTANCE",&lt;BR /&gt;  "configUI" : {&lt;BR /&gt;		"displayName": "MuleESB JMX"&lt;BR /&gt;	},&lt;BR /&gt;  "processTypes": [ 10, 12, 13, 16, 17, 18 ], &lt;BR /&gt;  "metrics" : [&lt;BR /&gt;    {&lt;BR /&gt;      "timeseries" :&lt;BR /&gt;      {&lt;BR /&gt;        "key" : "TotalProcessingTime",&lt;BR /&gt;        "unit" : "Count",&lt;BR /&gt;        "dimensions" : [&lt;BR /&gt;          "rx_pid"&lt;BR /&gt;        ],&lt;BR /&gt;	"displayname": "Total Processing Time"&lt;BR /&gt;      },&lt;BR /&gt;      "source" : {&lt;BR /&gt;        "domain": "Mule.echo",&lt;BR /&gt;        "keyProperties": {&lt;BR /&gt;	  "type": "org.mule.Statistics",&lt;BR /&gt;	  "name": "application totals"&lt;BR /&gt;        },&lt;BR /&gt;        "allowAdditionalKeys": false,&lt;BR /&gt;        "attribute": "TotalProcessingTime",&lt;BR /&gt;        "calculateDelta": false,&lt;BR /&gt;        "calculateRate": false,&lt;BR /&gt;        "aggregation": "SUM"&lt;BR /&gt;      }&lt;BR /&gt;    }&lt;BR /&gt;  ],&lt;BR /&gt;  "ui" :&lt;BR /&gt;  {&lt;BR /&gt;    "keymetrics" : [&lt;BR /&gt;      {&lt;BR /&gt;        "key" : "TotalProcessingTime",&lt;BR /&gt;        "aggregation" : "avg",&lt;BR /&gt;        "mergeaggregation" : "sum",&lt;BR /&gt;        "displayname" : "Total Processing Time"&lt;BR /&gt;      }&lt;BR /&gt;    ],&lt;BR /&gt;    "keycharts" : [&lt;BR /&gt;      {&lt;BR /&gt;        "title" : "MuleESB Total Processing Time",&lt;BR /&gt;		"group" : "MuleESB metrics",&lt;BR /&gt;        "series" : [&lt;BR /&gt;          {&lt;BR /&gt;            "key" : "TotalProcessingTime",&lt;BR /&gt;            "displayname" : "Processing Time",&lt;BR /&gt;            "rightaxis" : true,&lt;BR /&gt;            "color" : "rgba(101,152,186,0.4)",&lt;BR /&gt;            "seriestype" : "bar",&lt;BR /&gt;            "mergeaggregation" : "sum"&lt;BR /&gt;          }&lt;BR /&gt;        ]&lt;BR /&gt;      }&lt;BR /&gt;    ],&lt;BR /&gt;    "charts" : [&lt;BR /&gt;      {&lt;BR /&gt;        "group" : "MuleESB metrics",&lt;BR /&gt;        "title" : "MuleESB Total Processing Time",&lt;BR /&gt;        "series" : [&lt;BR /&gt;          {&lt;BR /&gt;            "key" : "TotalProcessingTime",&lt;BR /&gt;            "displayname" : "Processing Time",&lt;BR /&gt;            "rightaxis" : true,&lt;BR /&gt;            "color" : "rgba(101,152,186,0.4)",&lt;BR /&gt;            "seriestype" : "bar"&lt;BR /&gt;          }&lt;BR /&gt;        ]&lt;BR /&gt;      }&lt;BR /&gt;    ]&lt;BR /&gt;  }&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;The issue seems to be with "name", it should be "\"application\ totals\"", but Dynatrace won't accept any escaped characters like that. I also tried using "name": "*" and that also fails ...&lt;/P&gt;
&lt;P&gt;I say "fails", unfortunately unless I do something like put in "\\\"application\ totals\\\" and get an exception I get nothing in the logs at all for the monitored process. But what I do see is -&amp;gt;&lt;/P&gt;
&lt;PRE&gt;2018-02-28 14:20:46.745 UTC [7e19f84a] info    [native] Updating plugins content from revision 1519827060897 to 1519827091624 (11 plugins)&lt;BR /&gt;2018-02-28 14:20:46.745 UTC [7e19f84a] info    [native]   Adding plugin custom.jmx.muleesb with version 0.001&lt;BR /&gt;2018-02-28 14:21:16.187 UTC [7e19f84a] info    [native] Updating plugins content from revision 1519827091624 to 1519827060897 (10 plugins)&lt;BR /&gt;2018-02-28 14:21:16.187 UTC [7e19f84a] info    [native]   Removing plugin custom.jmx.muleesb&lt;BR /&gt;2018-02-28 14:21:26.547 UTC [7e19f84a] info    [native] Updating plugins content from revision 1519827060897 to 1519827091624 (11 plugins)&lt;BR /&gt;2018-02-28 14:21:26.547 UTC [7e19f84a] info    [native]   Adding plugin custom.jmx.muleesb with version 0.001&lt;/PRE&gt;
&lt;P&gt;It "adds" and "removes" the plugin over and over ...&lt;/P&gt;
&lt;P&gt;I've got the plugin.json above working for a more conventionally named MBean in the same process. So "get -d Mule.echo -b Mule.echo:name=MuleContext FreeMemory" works in the above and I get a chart with free memory in it on the UI showing the rest of the config is correct. It just can't read the "application totals" name key as far as I can see.&lt;/P&gt;
&lt;P&gt;Any ideas? I've tried escaping, using *, using unicode.... Nothing works and there is no debugging info!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 09:25:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56800#M192</guid>
      <dc:creator>james_billingha</dc:creator>
      <dc:date>2025-06-05T09:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems defining JMX plugin in Jetty / Mule ESB</title>
      <link>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56801#M193</link>
      <description>&lt;P&gt;Did you try to use the JMX Browser when defining plugin? See &lt;A href="https://www.dynatrace.com/news/blog/jmx-plugins-editor-now-available-eap/"&gt;https://www.dynatrace.com/news/blog/jmx-plugins-editor-now-available-eap/&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 19:34:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56801#M193</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2018-02-28T19:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problems defining JMX plugin in Jetty / Mule ESB</title>
      <link>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56802#M194</link>
      <description>&lt;P&gt;Cheers, I've asked, but I assume that is a nice UI for defining the plugin that ultimately executes on the OneAgent the same as any other. It is there that the execution fails as it can't read an MBean with that name (I assume). But I'll give it a go, looks a lot more user friendly! &lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 22:36:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56802#M194</guid>
      <dc:creator>james_billingha</dc:creator>
      <dc:date>2018-02-28T22:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems defining JMX plugin in Jetty / Mule ESB</title>
      <link>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56803#M195</link>
      <description>&lt;P&gt;It is definitely worth trying it. If you can't see the mbean, did you look also in the agent java logs for the monitored process? For JMX plugins data will not be in the Oneagent plugin logs, but in the Oneagent Java logs, since it's a java process and JMX attributes retrieval is performed using the Java instrumentation. Oneagent plugin logs are for the Oneagent SDK plugins only.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 07:47:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56803#M195</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2018-03-01T07:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems defining JMX plugin in Jetty / Mule ESB</title>
      <link>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56804#M196</link>
      <description>&lt;P&gt;Log I found the messages above in was in /opt/dynatrace/oneagent/log/java, named for the MuleESB process - ruxitagent_org.mule.module.reboot.MuleContainerBootstrap_16962.0.log&lt;/P&gt;&lt;P&gt;I assume that's the right one? &lt;/P&gt;&lt;P&gt;Thanks again! &lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 12:31:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56804#M196</guid>
      <dc:creator>james_billingha</dc:creator>
      <dc:date>2018-03-01T12:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problems defining JMX plugin in Jetty / Mule ESB</title>
      <link>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56805#M197</link>
      <description>&lt;P&gt;That should be the correct one. Unfortunately for increasing debug log you need to open a support ticket. &lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 15:45:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56805#M197</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2018-03-01T15:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problems defining JMX plugin in Jetty / Mule ESB</title>
      <link>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56806#M198</link>
      <description>&lt;P&gt;@Julius's solution worked, the plugin.json it created had the quotes delimited but not the space. Thought I'd tried that combination but apparently not! &lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 13:53:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56806#M198</guid>
      <dc:creator>james_billingha</dc:creator>
      <dc:date>2018-03-09T13:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problems defining JMX plugin in Jetty / Mule ESB</title>
      <link>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56807#M199</link>
      <description>&lt;P&gt;Might be useful for others instrumenting MuleESB JMX, given you need a JMX config per application this script auto-generates one for every application defined - https://github.com/JD-Billingham/Dynatrace_MuleESB_JMX&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 11:23:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56807#M199</guid>
      <dc:creator>james_billingha</dc:creator>
      <dc:date>2018-04-06T11:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems defining JMX plugin in Jetty / Mule ESB</title>
      <link>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56808#M200</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/4119/view.html" nodeid="4119"&gt;@Michael L.&lt;/A&gt; this is worth looking into &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Nov 2018 09:41:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Problems-defining-JMX-plugin-in-Jetty-Mule-ESB/m-p/56808#M200</guid>
      <dc:creator>jeppe_lindberg3</dc:creator>
      <dc:date>2018-11-02T09:41:50Z</dc:date>
    </item>
  </channel>
</rss>

