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

Show floating point value for average rate of deleted tokens per CTS Reaper Run

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 12.0.2
    • Fix Version/s: 13.5.1, 14.0.0
    • Component/s: CTS, monitoring
    • Labels:
    • Sprint:
      AM Sustaining Sprint 28, AM Sustaining Sprint 29
    • Support Ticket IDs:

      Description

      The SNMP value from enterprises.36733.1.2.3.6.0 is not shown as a floating point value.

      To reproduce, create one session, allow it to expire and wait for one CTS Reaper run to remove it.
      Check the value of 'enterprises.36733.1.2.3.6.0', which will still be zero.

      It seems that the double is cast to a long:

      .... CtsMonitoringImpl.java 
      public Long getRateOfDeletedSessions() { 
      return (long) reaperMonitoringStore.getRateOfDeletedSessions(); 
      }
      
      ..... CTSReaperMonitoringStore 
      double getRateOfDeletedSessions();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.major Peter Major [X] (Inactive)
                Reporter:
                andrew.dunn Andrew Dunn [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0h
                  0h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 9h
                  9h