All Apps and Add-ons

Polling failed on Splunk4jmx

sylvainLuce
Explorer

Hi all,

I had installed Splunk4Jmx
I modified config.xml to connect to a custom JMX. => I restart Splunk with sucess. I see Thread in the dashboard but .... no polling ! Each time i restart Splunk, it takes the jmx data but no polling after X seconds...

Looking to my inputs.conf.

[jmx://MyJMX]
config_file = config.xml
polling_frequency = 120
sourcetype = jmx
index = jmx
disabled = 0

Looks good ?!

In splunkd, i've got 2 error i don't understand :

02-10-2015 10:44:08.157 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SPLUNK4JMX/bin/jmx.py" Can't connect to Splunk REST API with the token [Splunk Pw^IsVA0Ex45pv7LtpxeiaxulEghamSPNvscnQBQpqVEryOyiKpD8lNrK3awv7Ey5oCOYw6nCk_xygiZsrvYRMW7kd3tiH_v75oicNCHPb6ICQO50Du9cvIDxF], either the token is invalid or SplunkD has exited : null
02-10-2015 10:44:18.159 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/SPLUNK4JMX/bin/jmx.py" It has been determined via the REST API that all inputs have been disabled

I saw on this forum, some explanation about python version...etc but my python's version is 2.7.5

Thanks for your help
Sylvain

0 Karma
1 Solution

sylvainLuce
Explorer

Each time the same... When I wrote a message , I find the solution. Just re-install with the version 2.1 (Splunk is on 6.1.5) and problem solved.
Sorry ...

View solution in original post

0 Karma

sylvainLuce
Explorer

Each time the same... When I wrote a message , I find the solution. Just re-install with the version 2.1 (Splunk is on 6.1.5) and problem solved.
Sorry ...

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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...