<?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: Problem Configuring JMX apps in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187956#M19023</link>
    <description>&lt;P&gt;Hello Damien,&lt;/P&gt;

&lt;P&gt;I've extracted the config.xsd from jmxmodinput.jar&lt;/P&gt;

&lt;P&gt;I used the online xml validator (&lt;A href="http://www.freeformatter.com/xml-validator-xsd.html" target="_blank"&gt;http://www.freeformatter.com/xml-validator-xsd.html&lt;/A&gt;) and verified my config xml file is fully valid.&lt;/P&gt;

&lt;P&gt;I created another config file...  now the splunkd log is complaining Missing FORMAT for: transform_name='Security_ID_as_src_nt_domain' and Missing FORMAT for: transform_name='Target_Account_ID_as_dest_nt_domain'&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 19:15:51 GMT</pubDate>
    <dc:creator>fhjfong</dc:creator>
    <dc:date>2020-09-28T19:15:51Z</dc:date>
    <item>
      <title>Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187947#M19014</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;Is there any documentation on how to configure the JMX apps please? &lt;/P&gt;

&lt;P&gt;&lt;A href="https://apps.splunk.com/app/668/" target="_blank"&gt;https://apps.splunk.com/app/668/&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;This is the error I'm seeing in splund.log &lt;/P&gt;

&lt;P&gt;03-16-2015 16:21:41.693 -0400 ERROR ExecProcessor - message from "python E:\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py" host=server1.company.com, jmxServiceURL=, jmxport=9826, jvmDescription=server1_appserver01, processID=0,stanza=jmx://server1_appserver01,systemErrorMessage="Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: &lt;BR /&gt;
03-16-2015 16:21:41.693 -0400 ERROR ExecProcessor - message from "python E:\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py" java.net.SocketTimeoutException: Read timed out]" &lt;/P&gt;

&lt;P&gt;If I try to run it manually, this is the error message: &lt;/P&gt;

&lt;P&gt;E:\Splunk\bin&amp;gt;splunk cmd python E:\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py &amp;lt; e:\Sp &lt;BR /&gt;
lunk\etc\apps\SPLUNK4JMX\bin\config\server1_appserver01.xml &lt;BR /&gt;
ERROR Error parsing XML : unexpected element (uri:"", local:"jmxpoller"). Expect &lt;BR /&gt;
ed elements are &amp;lt;{}input&amp;gt; &lt;BR /&gt;
ERROR Error executing modular input : null : java.lang.NullPointerException &lt;BR /&gt;
at com.splunk.modinput.ModularInput$SplunkConnectionPoller.(Unknow &lt;BR /&gt;
n Source) &lt;BR /&gt;
at com.splunk.modinput.ModularInput.init(Unknown Source) &lt;BR /&gt;
at com.splunk.modinput.jmx.JMXModularInput.main(Unknown Source) &lt;/P&gt;

&lt;P&gt;Thanks. &lt;/P&gt;

&lt;P&gt;Cheers, &lt;BR /&gt;
Jack&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:14:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187947#M19014</guid>
      <dc:creator>fhjfong</dc:creator>
      <dc:date>2020-09-28T19:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187948#M19015</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;systemErrorMessage="Failed to retrieve&lt;BR /&gt;
RMIServer stub:&lt;BR /&gt;
javax.naming.CommunicationException&lt;BR /&gt;
[Root exception is&lt;BR /&gt;
java.rmi.ConnectIOException: error&lt;BR /&gt;
during JRMP connection establishment;&lt;BR /&gt;
nested exception is:&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;To what extent have your worked through the troubleshooting steps in the documentation ?&lt;BR /&gt;
Perhaps you have firewall issues ?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2015 04:05:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187948#M19015</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-03-18T04:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187949#M19016</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;yes setting up this JMX was also a mess for me. First you have to activate JMX at your JVM. Have you done this? First you should verify with jconsole application from JDK if you can "see" data before trying to collect it using the jmxpoller.&lt;/P&gt;

&lt;P&gt;second create a jmx config within the apps bin directory - you can use one of the templates there and comment out the line.&lt;/P&gt;

&lt;P&gt;third activate the data input - verify the python script is starting correctly. I had a lib issue in the past.. use splunk cmd /usr/bin/python jmx.py to verify.&lt;/P&gt;

&lt;P&gt;regards,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2015 08:37:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187949#M19016</guid>
      <dc:creator>schose</dc:creator>
      <dc:date>2015-03-18T08:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187950#M19017</link>
      <description>&lt;P&gt;Hello, this is what I've done.&lt;/P&gt;

&lt;P&gt;I wrote a dummy program which prints hello world every 10 seconds in an infinite for loop, and I started it with JMX enabled.&lt;/P&gt;

&lt;P&gt;C:\jdk1.8.0_11\bin\java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false PCMDump&lt;/P&gt;

&lt;P&gt;I was able to connect to it with JConsole at localhost:9010.&lt;/P&gt;

&lt;P&gt;After verifying JConsole is working, I moved onto Splunk4JMX.&lt;/P&gt;

&lt;P&gt;I cloned the sample config.xml, called it pcm.xml, and modified the port number to 9010.  However, I'm getting this error message:&lt;/P&gt;

&lt;P&gt;E:\Splunk\bin&amp;gt;splunk cmd python E:\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py &amp;lt; E:\Sp&lt;BR /&gt;
lunk\etc\apps\SPLUNK4JMX\bin\config\pcm.xml&lt;BR /&gt;
ERROR Error parsing XML : unexpected element (uri:"", local:"jmxpoller"). Expect&lt;BR /&gt;
ed elements are &amp;lt;{}input&amp;gt;&lt;BR /&gt;
ERROR Error executing modular input : null : java.lang.NullPointerException&lt;BR /&gt;
        at com.splunk.modinput.ModularInput$SplunkConnectionPoller.&lt;INIT&gt;(Unknow&lt;BR /&gt;
n Source)&lt;BR /&gt;
        at com.splunk.modinput.ModularInput.init(Unknown Source)&lt;BR /&gt;
        at com.splunk.modinput.jmx.JMXModularInput.main(Unknown Source)&lt;/INIT&gt;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
Jack&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 20:52:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187950#M19017</guid>
      <dc:creator>fhjfong</dc:creator>
      <dc:date>2015-03-19T20:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187951#M19018</link>
      <description>&lt;P&gt;Why are you trying to run the jmx.py script directly ? This is not documented.&lt;/P&gt;

&lt;P&gt;It is a Modular Input. It runs under the context of the Splunk environment.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 02:31:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187951#M19018</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-03-20T02:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187952#M19019</link>
      <description>&lt;P&gt;Thanks for your reply Damien.&lt;/P&gt;

&lt;P&gt;I didn't know I shouldn't run jmx.py directly.&lt;/P&gt;

&lt;P&gt;In splunkd.log, here is the error message:&lt;/P&gt;

&lt;P&gt;03-19-2015 23:05:24.424 -0400 ERROR ExecProcessor - message from "python E:\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py" The root config object(JMXPoller) failed to initialize, stanza : jmx://PCMDump&lt;/P&gt;

&lt;P&gt;Any suggestion is appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 03:21:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187952#M19019</guid>
      <dc:creator>fhjfong</dc:creator>
      <dc:date>2015-03-20T03:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187953#M19020</link>
      <description>&lt;P&gt;I have created another xml file:&lt;/P&gt;

&lt;P&gt;Now my splunkd.log is filled with:&lt;BR /&gt;
03-19-2015 23:10:37.558 -0400 WARN  SearchOperator:kv - Missing FORMAT for: transform_name='Target_Account_ID_as_dest_nt_domain'&lt;BR /&gt;
03-19-2015 23:10:37.558 -0400 WARN  SearchOperator:kv - Invalid key-value parser, ignoring it, transform_name='Target_Account_ID_as_dest_nt_domain'&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:15:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187953#M19020</guid>
      <dc:creator>fhjfong</dc:creator>
      <dc:date>2020-09-28T19:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187954#M19021</link>
      <description>&lt;P&gt;03-19-2015 23:30:47.938 -0400 WARN  SearchOperator:kv - Missing FORMAT for: transform_name='Target_Account_ID_as_dest_nt_domain'&lt;BR /&gt;
03-19-2015 23:30:47.938 -0400 WARN  SearchOperator:kv - Invalid key-value parser, ignoring it, transform_name='Target_Account_ID_as_dest_nt_domain'&lt;BR /&gt;
03-19-2015 23:30:47.938 -0400 WARN  SearchOperator:kv - Missing FORMAT for: transform_name='Security_ID_as_src_nt_domain'&lt;BR /&gt;
03-19-2015 23:30:47.938 -0400 WARN  SearchOperator:kv - Invalid key-value parser, ignoring it, transform_name='Security_ID_as_src_nt_domain'&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:15:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187954#M19021</guid>
      <dc:creator>fhjfong</dc:creator>
      <dc:date>2020-09-28T19:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187955#M19022</link>
      <description>&lt;P&gt;You have most likely created a malformed config xml file.&lt;BR /&gt;
I would suggest checking that you adhere to config.xsd (you'll find this file in the release) and perhaps using an xml editor to help you create conforming xml.&lt;BR /&gt;
And as always referring and cross referencing with the numerous example xml config files is always useful too.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 03:44:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187955#M19022</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-03-20T03:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187956#M19023</link>
      <description>&lt;P&gt;Hello Damien,&lt;/P&gt;

&lt;P&gt;I've extracted the config.xsd from jmxmodinput.jar&lt;/P&gt;

&lt;P&gt;I used the online xml validator (&lt;A href="http://www.freeformatter.com/xml-validator-xsd.html" target="_blank"&gt;http://www.freeformatter.com/xml-validator-xsd.html&lt;/A&gt;) and verified my config xml file is fully valid.&lt;/P&gt;

&lt;P&gt;I created another config file...  now the splunkd log is complaining Missing FORMAT for: transform_name='Security_ID_as_src_nt_domain' and Missing FORMAT for: transform_name='Target_Account_ID_as_dest_nt_domain'&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187956#M19023</guid>
      <dc:creator>fhjfong</dc:creator>
      <dc:date>2020-09-28T19:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Configuring JMX apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187957#M19024</link>
      <description>&lt;P&gt;Those warning messages have nothing to do with the jmx app&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 04:59:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-Configuring-JMX-apps/m-p/187957#M19024</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-03-20T04:59:29Z</dc:date>
    </item>
  </channel>
</rss>

