All Apps and Add-ons

Monitoring Glassfish/JVM: Which is the better - "REST API Modular Input" or "Monitoring of Java Virtual Machines with JMX" or some other app?

torustad
Path Finder

Hi all,

I want to try to monitor the JVMs in our Glassfish-instances (memory, transactions, database connection pools etc) using Splunk.
I have tested the Rest API which works fine, likewise the JMX-app.

Does anybody have any recommendations as to which of the two are the better in terms of load on the JVM as such.

Or are there any alternatives to these two apps?
(JVM Instrumentation Agent?)

Thank you, Damien, for the Apps!

Any help is appreciated.

Thanks and regards,
Bård Tørustad

0 Karma

Damien_Dallimor
Ultra Champion

The REST API Modular Input runs on Python and uses on open protocol, HTTP. It is generic (any HTTP REST endpoint), so not specific to JMX per say.

The JMX Modular Input runs in a JVM and uses a proprietary protocol , RMI.It is also more tunable to specifying exactly which JMX data you want to poll as it is specific to JMX.

So you'll likely find JMX Mod Input a wiser choice.

0 Karma

sowings
Splunk Employee
Splunk Employee

Personally, I would go with JMX; it's more directly suited to your stated use case.

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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...