Oracle GlassFish Server 3.0.1 Scripting Framework Guide

Monitoring for JRuby Container

The JRuby container installed on the GlassFish Server can be configured to be monitored. By default the monitoring services are disabled.

Monitoring can be configured for the container using the following asadmin CLI command:

configure-jruby-container --monitoring=true

The monitoring service can be enabled or disabled. Enable monitoring for GlassFish Server JRuby container with the following runtime command:

enable-monitoring --modules jruby-container=HIGH

The other possible values are OFF or LOW. Disable the monitoring for JRuby container with the following command:

disable-monitoring --modules jruby-container=OFF