All Apps and Add-ons

Problem configuring Splunk Add-on for JMX

tsomod
Path Finder

Hi,

I am currently having a problem receiving data through the Splunk Add-on for JMX. I have followed the troubleshooting guides with no luck and can find no errors in the configuration files. I have a similar working installation on another heavy forwarder which is working just fine. I have also verified that the JMX-links can be contacted locally and that the servers/ports can be reached from the heavy forwarder which has the TA installed. There are also no blocks in the firewall. Additionally, I have verified that a supported version of the Java JDK is installed and that the environment paths point to this version of Java. My only lead is this error message that is being spammed in the jmx.log:

2018-10-31 10:25:31,994 - com.splunk.modinput.ModularInput -0    [main] ERROR  - Error executing modular input : null : java.lang.NullPointerException
    at com.splunk.jmx.InfoManager.isJMXAccount(Unknown Source)
    at com.splunk.jmx.InfoManager.getAccounts(Unknown Source)
    at com.splunk.jmx.JMXModularInputV3.doRun(Unknown Source)
    at com.splunk.modinput.ModularInput.init(Unknown Source)
    at com.splunk.jmx.JMXModularInputV3.main(Unknown Source)

However, when I removed and reinstalled the TA the same error was shown in the log, even though I had configured no inputs. This makes me believe that there is no problem with the inputs, but rather with the TA itself. So, what I'm wondering is whether any of you have encountered a similar problem, and if you found a solution to it. I hope you can help me.

Tags (2)

josh12121984
Engager

I am currently having a problem receiving data through the Splunk Add-on for JMX. I have followed the troubleshooting guides with no luck and can find no errors in the configuration files. I have also verified that the JMX-links can be contacted locally and that the servers/ports can be reached from the heavy forwarder which has the TA installed. There are also no blocks in the firewall. Additionally, I have verified that a supported version of the Java JDK is installed and that the environment paths point to this version of Java.

We engaged Splunk support and on-demand engineers to look into this issue and no luck.  not able to find any errors in the log file.

0 Karma

timothywatson
Path Finder

Did you resolve this issue? Are (were) there any differences in the Java versions, OS versions, etc. between the working/non-working envs? I have an identical error, let me know if I can help you to isolate the issue...

0 Karma

tsomod
Path Finder

Hi,
Unfortunatley I never found out what was causing these errors. The TA was formerly running on RHEL6. I rebuilt Splunk + the TA on a new server that is RHEL7 and voila, the problems disappeared.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...