Check for blocked Jobs

Introduction

This test case checks whether there are any blocked jobs in WhereScape RED’s scheduler.

How does it work?

The test case uses the parameter list WhereScape RED Jobs (ws-red-jobs) to loop through a list of jobs (marked by “Check blocked” == “Yes”) and running the following check for all of these jobs.

The test case queries the job log for jobs that are still running and have been running for longer than a parameterizable number of minutes.

Configuration

Basic configuration is done in the parameter list WhereScape RED Jobs (ws-red-jobs) as described above.

If needed, you can change the maximum amount of minutes the job can run without counting as blocked, in the parameter “MaxMinutes” in the probe SQL script directly, or you can define a test parameter or global parameter named MaxMinutes.

Table of Contents