<?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: Monitoring of Java Virtual Machines with JMX: Why am I getting error &amp;quot;root config object (JMXPoller) failed to initialize&amp;quot;? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-Why-am-I-getting/m-p/159929#M14765</link>
    <description>&lt;P&gt;That error means that you have  a formatting  or syntax error in your config.xml file.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2014 07:37:54 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2014-12-17T07:37:54Z</dc:date>
    <item>
      <title>Monitoring of Java Virtual Machines with JMX: Why am I getting error "root config object (JMXPoller) failed to initialize"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-Why-am-I-getting/m-p/159928#M14764</link>
      <description>&lt;P&gt;Why am I getting the following error and how to troubleshoot this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;-0500 ERROR ExecProcessor - message from "python "C:Program FilesSplunketcappsjmx_tabinjmx.py"" The root config object(JMXPoller) failed to initialize, stanza : jmx://tomcat
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Dec 2014 17:43:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-Why-am-I-getting/m-p/159928#M14764</guid>
      <dc:creator>MarkStory</dc:creator>
      <dc:date>2014-12-16T17:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring of Java Virtual Machines with JMX: Why am I getting error "root config object (JMXPoller) failed to initialize"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-Why-am-I-getting/m-p/159929#M14765</link>
      <description>&lt;P&gt;That error means that you have  a formatting  or syntax error in your config.xml file.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2014 07:37:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-Why-am-I-getting/m-p/159929#M14765</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2014-12-17T07:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring of Java Virtual Machines with JMX: Why am I getting error "root config object (JMXPoller) failed to initialize"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-Why-am-I-getting/m-p/159930#M14766</link>
      <description>&lt;P&gt;Damien, thank you for your reply.  Here is what I have in my config.xml file.  Do you have an resources you could point me to in order to figure out what mbeans I should include?  I can see the mbeans through jconsole but am not sure where the other syntax comes from in regards to the attributes etc.  As I don't have enough karma points I'm not able to attach an image of the actual file contents and typing code within this reply always gets stripped out.  Please note that I've typed everything in my config.xml file without the &amp;lt; or &amp;gt;.&lt;/P&gt;

&lt;P&gt;jmxpoller&lt;/P&gt;

&lt;P&gt;jmxserver host="servername" jvmDescription="Tomcat" jmxport="8123"&lt;/P&gt;

&lt;P&gt;!dump all the attributes of every mbean in the java.lang domain--&lt;/P&gt;

&lt;P&gt;mbean domain="java.lang" properties="*" dumpAllAttributes="true"/&lt;/P&gt;

&lt;P&gt;/mbean&lt;/P&gt;

&lt;P&gt;/jmxserver&lt;/P&gt;

&lt;P&gt;/jmxpoller&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2014 15:15:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-Why-am-I-getting/m-p/159930#M14766</guid>
      <dc:creator>MarkStory</dc:creator>
      <dc:date>2014-12-17T15:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring of Java Virtual Machines with JMX: Why am I getting error "root config object (JMXPoller) failed to initialize"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-Why-am-I-getting/m-p/159931#M14767</link>
      <description>&lt;P&gt;You have double closed your mbean element, hence your error. Below  is a correct example.Also added an example of a Catalina mbean.&lt;/P&gt;

&lt;P&gt;You need to browse the available mbeans via JConsole yourself and determine what data you want.&lt;/P&gt;

&lt;P&gt;The domain and properties attributes of the mbean element are obtained from JConsole. It is the mbean's ObjectName.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/171i864C918DBC6C0DC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The name attribute of the attribute element is also viewable in JConsole. &lt;/P&gt;

&lt;P&gt;The outputname attribute of the attribute element allows you to override the field name that gets sent to Splunk.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/172i9CC942DA60190A49/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;jmxpoller&amp;gt;

&amp;lt;jmxserver host="servername" jvmDescription="Tomcat" jmxport="8123"&amp;gt;

&amp;lt;mbean domain="java.lang" properties="*" dumpAllAttributes="true"/&amp;gt;

&amp;lt;mbean domain="Catalina" properties="type=ThreadPool,name=http-bio-8080"&amp;gt;

    &amp;lt;attribute name="currentThreadsBusy" outputname="threads_busy"/&amp;gt;

&amp;lt;/mbean&amp;gt;

&amp;lt;/jmxserver&amp;gt;

&amp;lt;/jmxpoller&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Dec 2014 15:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Monitoring-of-Java-Virtual-Machines-with-JMX-Why-am-I-getting/m-p/159931#M14767</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2014-12-17T15:58:33Z</dc:date>
    </item>
  </channel>
</rss>

