All Apps and Add-ons

Splunk Add-on for Java Management Extensions ExecProcessor errors- How to fix?

justynap_ldz
Path Finder

Hello,

We have noticed the following errors comming from our Search Heads from Splunk_TA_jmx:
ERROR ExecProcessor [57556 ExecProcessor] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/Splunk_TA_jmx/bin/jmx.py" File "/opt/splunk/etc/apps/Splunk_TA_jmx/lib/solnlib/conf_manager.py", line 459, in get_conf
ERROR ExecProcessor [57556 ExecProcessor] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/Splunk_TA_jmx/bin/jmx.py" WARNING:root:Run function: get_conf failed: Traceback (most recent call last):
ERROR ExecProcessor [57556 ExecProcessor] - Ignoring: "'/.\bin\scripted_inputs\ftr_lookups.py'"
ERROR ExecProcessor [57556 ExecProcessor] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/Splunk_TA_jmx/bin/jmx.py" return super(Collection, self).get(name, owner, app, sharing, **query)
ERROR ExecProcessor [57556 ExecProcessor] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/Splunk_TA_jmx/bin/jmx.py" splunklib.binding.HTTPError: HTTP 404 Not Found -- jmx_tasks does not exist

justynap_ldz_0-1663922956159.png

Input is configured on Heavy Forwarder and works finee, but as in https://docs.splunk.com/Documentation/AddOns/released/JMX/Hardwareandsoftwarerequirements we have installed the addon also on Search Heads and we're not sure sure what to adjust/change.
Does anyone have any idea on how to get rid of these errors?

Greetings,
Justyna

Labels (2)
0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

@justynap_ldz 

As per the error(splunklib.binding.HTTPError: HTTP 404 Not Found -- jmx_tasks does not exist).

So make sure you successfully configured inputs with JVM / JAVA Beans. Check in the addon's local folder whether configured inputs are created or not. Just search for jmx_tasks.conf file.  You will get the idea.

 

Installation Guide.
The Addon should installed in Heavy Forwarders and need to configure inputs as per your requirements. 

For Search HeadsIndexers, just install it (for parsing and extraction purposes), no need to configure any inputs

 

I hope this will help you.

Thanks
KV
If any of my replies help you to solve the problem Or gain knowledge, an upvote would be appreciated.

View solution in original post

kamlesh_vaghela
SplunkTrust
SplunkTrust

@justynap_ldz 

As per the error(splunklib.binding.HTTPError: HTTP 404 Not Found -- jmx_tasks does not exist).

So make sure you successfully configured inputs with JVM / JAVA Beans. Check in the addon's local folder whether configured inputs are created or not. Just search for jmx_tasks.conf file.  You will get the idea.

 

Installation Guide.
The Addon should installed in Heavy Forwarders and need to configure inputs as per your requirements. 

For Search HeadsIndexers, just install it (for parsing and extraction purposes), no need to configure any inputs

 

I hope this will help you.

Thanks
KV
If any of my replies help you to solve the problem Or gain knowledge, an upvote would be appreciated.

justynap_ldz
Path Finder

Hi @kamlesh_vaghela, thanks for replying!
We have not configured any inputs on SearchHeads and Indexers, but your comment just reminded me about https://docs.splunk.com/Documentation/AddOns/released/Overview/Distributedinstall
We have deleted default inputs.conf and inputs.conf.spec from Splunk_TA_jmx on SHs and the errors are gone!
Thank you 🙂

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!

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 ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...