Sun GlassFish Enterprise Server v3 Scripting Framework Guide

Monitoring for JRuby Container

The JRuby Container installed on the Enterprise 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 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