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
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Using the Splunk Threat Research Team’s Latest Security Content

REGISTER HERE Tech Talk | Security Edition Did you know the Splunk Threat Research Team regularly releases ...

SplunkTrust | 2024 SplunkTrust Application Period is Open!

It's that time again, folks! That's right, the application/nomination period for the 2024 SplunkTrust is ...