Follow

How To Configure Zenoss to Monitor GlassFish On Linux

Applies To

  • Zenoss 4.x
  • GlassFish Server

Summary

This article explains how to configure Zenoss to monitor the GlassFish Java application server using JMX (Java Management Extensions).

JMX Monitoring functionality is provided by the ZenJMX ZenPack, installed as part of both Zenoss Resource Manager and Zenoss Core.

Refer to the Java 2 Platform Standard Edition chapter of the Zenoss Resource Manager Extended Monitoring guide for an in-depth discussion of how Zenoss performs monitoring using JMX.

Procedures

To configure Zenoss to monitor a GlassFish server, perform the following instructions:

Retrieve Configuration Details for the GlassFish JMX Connector

  1. Log into the GlassFish Administrator Console.
  2. Click Configurations.
  3. Click on the name of the current server configuration, server-config by default.
  4. Click Admin Service to display the JMX connector details and make note of the Security and Port settings.

Update the Zenoss Configuration Properties for the GlassFish Server Device:

  1. Log into the Zenoss User Interface.
  2. Click Infrastructure in the top navigation row.
  3. Click the name of the device on which GlassFish runs.
  4. Click Configuration Properties in the left hand list of links.
  5. Enter zJmx in the filter field for the Name column.
  6. Update the value for each of the configuration properties as shown in the following table:

    Configuration Property Name Value
    zJmxAuthenticate JMX connector Security setting (checked or unchecked)
    as shown in step 4 above
    zJmxManagementPort JMX Connect Port as shown in step 4 above
    zJmxPassword GlassFish server administrator user name
    zJmxUsername GlassFish server administrator password

Bind the ZenJMX Monitoring Template to the GlassFish Server Device:

Note: The ZenJMX template provides standard JMX monitoring. To add other data points, see the instructions in the Java 2 Platform Standard Edition chapter of the Zenoss Resource Manager Extended Monitoring guide.

  1. Log into the Zenoss User Interface.
  2. Click Infrastructure in the top navigation row.
  3. Click the name of the device on which GlassFish runs.
  4. From the gear menu: 
    1. Select Bind Templates.
    2. Select ZenJMX (/Devices) from the Available list on the left.
    3. Click the right arrow ( →) to add it to the Selected list on the right.
    4. Click SAVE.

Optional: Make a Local Copy of the ZenJMX Monitoring Template

Notes:

  • Before making changes or additions to the ZenJMX monitoring template, follow these instructions to make a device-local copy of the template.
  • The ZenJMX template must already be bound to the device before you can copy it using this procedure.

Procedure:

  1. Log into the Zenoss User Interface.
  2. Click Infrastructure in the top navigation row.
  3. Click the name of the device on which GlassFish runs.
  4. From the gear menu: 
    1. Select Override Template Here.
    2. Select ZenJMX (/Devices) from the menu.
    3. Click SUBMIT.
Was this article helpful?
0 out of 0 found this helpful

Comments

Powered by Zendesk