Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-11720

CTS connection monitoring not working

    Details

    • Needs backport:
      No
    • Needs QA verification:
      No
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      The following SNMP / JMX metrics are not available:

      • org.forgerock.openam.monitoring.cts.CtsConnectionSuccessRate
      • org.forgerock.openam.monitoring.cts.CtsConnectionFailureRate

      How to reproduce the issue

      1. Select Configure > Global Services > Monitoring
      2. Ensure "Monitoring Status" and "Monitoring RMI interface status" are both checked
      3. Connect to OpenAM via JMX (e.g. using jconsole)
      4. The CTS metrics named above should be listed under the "FORGEROCK_OPENAM_CTS_MiB_CtsMonitoring" folder
      Expected behaviour
      Expected metrics are listed.
      
      Current behaviour
      Expected metrics are not listed.
      

      Work around

      N/A

      Code analysis

      Fix for this issue (and addition of replacement DropWizard Metrics) can be found on this PR: https://stash.forgerock.org/projects/OPENAM/repos/openam/pull-requests/3120
      The route cause is that LdapConnectionFactoryProvider should return LdapConnectionFactory decorated with MonitoredCTSConnectionFactory but returns LdapConnectionFactory undecorated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              craig.mcdonnell Craig McDonnell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: