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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...