Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-3046

Monitor Jenkins mirrors Age

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Monitor Jenkins mirrors Age

      Why

      From time to time issues affects Jenkins mirrors listed on [get.jenkins.io|https://get.jenkins.io/war/2.308/jenkins.war?mirrorlist.]

      We want to detect those as soon as possible, and then alert so we can take appropriate actions

      Requirements before starting the issue

      -

      What

      We need a Datadog custom checks that uploads metrics to the Jenkins Datadog account and trigger an alert when mirrors haven't been updated for more than one day.

      How

      Every mirror has a file named "TIME" containing a date in EPOCH format.
      That date corresponds to the last time the mirror was synchronized with its upstream.
      For various reasons a mirror can get outdated, we want to identify them so we can take the appropriate action.

      We need to write a Datadog custom check in Python that compare every mirrors TIME listed here

      with https://get.jenkins.io/TIME. The custom checks must be present in our custom docker image as defined here

      Definiton of Done

      This ticket can be considered done once metrics are upload to the Jenkins datadog account
       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            olblak Olivier Vernin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: