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
- Log into the GlassFish Administrator Console.
- Click Configurations.
- Click on the name of the current server configuration, server-config by default.
- 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:
- Log into the Zenoss User Interface.
- Click Infrastructure in the top navigation row.
- Click the name of the device on which GlassFish runs.
- Click Configuration Properties in the left hand list of links.
- Enter zJmx in the filter field for the Name column.
- 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 abovezJmxManagementPort 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.
- Log into the Zenoss User Interface.
- Click Infrastructure in the top navigation row.
- Click the name of the device on which GlassFish runs.
- From the gear menu:
- Select Bind Templates.
- Select ZenJMX (/Devices) from the Available list on the left.
- Click the right arrow ( →) to add it to the Selected list on the right.
- 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:
- Log into the Zenoss User Interface.
- Click Infrastructure in the top navigation row.
- Click the name of the device on which GlassFish runs.
- From the gear menu:
- Select Override Template Here.
- Select ZenJMX (/Devices) from the menu.
- Click SUBMIT.
Comments