Documentation forServer & Application Monitor

Create a custom JMX Monitor in SAM

SAM includes a predefined component monitor, the JMX Monitor, that you can customize at the template level or in individual application monitors.

However, editing templates or application monitors isn't always practical because MBeans can vary widely in different environments. Instead, consider using the Component Monitor Wizard to create a custom JMX Monitor to extract the MBean data you need from target servers. The wizard walks you through each step and provides a list of available MBeans.

Before proceeding, note the following details:

Recommended: Test JMX components individually to avoid heavy loads on agents.

To create a custom JMX Monitor in the Component Monitor Wizard:

  1. Click Settings > All Settings > SAM Settings > Component Monitor Wizard.
  2. On the Select Monitor Type tab of the wizard, select Java JMX Monitor as the component monitor type and click Next.
  3. On the Select Target tab, provide details about the target server, and then click Next.
  4. On the Select Components tab, a list of available MBeans appears, as shown here. Expand the folders by clicking the arrows (or [+]) to expand the tree view folder structure. Drill down to select the attributes you want to monitor.

  5. After selecting MBeans to monitor, click Next to complete the remaining tabs in the wizard.
  6. When finished, click OK, Create to save your new component monitor.
  • After creating a JMX monitor, add it to templates and application monitors, as necessary. When polling occurs, monitored data appears on Node Details views and related widgets on other pages.
  • An alternative method: Customize a JMX Monitor manually

    If you decide not to use the Component Monitor Wizard to build a custom JMX Monitor, you can adjust values for an JMX Monitor in an existing template or application monitor manually.

    Entering the correct information can be complicated and cumbersome. This method is best suited for an administrator who is very familiar with the Java environment.