Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1134

Consider duration of average job execution for warnIfLonger and warnIfShorter job attributes

    XMLWordPrintable

Details

    Description

      Current Situation

      • Job properties warnIfLonger and warnIfShorter consider the duration of job execution specified in seconds.

      Desired Behavior

      • In addition to specifying seconds, users want to specify a percentage of the average duration of any successful job executions.
        • warnIfLonger/warnIfShorter configuration format:
          • hh:mm:ss / seconds /  percentage%

      Maintainer Note

      • This feature is available from branch 1 and is added to branch 2 for better compatibility

      Test Instructions

      • warnIfShorter
        • CONFIGURATION/Notification
          • configure a notitication for a specific job/workflow with the type WARNING
        • CONFIGURATION/Inventory
          • configure a specific job, that successfully running > 0s (e.g. shell job - use ping or sleep)
          • run this job
          • configure the Job Options -> Warn if shorter = 200%
          • run this job
          • check the notification results
            • mail, file etc
            • check the <joc data>/logs/service-monitor.log
              • find notified SHORTER_THAN WARNING
      • warnIfLonger
        • see above and adjust the configuration settings to send a warning in exceeded job time execution

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              ap Andreas Püschel
              Kanika Agrawal Kanika Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: