Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12242

Invalid timestamps used for CollectionSets generated by telemetryd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24.1.3
    • Fix Version/s: 25.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      The timestamp associated with the CollectionSets generated by sFlow, JTI, or NXOS packets default to the current time. This is not always accurate and we should use default to using the timestamp at which the packet was received instead.

      Specifically we should be calling CollectionSetBuilder#withTimestamp in ScriptedCollectionSetBuilder with the timestamp from the associated TelemetryMessageLogEntry.

      If a timestamp is available in the payload, then this should be applied to overwrite the default from the scripts.

        Attachments

          Activity

            People

            Assignee:
            mbrooks Matthew Brooks
            Reporter:
            j-white Jesse White
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: