All Apps and Add-ons

Monitoring of Java Virtual Machines with JMX: Why am I getting setup error "It has been determined via the REST API that all inputs have been disabled"?

krishananth
Explorer

Hi,

I downloaded the "Monitoring of Java Virtual Machines with JMX" application and installed it using Splunk Web. It's on a Windows PC with Splunk Enterprise (trial). I got the following error in Splunk Web.

ERROR ExecProcessor - message from "python C:\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py" It has been determined via the REST API that all inputs have been disabled

Note: I have the correct server name and JMX port given in config.xml file. I tested the connection from my PC using JConsole and it works perfectly fine.

Could you help me on this?

How do I log this error to error file (from jmx.py code?)

Thank you,

Ananth

1 Solution

krishananth
Explorer

Fixed it.
Go to settings --> Data Inputs --> JMX --> Select the JMX object --> Click enable

My JVM parameters started appearing!

thank you,

ananth

View solution in original post

streyad
Engager

I get the same error but possibly in a different context.

My jmx metrics will be pumped to splunk just fine for ~20 minute intervals. Then this error will appear, and the metrics cease to be forwarded for ~10 minutes. Then they come back.

These errors also seem to coincide with high cpu usage by the java process spawned the splunk jmx app.

0 Karma

krishananth
Explorer

I think it should be a problem in the splunk receiver. From python code, I found that a java process is triggered and has restricted VM memory allocated. As the JMX app polls a remote JVM on a scheduled frequency, the receiver hardware resource is not enough for the splunk JMX receiver to scale and so you are having intermittent drops.

Are you running Splunk receiver in Windows or in Linux?

Ananth

0 Karma

streyad
Engager

Running on Linux (RHEL 6.5). Your comment is extremely helpful. I think I know what needs to be adjusted to fix it now. Will report back when I have tested.

0 Karma

krishananth
Explorer

Fixed it.
Go to settings --> Data Inputs --> JMX --> Select the JMX object --> Click enable

My JVM parameters started appearing!

thank you,

ananth

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

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...