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?

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

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

Splunk Employee
Splunk Employee

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

0 Karma